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

.page-index-featured-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f8f8f8;
  padding-bottom: 40px;
}

.page-index-featured-games__hero-content {
  max-width: 900px;
  padding: 40px 20px;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  color: #8B0000; /* Deep red for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

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

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

.page-index-featured-games__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep red text for contrast */
  border: 2px solid #FFD700;
}

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

.page-index-featured-games__button--secondary {
  background-color: #8B0000; /* Deep red */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #8B0000;
}

.page-index-featured-games__button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-index-featured-games__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
}

.page-index-featured-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__games-overview,
.page-index-featured-games__promotions-section,
.page-index-featured-games__why-choose-us,
.page-index-featured-games__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.page-index-featured-games__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Deep red */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index-featured-games__section-description {
  font-size: 1.1em;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__game-categories,
.page-index-featured-games__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-featured-games__category-card,
.page-index-featured-games__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-index-featured-games__category-card img,
.page-index-featured-games__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size for content images */
  min-height: 200px;
}

.page-index-featured-games__category-title,
.page-index-featured-games__promo-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep red */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-featured-games__category-title a,
.page-index-featured-games__promo-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-featured-games__category-title a:hover,
.page-index-featured-games__promo-title a:hover {
  color: #FFD700; /* Gold on hover */
}

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

.page-index-featured-games__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-index-featured-games__why-choose-us {
  background-color: #fdfdfd;
  padding: 80px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-index-featured-games__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-index-featured-games__feature-item {
  background-color: #FFD700;
  color: #8B0000; /* Deep red text for gold background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-index-featured-games__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #8B0000; /* Ensure strong contrast */
}

.page-index-featured-games__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333333; /* Darker text for readability on gold */
}

.page-index-featured-games__cta-section {
  background-color: #8B0000; /* Deep red background */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 12px;
  margin-bottom: 60px;
}

.page-index-featured-games__cta-section .page-index-featured-games__section-title,
.page-index-featured-games__cta-section .page-index-featured-games__section-description {
  color: #ffffff; /* White text for deep red background */
}

.page-index-featured-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-index-featured-games__cta-actions .page-index-featured-games__button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

.page-index-featured-games__cta-actions .page-index-featured-games__button--primary:hover {
  background-color: #e6c200;
}

.page-index-featured-games__cta-actions .page-index-featured-games__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-index-featured-games__cta-actions .page-index-featured-games__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: #ffffff;
}

.page-index-featured-games__cta-image {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__cta-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min-size for content images */
  min-height: 200px;
}

/* Responsive Design */
@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 {
    padding-top: var(--header-offset, 100px); /* Adjust for smaller header on mobile */
  }
  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__hero-description {
    font-size: 1em;
  }
  .page-index-featured-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-featured-games__button {
    width: 80%;
    max-width: 300px;
  }
  .page-index-featured-games__section-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__section-description {
    font-size: 0.95em;
  }
  .page-index-featured-games__game-categories,
  .page-index-featured-games__promo-cards,
  .page-index-featured-games__features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-featured-games__category-card img,
  .page-index-featured-games__promo-card img,
  .page-index-featured-games__cta-image img {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto;
    min-width: 200px; 
    min-height: 200px;
  }
  .page-index-featured-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-featured-games__category-title,
  .page-index-featured-games__promo-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__feature-title {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__section-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}