.page-index-popular-games-showcase {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #e0e0e0; /* Light text for dark background */
  background-color: #0A2463; /* Main deep blue background */
}

.page-index-popular-games-showcase__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-popular-games-showcase__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2463 0%, #1a3a7a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games-showcase__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.page-index-popular-games-showcase__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed for aesthetic, not color change */
}

.page-index-popular-games-showcase__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-index-popular-games-showcase__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-index-popular-games-showcase__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-popular-games-showcase__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-popular-games-showcase__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
}

.page-index-popular-games-showcase__btn--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-index-popular-games-showcase__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index-popular-games-showcase__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-popular-games-showcase__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index-popular-games-showcase__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index-popular-games-showcase__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #cccccc;
}

.page-index-popular-games-showcase__intro {
  padding: 80px 0;
  background-color: #0A2463;
}

.page-index-popular-games-showcase__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-popular-games-showcase__feature-item {
  background-color: #1a3a7a; /* Darker blue for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index-popular-games-showcase__feature-item:hover {
  transform: translateY(-10px);
}

.page-index-popular-games-showcase__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index-popular-games-showcase__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-popular-games-showcase__feature-text {
  color: #e0e0e0;
}

.page-index-popular-games-showcase__games-grid {
  padding: 80px 0;
  background-color: #0A2463;
}

.page-index-popular-games-showcase__game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.page-index-popular-games-showcase__category-btn {
  background-color: #1a3a7a;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #FFD700;
}

.page-index-popular-games-showcase__category-btn:hover,
.page-index-popular-games-showcase__category-btn.active {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index-popular-games-showcase__game-category-section {
  margin-bottom: 80px;
  scroll-margin-top: 100px; /* For smooth scrolling to anchor links */
}

.page-index-popular-games-showcase__category-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-popular-games-showcase__category-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

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

.page-index-popular-games-showcase__game-card {
  background-color: #1a3a7a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index-popular-games-showcase__game-card:hover {
  transform: translateY(-10px);
}

.page-index-popular-games-showcase__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 3px solid #FFD700;
}

.page-index-popular-games-showcase__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-popular-games-showcase__game-description {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index-popular-games-showcase__btn--full-width {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-index-popular-games-showcase__category-outro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
  color: #cccccc;
}

.page-index-popular-games-showcase__cta {
  padding: 80px 0;
  background: linear-gradient(90deg, #0A2463 0%, #1a3a7a 100%);
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games-showcase__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-popular-games-showcase__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-popular-games-showcase__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-popular-games-showcase__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-index-popular-games-showcase__cta-image {
  width: 100%;
  max-width: 600px;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.8;
}

.page-index-popular-games-showcase__faq {
  padding: 80px 0;
  background-color: #0A2463;
}

.page-index-popular-games-showcase__faq-item {
  background-color: #1a3a7a;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-index-popular-games-showcase__faq-question {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-popular-games-showcase__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-index-popular-games-showcase__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-popular-games-showcase__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #334e8c;
  margin-top: 10px;
}

.page-index-popular-games-showcase__faq-answer.active {
  display: block;
}

.page-index-popular-games-showcase__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-popular-games-showcase__faq-answer a:hover {
  color: #e6c200;
}

.highlight {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-popular-games-showcase__hero-title {
    font-size: 2.8em;
  }

  .page-index-popular-games-showcase__section-title,
  .page-index-popular-games-showcase__category-title {
    font-size: 2em;
  }

  .page-index-popular-games-showcase__cta-title {
    font-size: 2.5em;
  }

  .page-index-popular-games-showcase__games-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-popular-games-showcase__hero {
    padding: 60px 0;
  }
  .page-index-popular-games-showcase__hero-title {
    font-size: 2.2em;
  }
  .page-index-popular-games-showcase__hero-description {
    font-size: 1em;
  }
  .page-index-popular-games-showcase__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-popular-games-showcase__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-popular-games-showcase__intro,
  .page-index-popular-games-showcase__games-grid,
  .page-index-popular-games-showcase__cta,
  .page-index-popular-games-showcase__faq {
    padding: 60px 0;
  }
  .page-index-popular-games-showcase__section-title,
  .page-index-popular-games-showcase__category-title {
    font-size: 1.8em;
  }
  .page-index-popular-games-showcase__cta-title {
    font-size: 2em;
  }
  .page-index-popular-games-showcase__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-popular-games-showcase__btn--large {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-popular-games-showcase__game-categories {
    flex-direction: column;
    align-items: center;
  }
  .page-index-popular-games-showcase__category-btn {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games-showcase__hero-title {
    font-size: 1.8em;
  }
  .page-index-popular-games-showcase__section-title,
  .page-index-popular-games-showcase__category-title {
    font-size: 1.5em;
  }
  .page-index-popular-games-showcase__cta-title {
    font-size: 1.8em;
  }
  .page-index-popular-games-showcase__games-wrapper {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games-showcase__feature-item {
    padding: 20px;
  }
  .page-index-popular-games-showcase__faq-question {
    font-size: 1.2em;
  }
}