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

/* Custom Colors */
: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 {
  color: var(--page-slot-games-popular-text-main);
  background-color: var(--page-slot-games-popular-background);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games-popular__section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

/* Hero Section */
.page-slot-games-popular__hero-section {
  padding: 10px 0 60px 0; /* body handles top padding, this is for visual spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  background-color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games-popular__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.page-slot-games-popular__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap image slightly for visual effect, but text is below */
  position: relative;
  z-index: 2;
  background-color: rgba(17, 39, 27, 0.85); /* Card BG with transparency for content readability */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--page-slot-games-popular-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--page-slot-games-popular-glow);
}

.page-slot-games-popular__description {
  font-size: 1.15rem;
  color: var(--page-slot-games-popular-text-secondary);
  margin-bottom: 30px;
}

/* Buttons */
.page-slot-games-popular__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games-popular__btn-primary,
.page-slot-games-popular__btn-secondary,
.page-slot-games-popular__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games-popular__btn-primary {
  background: var(--page-slot-games-popular-button-gradient);
  color: var(--page-slot-games-popular-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular__btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-slot-games-popular__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-popular-text-main);
  border: 2px solid var(--page-slot-games-popular-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular__btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: rgba(46, 122, 78, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular__btn-link {
  background: none;
  border: none;
  color: var(--page-slot-games-popular-glow);
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
}

.page-slot-games-popular__btn-link:hover {
  color: var(--page-slot-games-popular-gold);
}

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

/* Section Titles and Text */
.page-slot-games-popular__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-slot-games-popular-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-slot-games-popular__text-block {
  font-size: 1.1rem;
  color: var(--page-slot-games-popular-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Dark/Light Background Sections */
.page-slot-games-popular__dark-section {
  background-color: var(--page-slot-games-popular-background);
  color: var(--page-slot-games-popular-text-main);
}

.page-slot-games-popular__light-bg {
  background-color: #f5f5f5; /* Use a very light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-slot-games-popular__light-bg .page-slot-games-popular__section-title {
  color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__light-bg .page-slot-games-popular__text-block {
  color: #555555;
}

.page-slot-games-popular__light-bg .page-slot-games-popular__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-slot-games-popular__light-bg .page-slot-games-popular__card .page-slot-games-popular__feature-title,
.page-slot-games-popular__light-bg .page-slot-games-popular__card .page-slot-games-popular__game-title,
.page-slot-games-popular__light-bg .page-slot-games-popular__card .page-slot-games-popular__promo-title {
  color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__light-bg .page-slot-games-popular__card .page-slot-games-popular__feature-description,
.page-slot-games-popular__light-bg .page-slot-games-popular__card .page-slot-games-popular__game-description,
.page-slot-games-popular__light-bg .page-slot-games-popular__card .page-slot-games-popular__promo-description {
  color: #555555;
}


/* Why Choose Section */
.page-slot-games-popular__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-popular__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-popular__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games-popular__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-slot-games-popular-gold);
}

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

/* Game Types Section */
.page-slot-games-popular__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-popular__game-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-slot-games-popular__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games-popular__game-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games-popular__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-slot-games-popular-gold);
}

.page-slot-games-popular__game-description {
  font-size: 0.95rem;
  color: var(--page-slot-games-popular-text-secondary);
  margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games-popular__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games-popular__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games-popular__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__step-item p {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-slot-games-popular__step-button {
  margin-top: auto; /* Push button to bottom */
}

/* Tips & Strategies Section */
.page-slot-games-popular__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games-popular__tips-item {
  background-color: var(--page-slot-games-popular-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular__tips-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-slot-games-popular-gold);
}

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

/* Promotions Section */
.page-slot-games-popular__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-popular__promo-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-slot-games-popular__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-slot-games-popular__promo-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games-popular__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-slot-games-popular-deep-green);
}

.page-slot-games-popular__promo-description {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
}

/* Mobile Experience Section */
.page-slot-games-popular__mobile-experience .page-slot-games-popular__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-slot-games-popular__mobile-experience .page-slot-games-popular__text-content,
.page-slot-games-popular__mobile-experience .page-slot-games-popular__image-content {
  flex: 1;
  min-width: 300px;
}

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

.page-slot-games-popular__mobile-features-list li {
  font-size: 1.1rem;
  color: var(--page-slot-games-popular-text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-slot-games-popular__icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
}

.page-slot-games-popular__icon--check {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2357E38D"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}

.page-slot-games-popular__mobile-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-slot-games-popular__faq-list {
  margin-top: 40px;
}

.page-slot-games-popular__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-slot-games-popular__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-slot-games-popular-deep-green);
  background-color: #f9f9f9;
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.page-slot-games-popular__faq-item[open] .page-slot-games-popular__faq-question {
  background-color: #e6f7ed; /* Lighter green for open state */
  border-bottom: 1px solid var(--page-slot-games-popular-border);
}

.page-slot-games-popular__faq-question:hover {
  background-color: #e6f7ed;
}

.page-slot-games-popular__faq-qtext {
  flex-grow: 1;
}

.page-slot-games-popular__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--page-slot-games-popular-glow);
}

.page-slot-games-popular__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
}

.page-slot-games-popular__faq-answer p {
  margin-bottom: 15px;
  text-align: left;
}

.page-slot-games-popular__faq-answer .page-slot-games-popular__btn-link {
  display: inline-block;
  margin-top: 10px;
}

/* Final CTA Section */
.page-slot-games-popular__cta-final {
  padding: 100px 0;
  background-color: var(--page-slot-games-popular-deep-green);
  text-align: center;
}

.page-slot-games-popular__cta-final .page-slot-games-popular__section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 30px;
}

