.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #121212; /* Very dark background */
  line-height: 1.6;
}

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

.page-index-featured-games__hero {
  background: linear-gradient(135deg, #1A237E 0%, #0d124b 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFD700; /* Gold for hero title */
}

.page-index-featured-games__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-featured-games__hero .page-index-featured-games__container {
  position: relative;
  z-index: 1;
}

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

.page-index-featured-games__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0; /* Slightly lighter text for readability */
}

.page-index-featured-games__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A237E; /* Dark blue text on gold button */
  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;
  border: none;
  cursor: pointer;
}

.page-index-featured-games__cta-button:hover {
  background-color: #e5c100; /* Darker gold on hover */
  transform: translateY(-3px);
}

.page-index-featured-games__cta-button--secondary {
  background-color: #1A237E; /* Dark blue button */
  color: #FFD700; /* Gold text on dark blue button */
  border: 2px solid #FFD700;
}

.page-index-featured-games__cta-button--secondary:hover {
  background-color: #0d124b;
  border-color: #e5c100;
}

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

.page-index-featured-games__cta-button--primary:hover {
  background-color: #e5c100;
}

.page-index-featured-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-featured-games__section:nth-of-type(even) {
  background-color: #1a1a1a;
}

.page-index-featured-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for section titles */
  position: relative;
  padding-bottom: 10px;
}

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

.page-index-featured-games__text-content {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #c0c0c0;
}

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

.page-index-featured-games__game-card,
.page-index-featured-games__promo-card {
  background-color: #2a2a2a; /* Darker background for cards */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-index-featured-games__game-image,
.page-index-featured-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3a3a3a;
}

.page-index-featured-games__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
}

.page-index-featured-games__card-description {
  font-size: 1em;
  color: #b0b0b0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-featured-games__card-button {
  display: inline-block;
  background-color: #1A237E; /* Dark blue button */
  color: #FFD700; /* Gold text */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #FFD700;
  margin-top: auto; /* Push button to bottom */
}

.page-index-featured-games__card-button:hover {
  background-color: #0d124b;
  transform: translateY(-2px);
  border-color: #e5c100;
}

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

.page-index-featured-games__feature-list li {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-featured-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-featured-games__feature-list h3 {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-featured-games__feature-list p {
  font-size: 0.95em;
  color: #b0b0b0;
}

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

.page-index-featured-games__step-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-featured-games__step-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-featured-games__step-card h3 {
  font-size: 1.7em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-featured-games__step-card p {
  font-size: 1em;
  color: #b0b0b0;
}

.page-index-featured-games__accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__accordion-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__accordion-header {
  background-color: #1A237E; /* Dark blue for accordion header */
  color: #FFD700; /* Gold text */
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__accordion-header:hover {
  background-color: #0d124b;
}

.page-index-featured-games__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-featured-games__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-featured-games__accordion-content {
  padding: 0 25px;
  background-color: #3a3a3a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-index-featured-games__accordion-content p {
  padding: 15px 0;
  color: #e0e0e0;
  font-size: 1em;
  margin: 0;
}

.page-index-featured-games__accordion-content a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-featured-games__accordion-content a:hover {
  color: #e5c100;
  text-decoration: underline;
}

.page-index-featured-games__final-cta {
  background: linear-gradient(135deg, #FFD700 0%, #e5c100 100%); /* Gold gradient */
  padding: 80px 0;
  text-align: center;
  color: #1A237E; /* Dark blue text on gold background */
}

.page-index-featured-games__final-cta .page-index-featured-games__section-title {
  color: #1A237E;
}

.page-index-featured-games__final-cta .page-index-featured-games__section-title::after {
  background-color: #1A237E;
}

.page-index-featured-games__final-cta .page-index-featured-games__text-content {
  color: #0d124b;
}

.page-index-featured-games__final-cta .page-index-featured-games__cta-button {
  background-color: #1A237E;
  color: #FFD700;
}

.page-index-featured-games__final-cta .page-index-featured-games__cta-button:hover {
  background-color: #0d124b;
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-featured-games__title {
    font-size: 2.8em;
  }

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

  .page-index-featured-games__game-grid,
  .page-index-featured-games__promo-grid,
  .page-index-featured-games__feature-list,
  .page-index-featured-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero {
    padding: 80px 0;
  }

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

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

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

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

  .page-index-featured-games__game-grid,
  .page-index-featured-games__promo-grid,
  .page-index-featured-games__feature-list,
  .page-index-featured-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-index-featured-games__game-card,
  .page-index-featured-games__promo-card,
  .page-index-featured-games__feature-list li,
  .page-index-featured-games__step-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero {
    padding: 60px 0;
  }

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

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

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

  .page-index-featured-games__card-title,
  .page-index-featured-games__feature-list h3,
  .page-index-featured-games__step-card h3 {
    font-size: 1.4em;
  }

  .page-index-featured-games__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-index-featured-games__accordion-content p {
    font-size: 0.9em;
  }
}