.page-index-game-features {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-index-game-features__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index-game-features__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
  display: block;
}

.page-index-game-features__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-game-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-index-game-features__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-game-features__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-index-game-features__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-game-features__button--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-index-game-features__button--login {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-index-game-features__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-index-game-features__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
  font-weight: bold;
}

.page-index-game-features__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #555555;
}

.page-index-game-features__about-jili30,
.page-index-game-features__game-categories,
.page-index-game-features__exclusive-benefits,
.page-index-game-features__responsible-gaming {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index-game-features__about-grid,
.page-index-game-features__category-grid,
.page-index-game-features__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-game-features__about-item,
.page-index-game-features__category-card,
.page-index-game-features__benefit-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-game-features__about-item:hover,
.page-index-game-features__category-card:hover,
.page-index-game-features__benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-game-features__about-item img,
.page-index-game-features__category-card img,
.page-index-game-features__benefit-item img {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-index-game-features__about-item-title,
.page-index-game-features__category-title,
.page-index-game-features__benefit-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

.page-index-game-features__category-title a,
.page-index-game-features__benefit-title a {
  color: #000000;
  text-decoration: none;
}

.page-index-game-features__category-title a:hover,
.page-index-game-features__benefit-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-index-game-features__about-item-description,
.page-index-game-features__category-description,
.page-index-game-features__benefit-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-game-features__button--play,
.page-index-game-features__button--bet,
.page-index-game-features__button--claim,
.page-index-game-features__button--details,
.page-index-game-features__button--learn {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 1em;
  margin-top: auto; /* Push button to the bottom of the flex container */
}

.page-index-game-features__button--play:hover,
.page-index-game-features__button--bet:hover,
.page-index-game-features__button--claim:hover,
.page-index-game-features__button--details:hover,
.page-index-game-features__button--learn:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  transform: translateY(-2px);
}

.page-index-game-features__responsible-gaming {
  background-color: #F0F0F0;
  text-align: center;
}

.page-index-game-features__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-index-game-features__button--learn-more:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

.page-index-game-features__cta-banner {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 20px;
  text-align: center;
}

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

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

.page-index-game-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-game-features__button--download {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-index-game-features__button--download:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features__hero-title {
    font-size: 3em;
  }
  .page-index-game-features__section-title {
    font-size: 2em;
  }
  .page-index-game-features__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index-game-features__hero-title {
    font-size: 2.5em;
  }
  .page-index-game-features__hero-description {
    font-size: 1em;
  }
  .page-index-game-features__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-game-features__about-grid,
  .page-index-game-features__category-grid,
  .page-index-game-features__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-index-game-features__about-jili30,
  .page-index-game-features__game-categories,
  .page-index-game-features__exclusive-benefits,
  .page-index-game-features__responsible-gaming {
    padding: 50px 0;
  }
  .page-index-game-features__section-title {
    font-size: 1.8em;
  }
  .page-index-game-features__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-index-game-features__about-item img,
  .page-index-game-features__category-card img,
  .page-index-game-features__benefit-item img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index-game-features__cta-title {
    font-size: 2em;
  }
  .page-index-game-features__cta-description {
    font-size: 1em;
  }
  .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__hero-section {
    padding: 60px 20px;
  }
}