/* 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__hero {
  background: linear-gradient(135deg, #4A2780, #6a3e9c);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-index-popular-games__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #4A2780; /* Deep Violet */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-index-popular-games__cta-button:hover {
  background-color: #e6c200; /* Darker gold */
  transform: translateY(-2px);
}

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

.page-index-popular-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-index-popular-games__section-title {
  font-size: 2.5em;
  color: #4A2780; /* Deep Violet */
  text-align: center;
  margin: 60px 0 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-popular-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

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

.page-index-popular-games__game-categories, .page-index-popular-games__why-fi88, .page-index-popular-games__featured-games, .page-index-popular-games__how-to-start, .page-index-popular-games__responsible-gambling, .page-index-popular-games__faq {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-popular-games__category-grid, .page-index-popular-games__advantages-grid, .page-index-popular-games__featured-grid, .page-index-popular-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-index-popular-games__category-card:hover, .page-index-popular-games__featured-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-popular-games__card-image, .page-index-popular-games__featured-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.page-index-popular-games__card-title, .page-index-popular-games__featured-title {
  font-size: 1.5em;
  color: #4A2780; /* Deep Violet */
  margin: 15px 10px;
  min-height: 40px;
}

.page-index-popular-games__card-title a, .page-index-popular-games__featured-title a {
  color: #4A2780;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-popular-games__card-title a:hover, .page-index-popular-games__featured-title a:hover {
  color: #FFD700;
}

.page-index-popular-games__card-text, .page-index-popular-games__featured-text {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-index-popular-games__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #4A2780;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-index-popular-games__card-button:hover {
  background-color: #e6c200;
}

.page-index-popular-games__advantage-item {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index-popular-games__advantage-item h3 {
  color: #4A2780;
  font-size: 1.4em;
  margin: 15px 0 10px;
}

.page-index-popular-games__advantage-item p {
  color: #666;
  font-size: 0.95em;
}

.page-index-popular-games__advantage-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index-popular-games__cta-button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-index-popular-games__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #4A2780;
}

.page-index-popular-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  background-color: #4A2780;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -60px auto 20px;
  border: 3px solid #FFD700;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-index-popular-games__step-item h3 {
  color: #4A2780;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-index-popular-games__step-item p {
  color: #666;
  font-size: 0.95em;
}

.page-index-popular-games__step-item p a {
  color: #4A2780;
  font-weight: bold;
  text-decoration: none;
}

.page-index-popular-games__step-item p a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-index-popular-games__final-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-index-popular-games__final-cta p {
  font-size: 1.3em;
  color: #4A2780;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index-popular-games__responsible-gambling {
  background-color: #e6f7ff;
  border-left: 5px solid #4A2780;
  padding: 40px;
  border-radius: 8px;
  margin-top: 60px;
}

.page-index-popular-games__responsible-gambling h2 {
  color: #4A2780;
  margin-top: 0;
  text-align: left;
}

.page-index-popular-games__responsible-gambling p {
  color: #333;
  font-size: 1em;
  margin-bottom: 15px;
}

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

.page-index-popular-games__faq-item h3 {
  color: #4A2780;
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index-popular-games__faq-item p {
  color: #555;
  font-size: 0.95em;
}

.page-index-popular-games__faq-item p a {
  color: #4A2780;
  font-weight: bold;
  text-decoration: none;
}

.page-index-popular-games__faq-item p a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-index-popular-games__sticky-promo {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFD700;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-popular-games__sticky-promo-content p {
  margin: 0;
  color: #4A2780;
  font-size: 1.1em;
  font-weight: normal;
}

.page-index-popular-games__sticky-promo-content strong {
  font-weight: bold;
  color: #4A2780;
}

.page-index-popular-games__sticky-promo-button {
  background-color: #4A2780;
  color: #FFD700;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-popular-games__sticky-promo-button:hover {
  background-color: #3a1e64;
  color: #ffe873;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-popular-games__hero-title {
    font-size: 2.5em;
  }
  .page-index-popular-games__section-title {
    font-size: 2em;
  }
  .page-index-popular-games__category-grid, .page-index-popular-games__advantages-grid, .page-index-popular-games__featured-grid, .page-index-popular-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-popular-games__hero {
    padding: 60px 15px;
  }
  .page-index-popular-games__hero-title {
    font-size: 2em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1em;
  }
  .page-index-popular-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-popular-games__section-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__section-description {
    font-size: 0.95em;
  }
  .page-index-popular-games__category-grid, .page-index-popular-games__advantages-grid, .page-index-popular-games__featured-grid, .page-index-popular-games__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games__category-card, .page-index-popular-games__featured-item, .page-index-popular-games__advantage-item, .page-index-popular-games__step-item {
    margin-bottom: 20px;
  }
  .page-index-popular-games__sticky-promo {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }
  .page-index-popular-games__sticky-promo-content p {
    font-size: 1em;
  }
  .page-index-popular-games__sticky-promo-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__section-title {
    font-size: 1.6em;
  }
  .page-index-popular-games__final-cta p {
    font-size: 1.1em;
  }
  .page-index-popular-games__responsible-gambling {
    padding: 25px;
  }
  .page-index-popular-games__faq-item {
    padding: 20px;
  }
}