.page-index-featured-games {
  color: #333333; /* Dark text for light body background */
}

.page-index-featured-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  color: #FFFFFF; /* Light text for dark hero overlay */
}

.page-index-featured-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-index-featured-games__hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  z-index: -1;
}

.page-index-featured-games__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Adjust as needed */
  padding: 60px 20px;
  text-align: center;
}

.page-index-featured-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-index-featured-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-featured-games__hero-button {
  display: inline-block;
  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;
}

.page-index-featured-games__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-featured-games__hero-button--register:hover {
  background-color: #E0E0E0;
  transform: translateY(-3px);
}

.page-index-featured-games__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-featured-games__hero-button--login:hover {
  background-color: #E6A73A;
  transform: translateY(-3px);
}

.page-index-featured-games__hero-button--download {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-index-featured-games__hero-button--download:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.page-index-featured-games__why-choose-us-section,
.page-index-featured-games__sports-betting-section,
.page-index-featured-games__casino-universe-section,
.page-index-featured-games__promotions-section,
.page-index-featured-games__mobile-app-section,
.page-index-featured-games__community-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-featured-games__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-index-featured-games__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-index-featured-games__features-grid,
.page-index-featured-games__casino-grid,
.page-index-featured-games__promo-cards,
.page-index-featured-games__community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-featured-games__feature-card,
.page-index-featured-games__casino-card,
.page-index-featured-games__promo-card,
.page-index-featured-games__community-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__feature-card:hover,
.page-index-featured-games__casino-card:hover,
.page-index-featured-games__promo-card:hover,
.page-index-featured-games__community-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-featured-games__feature-icon,
.page-index-featured-games__casino-image,
.page-index-featured-games__promo-image,
.page-index-featured-games__community-icon {
  width: 100%; /* Ensures image fills card width */
  height: auto;
  max-height: 250px; /* Max height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-index-featured-games__feature-title,
.page-index-featured-games__casino-title,
.page-index-featured-games__promo-title,
.page-index-featured-games__community-subtitle {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index-featured-games__feature-text,
.page-index-featured-games__casino-text,
.page-index-featured-games__promo-text,
.page-index-featured-games__community-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-index-featured-games__feature-link,
.page-index-featured-games__button {
  display: inline-block;
  padding: 10px 25px;
  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-featured-games__feature-link,
.page-index-featured-games__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-index-featured-games__feature-link:hover,
.page-index-featured-games__button--primary:hover {
  background-color: #E6A73A;
  color: #000000;
}

.page-index-featured-games__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-index-featured-games__button--secondary:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-index-featured-games__button--tertiary {
  background-color: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.page-index-featured-games__button--tertiary:hover {
  background-color: #E0E0E0;
}

.page-index-featured-games__sports-content,
.page-index-featured-games__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-featured-games__sports-text-block,
.page-index-featured-games__mobile-app-text {
  flex: 1;
}

.page-index-featured-games__sports-image,
.page-index-featured-games__mobile-app-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-index-featured-games__sports-subtitle,
.page-index-featured-games__community-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-index-featured-games__sports-paragraph {
  font-size: 1.1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-index-featured-games__sports-list,
.page-index-featured-games__mobile-app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-featured-games__sports-list li,
.page-index-featured-games__mobile-app-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FCBC45"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444444;
  line-height: 1.5;
}

.page-index-featured-games__sports-list li a {
  color: #FCBC45;
  text-decoration: none;
}

.page-index-featured-games__sports-list li a:hover {
  text-decoration: underline;
}

.page-index-featured-games__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-index-featured-games__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-index-featured-games__hero-title {
    font-size: 2.5em;
  }

  .page-index-featured-games__hero-description {
    font-size: 1em;
  }

  .page-index-featured-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-featured-games__hero-button {
    width: 100%;
    max-width: 300px;
  }

  .page-index-featured-games__section-title {
    font-size: 2em;
  }

  .page-index-featured-games__section-description {
    font-size: 0.95em;
  }

  .page-index-featured-games__features-grid,
  .page-index-featured-games__casino-grid,
  .page-index-featured-games__promo-cards,
  .page-index-featured-games__community-grid {
    grid-template-columns: 1fr;
  }

  .page-index-featured-games__feature-card,
  .page-index-featured-games__casino-card,
  .page-index-featured-games__promo-card,
  .page-index-featured-games__community-item {
    padding: 20px;
  }

  .page-index-featured-games__feature-title,
  .page-index-featured-games__casino-title,
  .page-index-featured-games__promo-title,
  .page-index-featured-games__community-subtitle {
    font-size: 1.4em;
  }

  .page-index-featured-games__sports-content,
  .page-index-featured-games__mobile-app-content {
    flex-direction: column;
  }

  .page-index-featured-games__sports-image,
  .page-index-featured-games__mobile-app-image {
    max-width: 100%;
    order: -1; /* Image first on mobile */
  }

  .page-index-featured-games__sports-subtitle {
    font-size: 1.6em;
  }

  /* Ensure all images within .page-index-featured-games are responsive and don't overflow */
  .page-index-featured-games img {
    max-width: 100%;
    height: auto;
  }

  .page-index-featured-games {
    overflow-x: hidden;
  }
}