/* style/index-popular-games.css */
.page-index-popular-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

/* Hero Section */
.page-index-popular-games__hero {
  background: linear-gradient(135deg, #003366, #0055aa);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-index-popular-games__hero-content {
  max-width: 800px;
}

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

.page-index-popular-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

.page-index-popular-games__hero-image-wrapper {
  width: 90%;
  max-width: 1000px;
  margin-top: 30px;
}

.page-index-popular-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* General Buttons */
.page-index-popular-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-index-popular-games__btn--primary {
  background-color: #FFD700; /* Accent color */
  color: #003366; /* Main color for text */
  border: 2px solid #FFD700;
}

.page-index-popular-games__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-popular-games__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Accent color */
  border: 2px solid #FFD700;
}

.page-index-popular-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #003366;
  transform: translateY(-2px);
}

.page-index-popular-games__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-index-popular-games__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Section Titles and Intros */
.page-index-popular-games__section-title {
  font-size: 2.5em;
  color: #003366; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: bold;
}

.page-index-popular-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555;
}

/* Why Choose Section */
.page-index-popular-games__why-choose {
  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;
  text-align: center;
}

.page-index-popular-games__feature-item {
  background-color: #f0f4f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-index-popular-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-index-popular-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #003366;
}

.page-index-popular-games__feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-popular-games__feature-description {
  color: #666;
}

/* Game Categories Section */
.page-index-popular-games__game-categories {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

.page-index-popular-games__game-card:hover {
  transform: translateY(-5px);
}

.page-index-popular-games__game-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index-popular-games__game-card-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-index-popular-games__game-card-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  padding: 0 15px;
  min-height: 70px; /* Ensure consistent height */
}

/* How to Start Section */
.page-index-popular-games__how-to-start {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-index-popular-games__step-item {
  background-color: #f0f4f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-index-popular-games__step-item:hover {
  transform: translateY(-5px);
}

.page-index-popular-games__step-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #003366;
}

.page-index-popular-games__step-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-popular-games__step-description {
  color: #666;
  margin-bottom: 20px;
  min-height: 80px; /* Ensure consistent height */
}

/* Responsible Gambling Section */
.page-index-popular-games__responsible-gambling {
  padding: 60px 0;
  background-color: #e0f2f7; /* Lighter blue for a calm, serious tone */
}

.page-index-popular-games__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-index-popular-games__responsible-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #003366;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-popular-games__list-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  color: #003366;
}

.page-index-popular-games__responsible-cta {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #003366;
  margin-top: 40px;
}

/* FAQ Section */
.page-index-popular-games__faq {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-index-popular-games__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-index-popular-games__faq-answer {
  font-size: 1em;
  color: #555;
  display: none; /* Hidden by default, JS will toggle */
}

/* Call to Action Final */
.page-index-popular-games__cta-final {
  background: linear-gradient(90deg, #003366, #0055aa);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index-popular-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color */
  font-weight: bold;
}

.page-index-popular-games__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-popular-games__hero {
    flex-direction: column;
    padding: 60px 0;
  }

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

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

  .page-index-popular-games__features-grid,
  .page-index-popular-games__game-grid,
  .page-index-popular-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-index-popular-games__cta-title {
    font-size: 2.2em;
  }
}

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

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

  .page-index-popular-games__hero-description {
    font-size: 1em;
  }

  .page-index-popular-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-popular-games__btn--primary,
  .page-index-popular-games__btn--secondary {
    width: 80%;
  }

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

  .page-index-popular-games__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index-popular-games__game-card-description {
    min-height: auto;
  }

  .page-index-popular-games__step-description {
    min-height: auto;
  }

  .page-index-popular-games__cta-title {
    font-size: 1.8em;
  }

  .page-index-popular-games__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games__hero-title {
    font-size: 1.8em;
  }

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

  .page-index-popular-games__features-grid,
  .page-index-popular-games__game-grid,
  .page-index-popular-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-index-popular-games__feature-item,
  .page-index-popular-games__game-card,
  .page-index-popular-games__step-item {
    margin: 0 10px;
  }

  .page-index-popular-games__cta-title {
    font-size: 1.6em;
  }
  .page-index-popular-games__responsible-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-index-popular-games__faq-question {
    font-size: 1.1em;
  }
  .page-index-popular-games__faq-answer {
    font-size: 0.9em;
  }
}