.page-index-popular-games-recommendations {
  color: #333333; /* Dark text for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-index-popular-games-recommendations__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff; /* White text on hero image */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-index-popular-games-recommendations__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-index-popular-games-recommendations__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-index-popular-games-recommendations__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-popular-games-recommendations__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #F3C500; /* Auxiliary color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-index-popular-games-recommendations__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
}

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

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

.page-index-popular-games-recommendations__button--primary {
  background-color: #F3C500; /* Auxiliary color */
  color: #0A246A; /* Primary color for text */
}

.page-index-popular-games-recommendations__button--primary:hover {
  background-color: #e0b400;
  transform: translateY(-2px);
}

.page-index-popular-games-recommendations__button--secondary {
  background-color: #0A246A; /* Primary color */
  color: #F3C500; /* Auxiliary color for text */
  border: 2px solid #F3C500;
}

.page-index-popular-games-recommendations__button--secondary:hover {
  background-color: #1a3a7a;
  transform: translateY(-2px);
}

.page-index-popular-games-recommendations__section-title {
  font-size: 2.5em;
  color: #0A246A; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-index-popular-games-recommendations__games-overview,
.page-index-popular-games-recommendations__why-789taya,
.page-index-popular-games-recommendations__faq-section,
.page-index-popular-games-recommendations__game-providers {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-index-popular-games-recommendations__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-popular-games-recommendations__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-popular-games-recommendations__game-title {
  font-size: 1.8em;
  color: #0A246A; /* Primary color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-popular-games-recommendations__game-link {
  text-decoration: none;
  color: #0A246A; /* Primary color */
}

.page-index-popular-games-recommendations__game-link:hover {
  color: #F3C500; /* Auxiliary color on hover */
}

.page-index-popular-games-recommendations__game-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-index-popular-games-recommendations__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-index-popular-games-recommendations__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-index-popular-games-recommendations__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-popular-games-recommendations__feature-title {
  font-size: 1.5em;
  color: #0A246A; /* Primary color */
  margin-bottom: 15px;
}

.page-index-popular-games-recommendations__feature-text {
  font-size: 1em;
  color: #666666;
}

.page-index-popular-games-recommendations__feature-link {
  color: #F3C500;
  text-decoration: none;
}

.page-index-popular-games-recommendations__feature-link:hover {
  text-decoration: underline;
}

.page-index-popular-games-recommendations__cta-section {
  background-color: #0A246A; /* Primary color for CTA background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-index-popular-games-recommendations__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-popular-games-recommendations__cta-title {
  font-size: 2.8em;
  color: #F3C500; /* Auxiliary color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-popular-games-recommendations__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-index-popular-games-recommendations__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-index-popular-games-recommendations__faq-list {
  margin-top: 40px;
}

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

.page-index-popular-games-recommendations__faq-question {
  font-size: 1.4em;
  color: #0A246A; /* Primary color */
  margin-bottom: 10px;
  cursor: pointer;
}

.page-index-popular-games-recommendations__faq-answer {
  font-size: 1em;
  color: #666666;
}

.page-index-popular-games-recommendations__faq-link {
  color: #F3C500;
  text-decoration: none;
}

.page-index-popular-games-recommendations__faq-link:hover {
  text-decoration: underline;
}

.page-index-popular-games-recommendations__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-index-popular-games-recommendations__provider-logo {
  width: 180px;
  height: 90px;
  object-fit: contain;
  filter: grayscale(100%); /* Maintain original color requirement, but for logos, grayscale is common. If strict, remove. */
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-index-popular-games-recommendations__provider-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-popular-games-recommendations__hero-title {
    font-size: 2.8em;
  }
  .page-index-popular-games-recommendations__hero-description {
    font-size: 1.1em;
  }
  .page-index-popular-games-recommendations__section-title {
    font-size: 2em;
  }
  .page-index-popular-games-recommendations__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-popular-games-recommendations__hero-section {
    min-height: 400px;
  }
  .page-index-popular-games-recommendations__hero-container {
    padding: 60px 15px;
  }
  .page-index-popular-games-recommendations__hero-title {
    font-size: 2.2em;
  }
  .page-index-popular-games-recommendations__hero-description {
    font-size: 1em;
  }
  .page-index-popular-games-recommendations__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-popular-games-recommendations__button {
    width: 100%;
  }
  .page-index-popular-games-recommendations__games-overview,
  .page-index-popular-games-recommendations__why-789taya,
  .page-index-popular-games-recommendations__faq-section,
  .page-index-popular-games-recommendations__game-providers {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-index-popular-games-recommendations__game-categories,
  .page-index-popular-games-recommendations__features {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games-recommendations__game-image {
    height: 200px;
  }
  .page-index-popular-games-recommendations__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-index-popular-games-recommendations__cta-title {
    font-size: 1.8em;
  }
  .page-index-popular-games-recommendations__cta-description {
    font-size: 1.1em;
  }
  .page-index-popular-games-recommendations__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-index-popular-games-recommendations__provider-logo {
    width: 150px;
    height: 75px;
  }

  /* Mobile content image constraint */
  .page-index-popular-games-recommendations img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not smaller than 200px */
.page-index-popular-games-recommendations__game-image,
.page-index-popular-games-recommendations__feature-icon {
  min-width: 200px; 
  min-height: 200px; /* Enforce min-height for non-logo content images */
}

/* Override for logos to allow smaller display but still meet the 200px source requirement */
.page-index-popular-games-recommendations__provider-logo {
  min-width: unset; /* Allow smaller display width for logos */
  min-height: unset; /* Allow smaller display height for logos */
  width: 180px; /* Actual display width for provider logos */
  height: 90px; /* Actual display height for provider logos */
}

@media (max-width: 768px) {
  .page-index-popular-games-recommendations__provider-logo {
    width: 150px; /* Smaller display width for logos on mobile */
    height: 75px; /* Smaller display height for logos on mobile */
  }
}