/* style/jackpot-games.css */

:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-jackpot-games {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-jackpot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-jackpot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-jackpot-games__text-block strong {
  color: var(--text-main-color);
}

.page-jackpot-games a {
  color: var(--glow-color);
  text-decoration: none;
}

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

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-jackpot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-jackpot-games__description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

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

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-jackpot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-jackpot-games__btn-secondary {
  background: var(--card-bg-color);
  color: var(--glow-color);
  border: 2px solid var(--border-color);
}

.page-jackpot-games__btn-secondary:hover {
  background: var(--deep-green-color);
  color: var(--text-main-color);
  border-color: var(--glow-color);
}

/* Introduction Section */
.page-jackpot-games__introduction-section {
  padding: 60px 0;
  background-color: var(--page-bg-color);
}

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

.page-jackpot-games__dark-section {
  background-color: var(--deep-green-color);
}

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

.page-jackpot-games__feature-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-jackpot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-jackpot-games__feature-title {
  font-size: 1.6em;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-games__feature-description {
  color: var(--text-secondary-color);
  font-size: 1em;
  line-height: 1.7;
}

/* Games Showcase Section */
.page-jackpot-games__games-showcase {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

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

.page-jackpot-games__game-card {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

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

.page-jackpot-games__game-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-jackpot-games__game-description {
  color: var(--text-secondary-color);
  font-size: 0.95em;
  line-height: 1.6;
}

/* How To Play Section */
.page-jackpot-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

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

.page-jackpot-games__list-item {
  background-color: var(--card-bg-color);
  margin-bottom: 25px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-jackpot-games__list-title {
  font-size: 1.4em;
  color: var(--text-main-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-jackpot-games__list-description {
  color: var(--text-secondary-color);
  font-size: 1em;
  line-height: 1.7;
}

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

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

.page-jackpot-games__tips-list .page-jackpot-games__list-item {
  background-color: var(--card-bg-color);
  margin-bottom: 20px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-jackpot-games__tips-list .page-jackpot-games__list-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 8px;
}

.page-jackpot-games__tips-list .page-jackpot-games__list-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
}

/* Promotions Section */
.page-jackpot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

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

.page-jackpot-games__promo-card {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-jackpot-games__promo-title {
  font-size: 1.5em;
  color: var(--text-main-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-jackpot-games__promo-description {
  color: var(--text-secondary-color);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Features Overview Section */
.page-jackpot-games__features-overview-section {
  padding: 80px 0;
}

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

.page-jackpot-games__features-overview-section .page-jackpot-games__list-item {
  background-color: var(--card-bg-color);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-secondary-color);
}

.page-jackpot-games__features-overview-section .page-jackpot-games__list-item strong {
  color: var(--gold-color);
}

/* FAQ Section */
.page-jackpot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

.page-jackpot-games__faq-list {
  margin-top: 40px;
}

.page-jackpot-games__faq-item {
  background-color: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid transparent; /* default */
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-question {
  border-bottom-color: var(--divider-color);
}

.page-jackpot-games__faq-qtext {
  flex-grow: 1;
  color: var(--text-main-color);
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-jackpot-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary-color);
}

/* Hide default details marker */
.page-jackpot-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-jackpot-games__faq-item summary {
  list-style: none;
}

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

.page-jackpot-games__cta-final-section .page-jackpot-games__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.5em);
  }

  .page-jackpot-games__description {
    font-size: clamp(1em, 1.8vw, 1.3em);
  }

  .page-jackpot-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

  .page-jackpot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-jackpot-games__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

  .page-jackpot-games__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-jackpot-games__hero-image,
  .page-jackpot-games__feature-icon,
  .page-jackpot-games__game-image,
  .page-jackpot-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-games__introduction-section,
  .page-jackpot-games__features-section,
  .page-jackpot-games__games-showcase,
  .page-jackpot-games__how-to-play-section,
  .page-jackpot-games__tips-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__features-overview-section,
  .page-jackpot-games__faq-section,
  .page-jackpot-games__cta-final-section {
    padding: 40px 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-jackpot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-jackpot-games__features-grid,
  .page-jackpot-games__game-cards-grid,
  .page-jackpot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-jackpot-games__feature-card,
  .page-jackpot-games__game-card,
  .page-jackpot-games__promo-card,
  .page-jackpot-games__list-item,
  .page-jackpot-games__faq-item {
    padding: 20px;
  }

  .page-jackpot-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-jackpot-games__main-title {
    font-size: 2.2em;
  }

  .page-jackpot-games__description {
    font-size: 1em;
  }

  .page-jackpot-games__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-jackpot-games__faq-answer {
    padding: 15px 20px 18px 20px;
  }
}