.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #fff; /* Default text color for dark sections */
  line-height: 1.6;
}

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

.page-index-featured-games__hero-section {
  background: linear-gradient(135deg, #0A2463, #3B5998);
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E3B505; /* Accent color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-featured-games__btn--primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

.page-index-featured-games__btn--secondary {
  background-color: transparent;
  color: #E3B505;
  border: 2px solid #E3B505;
}

.page-index-featured-games__btn--secondary:hover {
  background-color: rgba(227, 181, 5, 0.2);
  transform: translateY(-3px);
}

.page-index-featured-games__content-section {
  padding: 80px 0;
}

.page-index-featured-games__section--dark {
  background-color: #0A2463;
  color: #fff;
}

.page-index-featured-games__section--light {
  background-color: #f0f2f5;
  color: #0A2463; /* Dark text on light background */
}

.page-index-featured-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  color: #E3B505;
  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: #E3B505;
  border-radius: 2px;
}

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

.page-index-featured-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-featured-games__section--light .page-index-featured-games__game-card {
  background-color: rgba(10, 36, 99, 0.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-index-featured-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-featured-games__game-title {
  font-size: 1.8em;
  color: #E3B505;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index-featured-games__game-description {
  font-size: 1.05em;
  color: #ccc;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-index-featured-games__section--light .page-index-featured-games__game-description {
  color: #333;
}

.page-index-featured-games__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: justify;
}

.page-index-featured-games__why-choose-section {
  background-color: #f0f2f5;
  color: #0A2463;
  padding: 80px 0;
  text-align: center;
}

.page-index-featured-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
}

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

.page-index-featured-games__feature-list li:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-index-featured-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(227, 181, 5, 0.7));
}

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

.page-index-featured-games__feature-description {
  color: #555;
  font-size: 1em;
}

.page-index-featured-games__cta-bottom {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-featured-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-featured-games__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-featured-games__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero-section,
  .page-index-featured-games__content-section,
  .page-index-featured-games__why-choose-section {
    padding: 60px 0;
  }
  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__hero-subtitle {
    font-size: 1em;
  }
  .page-index-featured-games__section-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-index-featured-games__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-featured-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero-section,
  .page-index-featured-games__content-section,
  .page-index-featured-games__why-choose-section {
    padding: 40px 0;
  }
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__section-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__game-card {
    padding-bottom: 20px;
  }
  .page-index-featured-games__game-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__feature-list {
    grid-template-columns: 1fr;
  }
  .page-index-featured-games__cta-bottom {
    flex-direction: column;
    align-items: center;
  }
  .page-index-featured-games__btn {
    width: 80%;
    margin: 10px 0;
  }
}