/* style/jackpot-slots.css */

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

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

.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(--page-jackpot-slots-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-jackpot-slots__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--page-jackpot-slots-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-slots p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--page-jackpot-slots-text-secondary);
}

.page-jackpot-slots__card {
  background-color: var(--page-jackpot-slots-card-bg);
  border: 1px solid var(--page-jackpot-slots-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-jackpot-slots-text-main);
}

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

.page-jackpot-slots__card-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--page-jackpot-slots-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-slots__btn-primary {
  background: var(--page-jackpot-slots-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-jackpot-slots-glow);
}

.page-jackpot-slots__btn-secondary {
  background-color: transparent;
  color: var(--page-jackpot-slots-primary);
  border: 2px solid var(--page-jackpot-slots-primary);
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: var(--page-jackpot-slots-primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__small-btn {
    padding: 8px 18px;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  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: 700px;
  filter: brightness(0.7);
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-top: 60px; /* Push content down slightly over image */
}

.page-jackpot-slots__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--page-jackpot-slots-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

.page-jackpot-slots__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--page-jackpot-slots-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styles */
.page-jackpot-slots__introduction-section,
.page-jackpot-slots__how-to-play-section,
.page-jackpot-slots__features-section,
.page-jackpot-slots__why-choose-us-section,
.page-jackpot-slots__guide-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__cta-bottom-section {
  padding: 80px 0;
  position: relative;
}

.page-jackpot-slots__dark-section {
  background-color: var(--page-jackpot-slots-deep-green);
}

/* Introduction Section */
.page-jackpot-slots__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-jackpot-slots__image-right {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

.page-jackpot-slots__full-width-btn {
    margin-top: 40px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

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

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

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

.page-jackpot-slots__advantage-item .page-jackpot-slots__card-title {
    color: var(--page-jackpot-slots-gold);
}

/* Guide Section */
.page-jackpot-slots__guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-jackpot-slots__image-left {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  order: -1; /* Image on left for desktop */
  object-fit: cover;
}

/* FAQ Section */
.page-jackpot-slots__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-jackpot-slots__faq-item {
  background-color: var(--page-jackpot-slots-card-bg);
  border: 1px solid var(--page-jackpot-slots-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-jackpot-slots-primary);
  cursor: pointer;
  background-color: var(--page-jackpot-slots-deep-green);
  border-bottom: 1px solid var(--page-jackpot-slots-border);
  transition: background-color 0.3s ease;
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-question {
  background-color: var(--page-jackpot-slots-primary);
  color: #ffffff;
}

.page-jackpot-slots__faq-question:hover {
  background-color: var(--page-jackpot-slots-deep-green);
  filter: brightness(1.2);
}

.page-jackpot-slots__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-toggle {
  transform: rotate(45deg);
}

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

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

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

/* CTA Bottom Section */
.page-jackpot-slots__cta-bottom-section {
  text-align: center;
  padding: 60px 0;
}

.page-jackpot-slots__cta-bottom-section .page-jackpot-slots__section-title {
    margin-bottom: 20px;
}

.page-jackpot-slots__cta-description {
  font-size: 1.15rem;
  color: var(--page-jackpot-slots-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-jackpot-slots__content-grid,
  .page-jackpot-slots__guide-content {
    grid-template-columns: 1fr;
  }

  .page-jackpot-slots__image-right,
  .page-jackpot-slots__image-left {
    order: unset; /* Reset order for mobile */
  }

  .page-jackpot-slots__hero-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots__hero-section,
  .page-jackpot-slots__introduction-section,
  .page-jackpot-slots__how-to-play-section,
  .page-jackpot-slots__features-section,
  .page-jackpot-slots__why-choose-us-section,
  .page-jackpot-slots__guide-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-jackpot-slots__sub-title {
    font-size: 1.3rem;
  }

  .page-jackpot-slots__hero-image {
    max-height: 500px;
  }

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

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

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

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

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

  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-slots__section,
  .page-jackpot-slots__card,
  .page-jackpot-slots__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-slots__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-jackpot-slots__faq-answer {
    padding: 10px 20px;
  }
  
  .page-jackpot-slots__text-block a[class*="btn"] {
      width: 100%;
      max-width: 100%;
  }

  .page-jackpot-slots__full-width-btn {
    width: 100%;
    max-width: 100%;
  }
}