.page-jackpot-games {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  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__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -100px; /* Pull content slightly over the bottom of the image for visual flow */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 100%);
  border-radius: 10px;
}

.page-jackpot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-jackpot-games__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-jackpot-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-jackpot-games__text-block {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-jackpot-games__dark-section {
  background-color: #08160F; /* Background */
  padding: 80px 0;
}

.page-jackpot-games__light-bg {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

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

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

.page-jackpot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-jackpot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-jackpot-games__btn-secondary {
  background: #11271B; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #2E7A4E; /* Border */
}

.page-jackpot-games__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-jackpot-games__btn-link {
  color: #2AD16F; /* A lighter green from gradient */
  background: none;
  border: none;
  text-decoration: underline;
  padding: 0;
}

.page-jackpot-games__btn-link:hover {
  color: #57E38D; /* Glow */
}

.page-jackpot-games__game-list,
.page-jackpot-games__promo-list,
.page-jackpot-games__strategy-list,
.page-jackpot-games__responsible-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-jackpot-games__game-item,
.page-jackpot-games__promo-item,
.page-jackpot-games__strategy-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-jackpot-games__game-thumbnail,
.page-jackpot-games__feature-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-jackpot-games__game-title,
.page-jackpot-games__promo-title,
.page-jackpot-games__feature-title,
.page-jackpot-games__strategy-title,
.page-jackpot-games__step-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-jackpot-games__game-description,
.page-jackpot-games__promo-description,
.page-jackpot-games__feature-description,
.page-jackpot-games__strategy-description,
.page-jackpot-games__step-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

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

.page-jackpot-games__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-jackpot-games__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-left: 5px solid #2AD16F; /* A lighter green from gradient */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__responsible-list {
  list-style: disc;
  color: #F2FFF6; /* Text Main */
  margin: 20px 0 40px 20px;
}

.page-jackpot-games__responsible-item {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-jackpot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
}

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

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

.page-jackpot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* A lighter green from gradient */
}

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

.page-jackpot-games__faq-answer {
  padding: 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.6;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-jackpot-games__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-jackpot-games__cta-bottom .page-jackpot-games__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-jackpot-games__cta-bottom .page-jackpot-games__text-block {
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-content {
    margin-top: -80px;
  }
}

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

  .page-jackpot-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-jackpot-games__main-title {
    font-size: 2.5em; /* Adjusted for smaller screens */
  }

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

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

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

  .page-jackpot-games__dark-section,
  .page-jackpot-games__light-bg,
  .page-jackpot-games__cta-bottom {
    padding: 50px 0;
  }

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

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

  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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

  .page-jackpot-games__faq-answer {
    padding: 15px;
  }
  
  .page-jackpot-games__game-item,
  .page-jackpot-games__promo-item,
  .page-jackpot-games__strategy-item,
  .page-jackpot-games__feature-card,
  .page-jackpot-games__step-item {
    padding: 20px;
  }
}