.page-slot-games-popular__cta-final .page-slot-games-popular__text-block {
  max-width: 900px;
  margin-bottom: 50px;
}

/* Global image rules for content area */
.page-slot-games-popular img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No CSS filters allowed */
  filter: none; /* Explicitly ensure no filter */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games-popular__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular__section {
    padding: 50px 0;
  }

  .page-slot-games-popular__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games-popular__hero-content {
    margin-top: -40px;
    padding: 25px;
  }

  .page-slot-games-popular__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-slot-games-popular__description {
    font-size: 1rem;
  }

  .page-slot-games-popular__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-popular__btn-primary,
  .page-slot-games-popular__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games-popular__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-slot-games-popular__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-slot-games-popular__features-grid,
  .page-slot-games-popular__game-grid,
  .page-slot-games-popular__steps-list,
  .page-slot-games-popular__tips-list,
  .page-slot-games-popular__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-slot-games-popular__feature-item,
  .page-slot-games-popular__game-card,
  .page-slot-games-popular__step-item,
  .page-slot-games-popular__tips-item,
  .page-slot-games-popular__promo-card {
    padding: 20px;
  }

  .page-slot-games-popular__mobile-experience .page-slot-games-popular__flex-container {
    flex-direction: column;
  }

  .page-slot-games-popular__mobile-experience .page-slot-games-popular__text-content,
  .page-slot-games-popular__mobile-experience .page-slot-games-popular__image-content {
    width: 100%;
  }

  .page-slot-games-popular__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-slot-games-popular__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .page-slot-games-popular__cta-final {
    padding: 60px 0;
  }

  /* Mobile image responsiveness */
  .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__hero-image-wrapper,
  .page-slot-games-popular__game-card,
  .page-slot-games-popular__promo-card,
  .page-slot-games-popular__mobile-experience .page-slot-games-popular__flex-container,
  .page-slot-games-popular__mobile-experience .page-slot-games-popular__text-content,
  .page-slot-games-popular__mobile-experience .page-slot-games-popular__image-content,
  .page-slot-games-popular__cta-buttons,
  .page-slot-games-popular__button-group,
  .page-slot-games-popular__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games-popular__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-slot-games-popular__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}