/* style/slot-jackpot-games.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-slot-jackpot-games {
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Body background is handled by shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-jackpot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-jackpot-games__dark-section {
  background-color: #11271B; /* Card BG, dark green */
}

.page-slot-jackpot-games__section-title {
  font-size: 2.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-jackpot-games__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-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 */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-jackpot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-slot-jackpot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 900px;
  z-index: 1;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

.page-slot-jackpot-games__hero-title {
  color: #F2FFF6; /* Text Main */
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

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

.page-slot-jackpot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-slot-jackpot-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from gradient */
  border: 2px solid #2AD16F;
}

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

/* Feature Grid */
.page-slot-jackpot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-jackpot-games__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-jackpot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid #2E7A4E; /* Border */
  padding: 10px;
  box-sizing: border-box;
}

.page-slot-jackpot-games__feature-heading {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-jackpot-games__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Game Grid / Cards */
.page-slot-jackpot-games__game-grid,
.page-slot-jackpot-games__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-slot-jackpot-games__game-image,
.page-slot-jackpot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-jackpot-games__game-title,
.page-slot-jackpot-games__promo-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-slot-jackpot-games__game-title a,
.page-slot-jackpot-games__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-jackpot-games__game-title a:hover,
.page-slot-jackpot-games__promo-title a:hover {
  color: #57E38D; /* Glow */
}

.page-slot-jackpot-games__game-text,
.page-slot-jackpot-games__promo-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-jackpot-games__game-card .page-slot-jackpot-games__btn-primary,
.page-slot-jackpot-games__promo-card .page-slot-jackpot-games__btn-secondary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

/* Jackpot Info */
.page-slot-jackpot-games__jackpot-showcase {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-slot-jackpot-games__jackpot-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Provider Logos */
.page-slot-jackpot-games__provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-jackpot-games__provider-logo {
  width: 180px;
  height: 90px;
  object-fit: contain;
  filter: grayscale(100%) brightness(150%); /* Make logos grayscale and brighter for dark background */
  transition: filter 0.3s ease;
}

.page-slot-jackpot-games__provider-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

/* How-to-Play Steps */
.page-slot-jackpot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-jackpot-games__step-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  counter-increment: step-counter;
  position: relative;
}

.page-slot-jackpot-games__step-item::before {
  content: "0" counter(step-counter);
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 3rem;
  font-weight: bold;
  color: #0A4B2C; /* Deep Green */
  opacity: 0.3;
}

.page-slot-jackpot-games__step-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding-left: 60px;
}

.page-slot-jackpot-games__step-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding-left: 60px;
}

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

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

.page-slot-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
}

.page-slot-jackpot-games__faq-item[open] .page-slot-jackpot-games__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

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

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

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

.page-slot-jackpot-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* Final CTA */
.page-slot-jackpot-games__cta-final {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

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

.page-slot-jackpot-games__cta-final .page-slot-jackpot-games__section-description {
  color: #A7D9B8;
  margin-bottom: 50px;
}

/* Image and Video Responsive Adaptations */
.page-slot-jackpot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-jackpot-games video,
.page-slot-jackpot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-jackpot-games__video-section,
.page-slot-jackpot-games__video-container,
.page-slot-jackpot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-jackpot-games__container {
    padding: 0 15px !important;
  }

  .page-slot-jackpot-games__section {
    padding: 40px 0;
  }

  .page-slot-jackpot-games__section-title {
    font-size: 2rem;
  }

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

  .page-slot-jackpot-games__hero-content {
    width: 95%;
    padding: 15px;
  }

  .page-slot-jackpot-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

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

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

  .page-slot-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-slot-jackpot-games__video-section,
  .page-slot-jackpot-games__video-container,
  .page-slot-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-slot-jackpot-games__jackpot-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-jackpot-games__provider-logo {
    width: 120px;
    height: 60px;
  }

  .page-slot-jackpot-games__step-title,
  .page-slot-jackpot-games__step-text {
    padding-left: 40px;
  }

  .page-slot-jackpot-games__step-item::before {
    font-size: 2.5rem;
    top: 10px;
    left: 10px;
  }

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

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