/* style/jackpot-slots.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --gray-border-color: #e0e0e0;
}

.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default for dark body background */
}

/* Ensure main content has top padding to avoid fixed header overlap */
.page-jackpot-slots__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

.page-jackpot-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-jackpot-slots__dark-bg {
  background: var(--dark-bg-1);
  color: var(--light-text-color);
}

.page-jackpot-slots__light-bg {
  background: #f8f8f8;
  color: var(--dark-text-color);
}

.page-jackpot-slots__main-title {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-jackpot-slots__intro-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-jackpot-slots__section-description {
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__btn-primary {
  background: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-jackpot-slots__btn-primary:hover {
  background: #a30000;
  border-color: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__btn-secondary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
  border: 2px solid var(--secondary-color);
}

.page-jackpot-slots__btn-secondary:hover {
  background: #e6c100;
  border-color: #e6c100;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-jackpot-slots__intro-section {
  padding: 60px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:bg:nổ hũ,w88,jackpot_banner]');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Why Choose Section */
.page-jackpot-slots__why-choose-section {
  padding: 80px 0;
}

.page-jackpot-slots__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-jackpot-slots__feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

.page-jackpot-slots__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-jackpot-slots__feature-icon {
  width: 150px; /* Min size 200x200px, but this is an icon for illustration */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-jackpot-slots__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-jackpot-slots__feature-description {
  font-size: 16px;
  line-height: 1.7;
}

/* Game Types Section */
.page-jackpot-slots__game-types-section {
  padding: 80px 0;
}

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

.page-jackpot-slots__game-type-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  color: var(--light-text-color);
}

.page-jackpot-slots__game-type-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-jackpot-slots__game-type-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-jackpot-slots__game-type-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-jackpot-slots__game-type-description {
  font-size: 16px;
  line-height: 1.7;
}

/* How To Play Section */
.page-jackpot-slots__how-to-play-section {
  padding: 80px 0;
}

.page-jackpot-slots__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__step-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--dark-text-color);
}

.page-jackpot-slots__step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-jackpot-slots__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-jackpot-slots__step-description {
  font-size: 16px;
  line-height: 1.7;
}

.page-jackpot-slots__step-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-slots__step-link:hover {
  text-decoration: underline;
}

/* Tips Section */
.page-jackpot-slots__tips-section {
  padding: 80px 0;
}

.page-jackpot-slots__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-jackpot-slots__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.7;
  color: var(--light-text-color);
}

.page-jackpot-slots__tip-icon {
  width: 80px; /* Min size 200x200px, but this is an icon for illustration */
  height: 80px;
  object-fit: contain;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-jackpot-slots__tips-list li strong {
  color: var(--secondary-color);
  margin-right: 5px;
}

.page-jackpot-slots__tip-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-slots__tip-link:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-jackpot-slots__promotions-section {
  padding: 80px 0;
}

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

.page-jackpot-slots__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--dark-text-color);
}

.page-jackpot-slots__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-jackpot-slots__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-jackpot-slots__promo-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-jackpot-slots__promo-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-slots__promo-description a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-jackpot-slots__faq-section {
  padding: 80px 0;
}

.page-jackpot-slots__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-jackpot-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--dark-text-color);
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--gray-border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--dark-text-color);
}

.page-jackpot-slots__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-jackpot-slots__faq-question:active {
  background: #eeeeee;
}

.page-jackpot-slots__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-jackpot-slots__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-jackpot-slots__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-slots__faq-answer p a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-jackpot-slots__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-jackpot-slots__cta-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__cta-content .page-jackpot-slots__section-title {
  margin-bottom: 20px;
}

.page-jackpot-slots__cta-content .page-jackpot-slots__section-description {
  margin-bottom: 30px;
}

.page-jackpot-slots__cta-content .page-jackpot-slots__section-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-slots__cta-content .page-jackpot-slots__section-description a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-slots__main-title {
    font-size: 36px;
  }

  .page-jackpot-slots__section-title {
    font-size: 30px;
  }

  .page-jackpot-slots__intro-text,
  .page-jackpot-slots__section-description,
  .page-jackpot-slots__feature-description,
  .page-jackpot-slots__game-type-description,
  .page-jackpot-slots__step-description,
  .page-jackpot-slots__tips-list li,
  .page-jackpot-slots__promo-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-slots__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-jackpot-slots__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-jackpot-slots__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-jackpot-slots__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-jackpot-slots__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

  .page-jackpot-slots__why-choose-section,
  .page-jackpot-slots__game-types-section,
  .page-jackpot-slots__how-to-play-section,
  .page-jackpot-slots__tips-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__cta-section {
    padding: 40px 0;
  }

  .page-jackpot-slots__container {
    padding: 0 15px;
  }

  .page-jackpot-slots__feature-card,
  .page-jackpot-slots__game-type-card,
  .page-jackpot-slots__step-card,
  .page-jackpot-slots__promo-card {
    padding: 20px;
  }

  .page-jackpot-slots__feature-icon,
  .page-jackpot-slots__tip-icon {
    width: 100px;
    height: 100px;
  }

  .page-jackpot-slots__feature-title,
  .page-jackpot-slots__game-type-title,
  .page-jackpot-slots__step-title,
  .page-jackpot-slots__promo-title {
    font-size: 20px;
  }

  .page-jackpot-slots__tips-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-jackpot-slots__tip-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* FAQ responsive */
  .page-jackpot-slots__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-jackpot-slots__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-jackpot-slots__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-jackpot-slots__faq-answer {
    padding: 0 15px;
  }
  
  .page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation */
  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-jackpot-slots__intro-section,
  .page-jackpot-slots__why-choose-section,
  .page-jackpot-slots__game-types-section,
  .page-jackpot-slots__how-to-play-section,
  .page-jackpot-slots__tips-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__cta-section,
  .page-jackpot-slots__feature-card,
  .page-jackpot-slots__game-type-card,
  .page-jackpot-slots__step-card,
  .page-jackpot-slots__promo-card,
  .page-jackpot-slots__faq-item,
  .page-jackpot-slots__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots__main-title {
    font-size: 24px;
  }

  .page-jackpot-slots__section-title {
    font-size: 22px;
  }

  .page-jackpot-slots__cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}