/* style/slot-games-popular.css */

/* Custom Colors from provided palette */
:root {
  --page-slot-games-popular-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-popular-card-bg: #11271B;
  --page-slot-games-popular-background: #08160F;
  --page-slot-games-popular-text-main: #F2FFF6;
  --page-slot-games-popular-text-secondary: #A7D9B8;
  --page-slot-games-popular-border: #2E7A4E;
  --page-slot-games-popular-glow: #57E38D;
  --page-slot-games-popular-gold: #F2C14E;
  --page-slot-games-popular-divider: #1E3A2A;
  --page-slot-games-popular-deep-green: #0A4B2C;
  --page-slot-games-popular-primary-color: #11A84E; /* Main Color */
  --page-slot-games-popular-secondary-color: #22C768; /* Auxiliary Color */
}

/* Base styles for the page content, considering body background is dark */
.page-slot-games-popular {
  background-color: var(--page-slot-games-popular-background); /* #08160F */
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games-popular__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games-popular__section-title {
  font-size: 2.5rem;
  color: var(--page-slot-games-popular-gold); /* Gold for titles for emphasis */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games-popular__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--page-slot-games-popular-text-secondary);
}

.page-slot-games-popular__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
  filter: brightness(0.7); /* Slightly dim the image for text contrast, NOT changing color */
}

.page-slot-games-popular__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text visibility */
  border-radius: 10px;
}

.page-slot-games-popular__main-title {
  color: var(--page-slot-games-popular-gold); /* Gold for H1 */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  /* clamp for responsive font size */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-slot-games-popular__description {
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.page-slot-games-popular__btn-primary,
.page-slot-games-popular__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-popular__btn-primary {
  background: var(--page-slot-games-popular-button-gradient);
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
  border: none;
  margin-right: 15px;
}

.page-slot-games-popular__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games-popular__btn-secondary {
  background: none;
  color: var(--page-slot-games-popular-primary-color); /* #11A84E */
  border: 2px solid var(--page-slot-games-popular-primary-color);
}

.page-slot-games-popular__btn-secondary:hover {
  background: var(--page-slot-games-popular-primary-color);
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
}

.page-slot-games-popular__introduction-section,
.page-slot-games-popular__game-types-section,
.page-slot-games-popular__how-to-play-section,
.page-slot-games-popular__bonuses-section,
.page-slot-games-popular__cta-final-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-popular-background); /* #08160F */
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
}

.page-slot-games-popular__dark-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-popular-deep-green); /* #0A4B2C */
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
}

.page-slot-games-popular__why-choose-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__features-grid,
.page-slot-games-popular__game-cards-grid,
.page-slot-games-popular__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-popular__card {
  background-color: var(--page-slot-games-popular-card-bg); /* #11271B */
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--page-slot-games-popular-border);
}

.page-slot-games-popular__card:hover {
  transform: translateY(-5px);
}

.page-slot-games-popular__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games-popular__card-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-popular-gold); /* Gold for card titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games-popular__card-title a {
  color: var(--page-slot-games-popular-gold); /* Gold for card titles */
  text-decoration: none;
}

.page-slot-games-popular__card-title a:hover {
  text-decoration: underline;
}

.page-slot-games-popular__card-text {
  font-size: 1rem;
  color: var(--page-slot-games-popular-text-secondary); /* #A7D9B8 */
}

.page-slot-games-popular__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games-popular__numbered-list {
  list-style: none;
  counter-reset: my-counter;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games-popular__list-item {
  background-color: var(--page-slot-games-popular-card-bg); /* #11271B */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--page-slot-games-popular-primary-color);
  color: var(--page-slot-games-popular-text-main);
}

.page-slot-games-popular__numbered-list .page-slot-games-popular__list-item {
  position: relative;
  padding-left: 60px;
}

.page-slot-games-popular__numbered-list .page-slot-games-popular__list-item::before {
  counter-increment: my-counter;
  content: counter(my-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-slot-games-popular-primary-color);
  color: var(--page-slot-games-popular-text-main);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-slot-games-popular__list-item-title {
  font-size: 1.3rem;
  color: var(--page-slot-games-popular-gold); /* Gold for list item titles */
  margin-bottom: 5px;
}

.page-slot-games-popular__list-item-text {
  font-size: 1rem;
  color: var(--page-slot-games-popular-text-secondary);
}

.page-slot-games-popular__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games-popular__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-slot-games-popular__faq-list {
  margin-top: 30px;
}

.page-slot-games-popular__faq-item {
  background-color: var(--page-slot-games-popular-card-bg); /* #11271B */
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-slot-games-popular-border);
  overflow: hidden;
}

.page-slot-games-popular__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-slot-games-popular-text-main); /* #F2FFF6 */
  cursor: pointer;
  background-color: var(--page-slot-games-popular-deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--page-slot-games-popular-divider); /* #1E3A2A */
}

.page-slot-games-popular__faq-question:hover {
  opacity: 0.9;
}

.page-slot-games-popular__faq-qtext {
  flex-grow: 1;
  color: var(--page-slot-games-popular-gold); /* Gold for FAQ questions */
}

.page-slot-games-popular__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-popular-gold); /* Gold for toggle icon */
}

.page-slot-games-popular__faq-item[open] .page-slot-games-popular__faq-question {
  border-bottom: 1px solid var(--page-slot-games-popular-divider);
}

.page-slot-games-popular__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-slot-games-popular-text-secondary); /* #A7D9B8 */
}

.page-slot-games-popular__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games-popular__faq-item summary {
  list-style: none;
}

/* Ensure all images are responsive */
.page-slot-games-popular img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images CSS size lower bound (not by class name) */
/* Any selector that can select img under .page-slot-games-popular should not result in display size less than 200px */
.page-slot-games-popular__features-grid img,
.page-slot-games-popular__game-cards-grid img,
.page-slot-games-popular__promo-cards-grid img {
  min-width: 200px;
  min-height: 200px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-slot-games-popular__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games-popular__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games-popular__hero-content {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    padding: 15px;
    margin: 20px 15px 0;
  }
  .page-slot-games-popular__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
  }
  .page-slot-games-popular__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-slot-games-popular__btn-primary,
  .page-slot-games-popular__btn-secondary {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-slot-games-popular__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .page-slot-games-popular__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-slot-games-popular__text-block {
    font-size: 1rem;
  }
  .page-slot-games-popular__features-grid,
  .page-slot-games-popular__game-cards-grid,
  .page-slot-games-popular__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games-popular__card {
    padding: 20px;
  }
  .page-slot-games-popular__card-title {
    font-size: 1.3rem;
  }
  .page-slot-games-popular__list-item,
  .page-slot-games-popular__numbered-list .page-slot-games-popular__list-item {
    padding: 15px;
    padding-left: 50px;
  }
  .page-slot-games-popular__numbered-list .page-slot-games-popular__list-item::before {
    left: 10px;
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .page-slot-games-popular__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-slot-games-popular__faq-toggle {
    font-size: 1.5rem;
  }
  .page-slot-games-popular__faq-answer {
    padding: 15px 20px;
  }
  /* Mobile responsive for images, buttons, containers */
  .page-slot-games-popular img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games-popular__section,
  .page-slot-games-popular__card,
  .page-slot-games-popular__container,
  .page-slot-games-popular__cta-buttons,
  .page-slot-games-popular__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games-popular__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-slot-games-popular__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}