.page-index-popular-games {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly setting for clarity, though body is white */
}

.page-index-popular-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index-popular-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-index-popular-games__hero-container {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

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

.page-index-popular-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-index-popular-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-popular-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-index-popular-games__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-popular-games__button--register:hover {
  background-color: #f0f0f0;
}

.page-index-popular-games__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-popular-games__button--login:hover {
  background-color: #e0a030;
}

.page-index-popular-games__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-index-popular-games__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-index-popular-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-index-popular-games__section-paragraph {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-index-popular-games__game-categories-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-index-popular-games__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-popular-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  transition: opacity 0.3s ease;
}

.page-index-popular-games__game-card:hover .page-index-popular-games__game-card-image {
  opacity: 0.9;
}

.page-index-popular-games__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 15px 10px;
}

.page-index-popular-games__game-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-popular-games__game-card-title a:hover {
  color: #FCBC45;
}

.page-index-popular-games__game-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-index-popular-games__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index-popular-games__button--play:hover {
  background-color: #e0a030;
}

.page-index-popular-games__strategy-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-index-popular-games__subsection-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-index-popular-games__promotions-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-index-popular-games__promotions-section .page-index-popular-games__section-title {
  color: #FFFFFF;
}

.page-index-popular-games__promotions-section .page-index-popular-games__section-title::after {
  background-color: #FCBC45;
}

.page-index-popular-games__promotions-section .page-index-popular-games__section-paragraph {
  color: #f0f0f0;
}

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

.page-index-popular-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-popular-games__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index-popular-games__promo-card-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin: 20px 15px 10px;
}

.page-index-popular-games__promo-card-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-popular-games__promo-card-title a:hover {
  color: #FCBC45;
}

.page-index-popular-games__promo-card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-index-popular-games__button--claim {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index-popular-games__button--claim:hover {
  background-color: #e0a030;
}

.page-index-popular-games__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

.page-index-popular-games__button--view-all {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-popular-games__button--view-all:hover {
  background-color: #f0f0f0;
}

.page-index-popular-games__why-choose-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-index-popular-games__feature-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-popular-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.page-index-popular-games__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index-popular-games__feature-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-popular-games__feature-title a:hover {
  color: #FCBC45;
}

.page-index-popular-games__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-popular-games__button--download, .page-index-popular-games__button--contact {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-index-popular-games__button--download:hover, .page-index-popular-games__button--contact:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index-popular-games__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index-popular-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-index-popular-games__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-index-popular-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
}

.page-index-popular-games__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-popular-games__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 10px;
  border-top: 1px solid #eee;
  display: none; /* Initially hidden */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-popular-games__hero-title {
    font-size: 3em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1.1em;
  }
  .page-index-popular-games__section-title {
    font-size: 2.2em;
  }
  .page-index-popular-games__subsection-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-index-popular-games__hero-container {
    padding: 60px 15px;
  }
  .page-index-popular-games__hero-title {
    font-size: 2.5em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1em;
  }
  .page-index-popular-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-popular-games__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-popular-games__section-title {
    font-size: 2em;
  }
  .page-index-popular-games__subsection-title {
    font-size: 1.6em;
  }
  .page-index-popular-games__game-grid, .page-index-popular-games__promo-grid, .page-index-popular-games__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games__content-area {
    padding: 20px 15px;
  }
  /* Mobile image overflow prevention */
  .page-index-popular-games img {
    max-width: 100%;
    height: auto;
  }
  .page-index-popular-games__game-card-image, .page-index-popular-games__promo-card-image {
    height: 200px; /* Adjust height for smaller screens */
  }
  .page-index-popular-games__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games__hero-title {
    font-size: 2em;
  }
  .page-index-popular-games__hero-description {
    font-size: 0.95em;
  }
  .page-index-popular-games__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-popular-games__section-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__subsection-title {
    font-size: 1.4em;
  }
}