.page-index-game-features {
  color: #333333; /* Dark text for default light body background */
}

.page-index-game-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-game-features__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero section */
  background-color: #2C3E50; /* Dark background for hero content area */
}

.page-index-game-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-index-game-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay for text readability */
  filter: brightness(0.8); /* Darken image slightly for text contrast */
}

.page-index-game-features__hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text */
  border-radius: 12px;
}

.page-index-game-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Primary gold color */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-game-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-index-game-features__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold for main CTA */
  color: #2C3E50; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  min-width: 200px;
  text-align: center;
}

.page-index-game-features__hero-button:hover {
  background-color: #E74C3C; /* Accent red on hover */
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-index-game-features__hero-button--secondary {
  background-color: #2C3E50; /* Secondary dark color */
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-game-features__hero-button--secondary:hover {
  background-color: #FFD700;
  color: #2C3E50;
  border-color: #E74C3C;
}

.page-index-game-features__introduction-section,
.page-index-game-features__features-grid,
.page-index-game-features__tech-section,
.page-index-game-features__bonuses-section,
.page-index-game-features__cta-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-index-game-features__features-grid,
.page-index-game-features__tech-section {
  background-color: #ffffff;
}

.page-index-game-features__section-title {
  font-size: 2.8em;
  color: #2C3E50; /* Dark blue for main titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-game-features__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index-game-features__section-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-index-game-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-features__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-game-features__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-game-features__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-index-game-features__card-title {
  font-size: 1.8em;
  color: #2C3E50;
  margin: 25px 15px 15px 15px;
  line-height: 1.3;
}

.page-index-game-features__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-index-game-features__card-title a:hover {
  color: #FFD700;
}

.page-index-game-features__card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-index-game-features__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #2C3E50;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px;
  transition: background-color 0.3s ease;
}

.page-index-game-features__card-button:hover {
  background-color: #E74C3C;
  color: #FFFFFF;
}

.page-index-game-features__tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-features__tech-item {
  background-color: #FDFDFD;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-game-features__tech-item:hover {
  transform: translateY(-5px);
}

.page-index-game-features__tech-image {
  width: 100%;
  max-width: 400px; /* Max width for consistency */
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-game-features__tech-subtitle {
  font-size: 1.6em;
  color: #2C3E50;
  margin-bottom: 15px;
}

.page-index-game-features__tech-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-index-game-features__tech-button {
  display: inline-block;
  background-color: #2C3E50;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index-game-features__tech-button:hover {
  background-color: #FFD700;
  color: #2C3E50;
}

.page-index-game-features__bonuses-section {
  text-align: center;
  background-color: #2C3E50;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-index-game-features__bonuses-section .page-index-game-features__section-title {
  color: #FFD700;
}

.page-index-game-features__bonuses-section .page-index-game-features__section-title::after {
  background-color: #FFFFFF;
}

.page-index-game-features__bonuses-section .page-index-game-features__section-paragraph {
  color: #F0F0F0;
}

.page-index-game-features__bonuses-button {
  display: inline-block;
  background-color: #FFD700;
  color: #2C3E50;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  min-width: 220px;
}

.page-index-game-features__bonuses-button:hover {
  background-color: #E74C3C;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-index-game-features__bonuses-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-game-features__bonuses-button--secondary:hover {
  background-color: #FFD700;
  color: #2C3E50;
  border-color: #E74C3C;
}

.page-index-game-features__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #FDFDFD;
}

.page-index-game-features__cta-title {
  font-size: 3em;
  color: #2C3E50;
  margin-bottom: 20px;
}

.page-index-game-features__cta-description {
  font-size: 1.2em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-index-game-features__cta-button {
  display: inline-block;
  background-color: #E74C3C; /* Accent red for strong CTA */
  color: #FFFFFF;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  min-width: 250px;
}

.page-index-game-features__cta-button:hover {
  background-color: #FFD700;
  color: #2C3E50;
  transform: translateY(-5px);
}

.page-index-game-features__cta-button--secondary {
  background-color: #2C3E50;
  color: #FFD700;
  border: 2px solid #2C3E50;
}

.page-index-game-features__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #2C3E50;
  border-color: #E74C3C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features__hero-title {
    font-size: 2.8em;
  }
  .page-index-game-features__section-title {
    font-size: 2.4em;
  }
  .page-index-game-features__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-game-features__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-index-game-features__hero-content {
    padding: 60px 15px;
  }
  .page-index-game-features__hero-title {
    font-size: 2.2em;
  }
  .page-index-game-features__hero-description {
    font-size: 1.1em;
  }
  .page-index-game-features__hero-button,
  .page-index-game-features__bonuses-button,
  .page-index-game-features__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    min-width: unset;
    width: 90%;
    margin: 10px auto;
  }
  .page-index-game-features__section-title {
    font-size: 2em;
  }
  .page-index-game-features__section-paragraph {
    font-size: 1em;
  }
  .page-index-game-features__grid,
  .page-index-game-features__tech-grid {
    grid-template-columns: 1fr;
  }
  .page-index-game-features__card-image,
  .page-index-game-features__tech-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px;
    min-height: 200px;
  }
  .page-index-game-features__cta-title {
    font-size: 2.5em;
  }
  .page-index-game-features__cta-description {
    font-size: 1.1em;
  }
  /* Ensure all content area images are responsive and don't cause overflow */
  .page-index-game-features img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-game-features__hero-title {
    font-size: 1.8em;
  }
  .page-index-game-features__section-title {
    font-size: 1.8em;
  }
  .page-index-game-features__cta-title {
    font-size: 2em;
  }
  .page-index-game-features__hero-button,
  .page-index-game-features__bonuses-button,
  .page-index-game-features__cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}