/* style/slot-jackpots.css */
/* Main page styling based on custom palette */
.page-slot-jackpots {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-jackpots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-jackpots__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px;
  font-weight: bold;
}

.page-slot-jackpots__text-block {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 20px;
  color: #A7D9B8; /* Secondary text color */
}

.page-slot-jackpots__center-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Buttons */
.page-slot-jackpots__btn-primary,
.page-slot-jackpots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding and border are included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

.page-slot-jackpots__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-jackpots__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Primary color */
  border: 2px solid #2AD16F; /* Primary color border */
}

.page-slot-jackpots__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

.page-slot-jackpots__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-top: 30px;
}

/* Hero Section */
.page-slot-jackpots__hero-section {
  background-color: #08160F; /* Dark background for hero */
  padding-bottom: 50px; /* Space below content */
  display: flex;
  flex-direction: column; /* Stacks image and content vertically */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top spacing for the section */
}

.page-slot-jackpots__hero-image-wrapper {
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-jackpots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-jackpots__hero-content {
  text-align: center;
  padding: 40px 20px; /* Increased padding */
  z-index: 1; /* Standard z-index */
  max-width: 900px;
  background-color: #11271B; /* Card BG for content block */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 40px; /* Space below the image, no negative margin */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-jackpots__main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); /* Responsive font size */
  color: #F2C14E; /* Gold color for main titles */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-slot-jackpots__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Section */
.page-slot-jackpots__video-section {
  background-color: #11271B; /* Card BG color */
  padding: 50px 0;
  text-align: center;
  padding-top: 10px; /* Small top spacing */
}

.page-slot-jackpots__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.page-slot-jackpots__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-jackpots__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  cursor: pointer;
}

.page-slot-jackpots__video-content {
  padding: 20px;
}

/* Features Section */
.page-slot-jackpots__features-section {
  background-color: #08160F; /* Background color */
  padding: 60px 0;
}

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

.page-slot-jackpots__feature-card {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-jackpots__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-jackpots__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px; /* Slightly rounded for icons */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-jackpots__feature-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-jackpots__feature-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

/* Games Overview Section */
.page-slot-jackpots__games-overview-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

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

.page-slot-jackpots__game-type-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-jackpots__game-type-card:hover {
  transform: translateY(-5px);
}

.page-slot-jackpots__game-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-jackpots__game-type-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Main text color */
  padding: 15px 20px 5px;
  font-weight: bold;
}

.page-slot-jackpots__game-type-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  padding: 0 20px 20px;
}

/* How to Play Section */
.page-slot-jackpots__how-to-play-section {
  background-color: #08160F; /* Background color */
  padding: 60px 0;
}

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

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

.page-slot-jackpots__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #2AD16F; /* Primary color */
  color: #F2FFF6; /* Main text color */
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpots__step-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-jackpots__step-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

/* Jackpot Highlight Section */
.page-slot-jackpots__jackpot-highlight-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

.page-slot-jackpots__jackpot-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-jackpots__jackpot-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-slot-jackpots__jackpot-text .page-slot-jackpots__text-block {
  text-align: left;
}

.page-slot-jackpots__jackpot-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-jackpots__jackpot-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Promotions Section */
.page-slot-jackpots__promotions-section {
  background-color: #08160F; /* Background color */
  padding: 60px 0;
}

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

.page-slot-jackpots__promotion-item {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-jackpots__promotion-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-jackpots__promotion-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

/* Security Section */
.page-slot-jackpots__security-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

/* Mobile Section */
.page-slot-jackpots__mobile-section {
  background-color: #08160F; /* Background color */
  padding: 60px 0;
}

.page-slot-jackpots__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-jackpots__mobile-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-slot-jackpots__mobile-text .page-slot-jackpots__text-block {
  text-align: left;
}

.page-slot-jackpots__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-jackpots__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* FAQ Section */
.page-slot-jackpots__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

.page-slot-jackpots__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-slot-jackpots__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-jackpots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  cursor: pointer;
  background-color: #11271B; /* Card BG color */
  border-bottom: 1px solid #2E7A4E; /* Divider color */
}

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

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

.page-slot-jackpots__faq-qtext {
  flex-grow: 1;
}

.page-slot-jackpots__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Primary color */
}

.page-slot-jackpots__faq-item[open] .page-slot-jackpots__faq-toggle {
  content: "−";
}

.page-slot-jackpots__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-slot-jackpots__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-slot-jackpots__cta-final-section {
  background-color: #08160F; /* Background color */
  padding: 60px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-jackpots__hero-content {
    padding: 30px;
  }
  .page-slot-jackpots__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  .page-slot-jackpots__section-title {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-slot-jackpots__text-block {
    font-size: 1rem;
  }

  .page-slot-jackpots__hero-content {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    margin-top: 30px; /* Adjusted for mobile */
  }

  .page-slot-jackpots__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-slot-jackpots__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-slot-jackpots__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .page-slot-jackpots__btn-primary,
  .page-slot-jackpots__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 5px 0; /* Adjust margin for vertical stack */
  }
  
  /* Mobile image and video responsive rules */
  .page-slot-jackpots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-jackpots video,
  .page-slot-jackpots__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-jackpots__section,
  .page-slot-jackpots__card,
  .page-slot-jackpots__container,
  .page-slot-jackpots__feature-card,
  .page-slot-jackpots__game-type-card,
  .page-slot-jackpots__step-card,
  .page-slot-jackpots__promotion-item,
  .page-slot-jackpots__faq-item,
  .page-slot-jackpots__video-section,
  .page-slot-jackpots__video-container,
  .page-slot-jackpots__video-wrapper,
  .page-slot-jackpots__hero-section,
  .page-slot-jackpots__hero-image-wrapper,
  .page-slot-jackpots__hero-content,
  .page-slot-jackpots__jackpot-text,
  .page-slot-jackpots__jackpot-image-wrapper,
  .page-slot-jackpots__mobile-text,
  .page-slot-jackpots__mobile-image-wrapper,
  .page-slot-jackpots__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

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

  .page-slot-jackpots__faq-answer {
    padding: 0 15px 15px;
  }

  .page-slot-jackpots__jackpot-content,
  .page-slot-jackpots__mobile-content {
    flex-direction: column;
  }

  .page-slot-jackpots__jackpot-text,
  .page-slot-jackpots__mobile-text {
    text-align: center;
  }

  .page-slot-jackpots__jackpot-text .page-slot-jackpots__text-block,
  .page-slot-jackpots__mobile-text .page-slot-jackpots__text-block {
    text-align: center;
  }

  .page-slot-jackpots__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-slot-jackpots__step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
  }
}