/* style/jackpot-slots.css */
.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background-color);
}

.page-jackpot-slots__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, small decorative padding-top here */
  text-align: center;
  overflow: hidden;
}

.page-jackpot-slots__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-height: 600px; /* Limit height for desktop hero */
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.7); /* Deep Green background for text over image */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: calc(600px - 200px); /* Adjust based on hero image max-height to place content below */
}

.page-jackpot-slots__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px var(--glow);
}

.page-jackpot-slots__description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary,
.page-jackpot-slots__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-jackpot-slots__btn-primary {
  background: var(--button-bg);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow);
}

.page-jackpot-slots__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow);
}

.page-jackpot-slots__btn-link {
  color: var(--gold);
  text-decoration: underline;
  font-size: 1rem;
  padding: 0;
  background: none;
  border: none;
}

.page-jackpot-slots__btn-link:hover {
  color: var(--glow);
  text-decoration: none;
}

.page-jackpot-slots__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

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

.page-jackpot-slots__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.page-jackpot-slots__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-jackpot-slots__introduction-section,
.page-jackpot-slots__features-section,
.page-jackpot-slots__how-to-play-section,
.page-jackpot-slots__promotions-section,
.page-jackpot-slots__why-choose-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__final-cta-section {
  padding: 80px 0;
}

.page-jackpot-slots__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-slots__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow);
}

.page-jackpot-slots__card-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

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

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

.page-jackpot-slots__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%; /* Ensure cards have equal height */
}

.page-jackpot-slots__step-title {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-slots__step-text {
  flex-grow: 1; /* Allow text to take available space */
  margin-bottom: 20px;
}

.page-jackpot-slots__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-jackpot-slots__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-jackpot-slots__promotion-item {
  text-align: left;
}

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

.page-jackpot-slots__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-question {
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.page-jackpot-slots__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold);
}

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

.page-jackpot-slots__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-jackpot-slots__final-cta-section {
  text-align: center;
  padding-bottom: 100px;
}

/* Color Contrast Specifics */
:root {
  --background-color: #08160F; /* Dark Green */
  --card-bg: #11271B; /* Darker Green */
  --text-main: #F2FFF6; /* Light Greenish White */
  --text-secondary: #A7D9B8; /* Light Green */
  --button-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure all text elements have appropriate contrast */
.page-jackpot-slots h1, .page-jackpot-slots h2, .page-jackpot-slots h3, .page-jackpot-slots h4, .page-jackpot-slots h5, .page-jackpot-slots h6 {
  color: var(--text-main);
}

.page-jackpot-slots p, .page-jackpot-slots li {
  color: var(--text-secondary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-jackpot-slots__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-jackpot-slots__hero-image {
    max-height: 400px; /* Adjust hero image height for mobile */
  }

  .page-jackpot-slots__hero-content {
    padding: 20px;
    margin-top: calc(400px - 100px); /* Adjust based on new hero image height */
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 15px;
    margin-right: 15px;
  }

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

  .page-jackpot-slots__description {
    font-size: 1rem;
  }

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

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary,
  .page-jackpot-slots__btn-link {
    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-slots__introduction-section,
  .page-jackpot-slots__features-section,
  .page-jackpot-slots__how-to-play-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__why-choose-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__final-cta-section {
    padding: 40px 0;
  }

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

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

  .page-jackpot-slots__features-grid,
  .page-jackpot-slots__why-choose-grid,
  .page-jackpot-slots__steps-grid,
  .page-jackpot-slots__promotion-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-jackpot-slots__feature-image,
  .page-jackpot-slots__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all content containers are responsive */
  .page-jackpot-slots__section,
  .page-jackpot-slots__card,
  .page-jackpot-slots__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-slots__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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