.page-jackpot-games {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles the background */
}

.page-jackpot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
}

.page-jackpot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-jackpot-games__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
}

.page-jackpot-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-jackpot-games__hero-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary,
.page-jackpot-games__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-jackpot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #1e87b9;
  border-color: #1e87b9;
}

.page-jackpot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-jackpot-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-jackpot-games__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-jackpot-games__btn-tertiary:hover {
  background-color: #c76706;
  border-color: #c76706;
}

/* Sections */
.page-jackpot-games__intro-section,
.page-jackpot-games__advantages-section,
.page-jackpot-games__how-to-play-section,
.page-jackpot-games__tips-section,
.page-jackpot-games__promotions-section,
.page-jackpot-games__faq-section,
.page-jackpot-games__cta-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-jackpot-games__dark-section,
.page-jackpot-games__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-jackpot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-jackpot-games__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-jackpot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Advantages Grid */
.page-jackpot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__advantage-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-jackpot-games__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-jackpot-games__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-jackpot-games__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-games__card-text {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Lists (Steps, Tips, Promos) */
.page-jackpot-games__step-list,
.page-jackpot-games__tip-list,
.page-jackpot-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
}

.page-jackpot-games__list-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
}

.page-jackpot-games__list-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

/* FAQ Section */
.page-jackpot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-jackpot-games__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: #3a3a3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-jackpot-games__faq-question:hover {
  background-color: #4a4a4a;
}

.page-jackpot-games__faq-question::-webkit-details-marker {
  display: none;
}
.page-jackpot-games__faq-question::marker {
  display: none;
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-toggle {
  content: '−';
}

.page-jackpot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  background-color: #2a2a2a;
}

.page-jackpot-games__faq-answer p {
  margin-bottom: 10px;
}

.page-jackpot-games__faq-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
}

.page-jackpot-games__faq-link:hover {
  color: #1e87b9;
}

/* CTA Section */
.page-jackpot-games__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-jackpot-games__cta-section .page-jackpot-games__section-title {
  color: #ffffff;
}

.page-jackpot-games__cta-section .page-jackpot-games__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-jackpot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-content {
    padding: 30px 20px 50px;
  }
  .page-jackpot-games__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }
  .page-jackpot-games__section-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__hero-section {
    padding-top: 10px !important;
  }

  .page-jackpot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-jackpot-games__hero-description {
    font-size: 0.95rem;
  }
  
  .page-jackpot-games__hero-buttons,
  .page-jackpot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games__btn-tertiary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  .page-jackpot-games__intro-section,
  .page-jackpot-games__advantages-section,
  .page-jackpot-games__how-to-play-section,
  .page-jackpot-games__tips-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__faq-section,
  .page-jackpot-games__cta-section {
    padding: 50px 0;
  }

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

  .page-jackpot-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-jackpot-games__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-jackpot-games__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-jackpot-games__card-title {
    font-size: 1.3rem;
  }

  .page-jackpot-games__card-text {
    font-size: 0.95rem;
  }

  .page-jackpot-games__list-item {
    padding: 20px;
  }

  .page-jackpot-games__list-title {
    font-size: 1.2rem;
  }

  .page-jackpot-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-jackpot-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Images responsive */
  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-jackpot-games__section,
  .page-jackpot-games__card,
  .page-jackpot-games__container,
  .page-jackpot-games__hero-section,
  .page-jackpot-games__intro-section,
  .page-jackpot-games__advantages-section,
  .page-jackpot-games__how-to-play-section,
  .page-jackpot-games__tips-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__faq-section,
  .page-jackpot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}