.page-index-popular-games-recommendation {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 40px;
}

.page-index-popular-games-recommendation__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-popular-games-recommendation__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  background-color: #08160F; /* Background */
}

.page-index-popular-games-recommendation__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-popular-games-recommendation__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image to make text pop */
}

.page-index-popular-games-recommendation__hero-content {
  position: relative; /* Ensure content is above image */
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image */
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0.0) 100%);
}

.page-index-popular-games-recommendation__hero-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-popular-games-recommendation__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-popular-games-recommendation__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styling */
.page-index-popular-games-recommendation__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games-recommendation__text-content {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

/* Card Styling */
.page-index-popular-games-recommendation__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

.page-index-popular-games-recommendation__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}

.page-index-popular-games-recommendation__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-index-popular-games-recommendation__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-popular-games-recommendation__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-popular-games-recommendation__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-index-popular-games-recommendation__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

/* Button Styling */
.page-index-popular-games-recommendation__btn-primary,
.page-index-popular-games-recommendation__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-index-popular-games-recommendation__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-popular-games-recommendation__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px #57E38D; /* Glow */
}

.page-index-popular-games-recommendation__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Main color for secondary button text */
  border: 2px solid #2AD16F;
}

.page-index-popular-games-recommendation__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
  border-color: #2AD16F;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-popular-games-recommendation__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
}

/* Games Categories */
.page-index-popular-games-recommendation__games-categories {
  padding: 40px 0;
}

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

/* Why Choose Us Section */
.page-index-popular-games-recommendation__why-choose-us {
  padding: 40px 0;
}

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

.page-index-popular-games-recommendation__feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px auto;
  display: block;
}

.page-index-popular-games-recommendation__feature-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-index-popular-games-recommendation__feature-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* Promotions Section */
.page-index-popular-games-recommendation__promotions-section {
  padding: 40px 0;
  text-align: center;
}

/* Getting Started Section */
.page-index-popular-games-recommendation__getting-started {
  padding: 40px 0;
}

.page-index-popular-games-recommendation__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-index-popular-games-recommendation__step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px auto;
  display: block;
}

.page-index-popular-games-recommendation__step-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-index-popular-games-recommendation__step-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-index-popular-games-recommendation__faq-section {
  padding: 40px 0;
}

.page-index-popular-games-recommendation__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-popular-games-recommendation__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
}

.page-index-popular-games-recommendation__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid #1E3A2A; /* Divider */
  list-style: none;
}

.page-index-popular-games-recommendation__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-popular-games-recommendation__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-popular-games-recommendation__faq-item[open] .page-index-popular-games-recommendation__faq-toggle {
  transform: rotate(45deg);
}

.page-index-popular-games-recommendation__faq-answer {
  padding: 20px 25px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: none;
}

.page-index-popular-games-recommendation__faq-answer p {
  margin: 0;
}

/* Conclusion Section */
.page-index-popular-games-recommendation__conclusion-section {
  padding: 40px 0;
  text-align: center;
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-index-popular-games-recommendation__hero-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }

  .page-index-popular-games-recommendation__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-popular-games-recommendation__container,
  .page-index-popular-games-recommendation__hero-section,
  .page-index-popular-games-recommendation__introduction-section,
  .page-index-popular-games-recommendation__games-categories,
  .page-index-popular-games-recommendation__why-choose-us,
  .page-index-popular-games-recommendation__promotions-section,
  .page-index-popular-games-recommendation__getting-started,
  .page-index-popular-games-recommendation__faq-section,
  .page-index-popular-games-recommendation__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-popular-games-recommendation__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-index-popular-games-recommendation__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
    padding: 20px 15px;
  }

  .page-index-popular-games-recommendation__hero-title {
    font-size: clamp(1.5em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-index-popular-games-recommendation__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-index-popular-games-recommendation__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-popular-games-recommendation__btn-primary,
  .page-index-popular-games-recommendation__btn-secondary,
  .page-index-popular-games-recommendation a[class*="button"],
  .page-index-popular-games-recommendation a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-popular-games-recommendation__category-grid,
  .page-index-popular-games-recommendation__features-grid,
  .page-index-popular-games-recommendation__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-popular-games-recommendation__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-index-popular-games-recommendation__text-content {
    font-size: 1em;
  }

  .page-index-popular-games-recommendation__card {
    padding: 20px;
  }

  .page-index-popular-games-recommendation__card-image {
    height: 180px;
  }

  .page-index-popular-games-recommendation__card-title {
    font-size: 1.3em;
  }

  .page-index-popular-games-recommendation img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Ensure contrast for all text elements */
.page-index-popular-games-recommendation__dark-bg {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-index-popular-games-recommendation p,
.page-index-popular-games-recommendation li,
.page-index-popular-games-recommendation__card-description,
.page-index-popular-games-recommendation__feature-description,
.page-index-popular-games-recommendation__step-description,
.page-index-popular-games-recommendation__faq-answer {
  color: #A7D9B8; /* Text Secondary */
}

.page-index-popular-games-recommendation h1,
.page-index-popular-games-recommendation h2,
.page-index-popular-games-recommendation h3,
.page-index-popular-games-recommendation__card-title,
.page-index-popular-games-recommendation__feature-title,
.page-index-popular-games-recommendation__step-title,
.page-index-popular-games-recommendation__faq-question {
  color: #F2FFF6; /* Text Main */
}

/* Ensure all images do not use filter */
.page-index-popular-games-recommendation img {
  filter: none; /* Reset any potential filter */
}

/* Re-apply brightness filter only for hero image */
.page-index-popular-games-recommendation__hero-image {
  filter: brightness(0.7); 
}