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

.page-index-featured-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0A2342; /* Dark blue background for hero content */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-index-featured-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(10, 35, 66, 0.7); /* Semi-transparent dark blue overlay */
  border-radius: 10px;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

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

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

.page-index-featured-games__hero-button--primary {
  background-color: #FFD700;
  color: #0A2342;
}

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

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

.page-index-featured-games__hero-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-3px);
}

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

.page-index-featured-games__section-title {
  font-size: 2.5em;
  color: #0A2342;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-index-featured-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-index-featured-games__categories-section,
.page-index-featured-games__highlights-section,
.page-index-featured-games__why-choose-section,
.page-index-featured-games__promotions-section,
.page-index-featured-games__responsible-gaming-section,
.page-index-featured-games__cta-section,
.page-index-featured-games__about-8k8-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index-featured-games__categories-section {
  background-color: #f8f8f8;
}

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

.page-index-featured-games__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-index-featured-games__category-image {
  width: 100%;
  height: 267px; /* Fixed height for consistency, aspect ratio 400x267 */
  object-fit: cover;
  display: block;
}

.page-index-featured-games__category-title {
  font-size: 1.8em;
  color: #0A2342;
  margin: 25px 0 15px 0;
  padding: 0 20px;
}

.page-index-featured-games__category-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-featured-games__category-title a:hover {
  color: #FFD700;
}

.page-index-featured-games__category-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.page-index-featured-games__category-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__category-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-index-featured-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-index-featured-games__game-image {
  width: 100%;
  height: 300px; /* Fixed height for consistency, aspect ratio 800x600 */
  object-fit: cover;
  display: block;
}

.page-index-featured-games__game-title {
  font-size: 1.6em;
  color: #0A2342;
  margin: 20px 0 10px 0;
  padding: 0 20px;
}

.page-index-featured-games__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-index-featured-games__game-button {
  display: inline-block;
  background-color: #0A2342;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__game-button:hover {
  background-color: #1a3c66;
  transform: translateY(-2px);
}

.page-index-featured-games__why-choose-section {
  background-color: #f0f4f7;
}

.page-index-featured-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-featured-games__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-index-featured-games__feature-icon {
  width: 200px; /* Minimum size */
  height: 150px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-featured-games__feature-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-index-featured-games__feature-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
}

.page-index-featured-games__promotions-section {
  background-color: #ffffff;
}

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

.page-index-featured-games__promo-card {
  background-color: #0A2342;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, aspect ratio 600x400 */
  object-fit: cover;
  display: block;
}

.page-index-featured-games__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 25px 0 15px 0;
  padding: 0 20px;
}

.page-index-featured-games__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.page-index-featured-games__promo-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__promo-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-featured-games__responsible-gaming-section {
  background-color: #f0f4f7;
  text-align: center;
}

.page-index-featured-games__text-content {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__responsible-gaming-link {
  display: inline-block;
  background-color: #0A2342;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__responsible-gaming-link:hover {
  background-color: #1a3c66;
  transform: translateY(-2px);
}

.page-index-featured-games__cta-section {
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-index-featured-games__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index-featured-games__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-index-featured-games__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-index-featured-games__cta-button--primary {
  background-color: #FFD700;
  color: #0A2342;
}

.page-index-featured-games__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-index-featured-games__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-3px);
}

.page-index-featured-games__about-8k8-section {
  background-color: #ffffff;
  padding-bottom: 60px;
}

.page-index-featured-games__sub-title {
  font-size: 2em;
  color: #0A2342;
  margin-top: 40px;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-featured-games__hero-title {
    font-size: 3em;
  }

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

@media (max-width: 768px) {
  .page-index-featured-games__hero-section {
    min-height: 500px;
  }

  .page-index-featured-games__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-index-featured-games__hero-button {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-index-featured-games__category-image,
  .page-index-featured-games__game-image,
  .page-index-featured-games__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  /* Ensure all content area images are not smaller than 200px */
  .page-index-featured-games img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
  }

  .page-index-featured-games__cta-title {
    font-size: 2.2em;
  }

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

  .page-index-featured-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-featured-games__cta-button {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-featured-games__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero-title {
    font-size: 2em;
  }

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

  .page-index-featured-games__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-index-featured-games__category-title,
  .page-index-featured-games__game-title,
  .page-index-featured-games__feature-title,
  .page-index-featured-games__promo-title {
    font-size: 1.4em;
  }

  .page-index-featured-games__cta-title {
    font-size: 1.8em;
  }
}