/* style/jackpot-games.css */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-jackpot-games__section-spacing {
  padding: 80px 0;
}

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

.page-jackpot-games__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-jackpot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, use small decorative padding-top */
  overflow: hidden;
  min-height: 700px;
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  height: 500px; /* Adjust height as needed */
  margin-bottom: 40px;
}

.page-jackpot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-jackpot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-jackpot-games__description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
}

.page-jackpot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-jackpot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

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

.page-jackpot-games__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F;
  transform: translateY(-2px);
}

/* Card Styles */
.page-jackpot-games__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-jackpot-games__card-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-jackpot-games__card-text {
  color: #A7D9B8;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-jackpot-games__card-button {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background 0.3s ease;
}

.page-jackpot-games__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

/* Strategy Section */
.page-jackpot-games__strategy-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__strategy-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__strategy-subtitle {
  font-size: 1.6em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
  text-align: left;
}

.page-jackpot-games__strategy-item .page-jackpot-games__text-block {
  text-align: left;
  font-size: 1em;
  margin-bottom: 0;
  color: #A7D9B8;
}

/* Promotions Section */
.page-jackpot-games__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

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

.page-jackpot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-jackpot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__security-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #A7D9B8;
  text-align: left;
}

.page-jackpot-games__security-item strong {
  color: #F2FFF6;
  font-size: 1.1em;
}

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

.page-jackpot-games__step-item .page-jackpot-games__step-title {
  font-size: 1.4em;
  color: #57E38D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-jackpot-games__step-item .page-jackpot-games__step-text {
  color: #A7D9B8;
  font-size: 0.95em;
  text-align: center;
}

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

.page-jackpot-games__faq-item {
  margin-bottom: 15px;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  overflow: hidden;
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1em;
  background-color: #11271B;
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  list-style: none; /* For <summary> */
}

.page-jackpot-games__faq-question::-webkit-details-marker { /* For <summary> */
  display: none;
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom-color: #2E7A4E;
}

.page-jackpot-games__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-jackpot-games__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 0.95em;
  text-align: left;
}

/* Final CTA Section */
.page-jackpot-games__cta-content {
  text-align: center;
}

.page-jackpot-games__cta-content .page-jackpot-games__section-title {
  color: #F2FFF6;
}

.page-jackpot-games__cta-content .page-jackpot-games__text-block {
  color: #A7D9B8;
  margin-bottom: 50px;
}

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

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

  .page-jackpot-games__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__section-spacing {
    padding: 60px 0;
  }

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

  .page-jackpot-games__text-block {
    font-size: 1em;
    padding: 0 10px;
  }

  /* Hero Section */
  .page-jackpot-games__hero-section {
    padding: 10px 0 40px 0;
    min-height: auto;
  }
  
  .page-jackpot-games__hero-image-wrapper {
    height: 300px;
    margin-bottom: 30px;
  }

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

  .page-jackpot-games__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  /* General Image/Video/Container Responsiveness */
  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-jackpot-games video,
  .page-jackpot-games__video {
    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-content,
  .page-jackpot-games__game-grid,
  .page-jackpot-games__promo-grid,
  .page-jackpot-games__steps-grid,
  .page-jackpot-games__faq-list,
  .page-jackpot-games__cta-buttons,
  .page-jackpot-games__security-list,
  .page-jackpot-games__strategy-content,
  .page-jackpot-games__video-section,
  .page-jackpot-games__video-container,
  .page-jackpot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-jackpot-games__hero-section {
    padding-top: 10px !important;
  }

  /* Card Styles */
  .page-jackpot-games__card {
    padding: 20px;
  }

  .page-jackpot-games__card-image {
    height: 150px;
  }

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

  .page-jackpot-games__card-text {
    font-size: 0.9em;
  }

  /* Strategy Section */
  .page-jackpot-games__strategy-item {
    padding: 20px;
  }

  .page-jackpot-games__strategy-subtitle {
    font-size: 1.4em;
  }

  /* FAQ Section */
  .page-jackpot-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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