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

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

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

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px;
  overflow: hidden;
  color: var(--page-jackpot-games-text-main);
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 10;
  padding-top: 40px;
  max-width: 800px;
  margin-top: -150px; /* Pull content up over the image a bit for visual flow */
}

.page-jackpot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-jackpot-games-gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-jackpot-games__lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-jackpot-games-text-secondary);
}

.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-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-games__btn-primary {
  background: var(--page-jackpot-games-button-gradient);
  color: var(--page-jackpot-games-text-main);
  border: none;
}

.page-jackpot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

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

.page-jackpot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: var(--page-jackpot-games-primary-color);
  color: var(--page-jackpot-games-text-main);
}

/* General Section Styling */
.page-jackpot-games__introduction-section,
.page-jackpot-games__types-section,
.page-jackpot-games__how-to-play-section,
.page-jackpot-games__strategy-section,
.page-jackpot-games__promotions-section,
.page-jackpot-games__safety-section,
.page-jackpot-games__faq-section {
  padding: 60px 0;
}

.page-jackpot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-jackpot-games-primary-color);
  text-shadow: 0 0 8px rgba(34, 199, 104, 0.3);
}

.page-jackpot-games__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.page-jackpot-games__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-jackpot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  flex: 1;
  min-width: 300px;
  color: var(--page-jackpot-games-text-secondary);
}

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

.page-jackpot-games__image-content {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-height: 200px;
}

/* Lists */
.page-jackpot-games__feature-list,
.page-jackpot-games__step-list,
.page-jackpot-games__strategy-list,
.page-jackpot-games__safety-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-jackpot-games__list-item {
  background-color: var(--page-jackpot-games-card-bg);
  border: 1px solid var(--page-jackpot-games-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-jackpot-games__faq-item {
  background-color: var(--page-jackpot-games-card-bg);
  border: 1px solid var(--page-jackpot-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-jackpot-games-text-main);
  transition: background-color 0.3s ease;
}

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

.page-jackpot-games__faq-item summary:hover {
  background-color: var(--page-jackpot-games-deep-green);
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-jackpot-games-primary-color);
  margin-left: 15px;
}

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

.page-jackpot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: var(--page-jackpot-games-text-secondary);
}

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

@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-jackpot-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-jackpot-games__hero-content {
    margin-top: -100px;
    padding-top: 20px;
  }

  .page-jackpot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-jackpot-games__lead-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-games__container,
  .page-jackpot-games__section,
  .page-jackpot-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-games__introduction-section,
  .page-jackpot-games__types-section,
  .page-jackpot-games__how-to-play-section,
  .page-jackpot-games__strategy-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__safety-section,
  .page-jackpot-games__faq-section {
    padding: 40px 0;
  }

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

  .page-jackpot-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-jackpot-games__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px;
  }

  .page-jackpot-games__feature-list,
  .page-jackpot-games__step-list,
  .page-jackpot-games__strategy-list,
  .page-jackpot-games__safety-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-jackpot-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-jackpot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }
}