/* style/slot-games.css */

/* General Styles for the Page Content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Page background from shared */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color, #017439);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Color Contrast Utility Classes */
.page-slot-games__dark-bg {
  background-color: var(--primary-color, #017439);
  color: #ffffff; /* White text for dark background */
}

.page-slot-games__light-bg {
  background-color: var(--secondary-color, #FFFFFF);
  color: #333333; /* Dark text for light background */
}

/* Buttons */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for Register/Login */
  color: #FFFFFF; /* White text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__cta-button:hover {
  background: #a30606; /* Slightly darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary {
  background: #C30808;
  color: #FFFFFF;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: #a30606;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: var(--primary-color, #017439);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid var(--primary-color, #017439);
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color, #017439);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Image Styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Apply a default border-radius */
  object-fit: cover;
  transition: transform 0.3s ease;
  /* No filter property to change color */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden; /* Prevent content overflow */
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff; /* White text on dark hero background */
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for description */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__section-title {
  color: var(--primary-color, #017439);
}
.page-slot-games__intro-section .page-slot-games__text-block {
  color: #333333;
}

/* Why Choose Section */
.page-slot-games__why-choose-section .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  text-align: center;
  padding: 25px;
}

.page-slot-games__feature-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color, #017439);
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: #555555;
}

/* Popular Games Section */
.page-slot-games__popular-games-section .page-slot-games__section-title {
  color: var(--primary-color, #017439);
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  text-align: center;
  padding: 25px;
}

.page-slot-games__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for game cards */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #017439);
}

.page-slot-games__game-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-slot-games__button-group {
  text-align: center;
  margin-top: 50px;
}

/* Strategy Section */
.page-slot-games__strategy-section .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}