/* style/slot-jackpot.css */

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

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

/* Headings */
.page-slot-jackpot__heading {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-jackpot__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #11A84E, #22C768); /* Main and Aux color */
  border-radius: 2px;
}

.page-slot-jackpot__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-jackpot__card-title,
.page-slot-jackpot__list-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-jackpot__paragraph,
.page-slot-jackpot__hero-description,
.page-slot-jackpot__card-description,
.page-slot-jackpot__list-description,
.page-slot-jackpot__faq-answer p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

/* Sections */
.page-slot-jackpot__section {
  padding: 60px 0;
}

.page-slot-jackpot__dark-section {
  background-color: #0A4B2C; /* Deep Green, to provide visual break from body bg */
}

/* Hero Section */
.page-slot-jackpot__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  padding-bottom: 60px; /* Add padding below content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #08160F; /* Match body bg for seamless transition */
}

.page-slot-jackpot__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-slot-jackpot__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content slightly over image for visual appeal, but not overlapping text */
}

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

/* Buttons */
.page-slot-jackpot__btn-primary,
.page-slot-jackpot__btn-secondary,
.page-slot-jackpot__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-slot-jackpot__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-jackpot__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Main color for text */
  border: 2px solid #2AD16F; /* Main color for border */
}

.page-slot-jackpot__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
}

.page-slot-jackpot__btn-link {
  background: transparent;
  color: #57E38D; /* Glow color */
  border: 1px solid #2E7A4E; /* Border color */
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-slot-jackpot__btn-link:hover {
  background-color: #2E7A4E; /* Border color */
  color: #F2FFF6;
}

.page-slot-jackpot__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-slot-jackpot__game-card,
.page-slot-jackpot__feature-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease;
}

.page-slot-jackpot__game-card:hover,
.page-slot-jackpot__feature-item:hover {
  transform: translateY(-5px);
}

.page-slot-jackpot__game-image,
.page-slot-jackpot__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

/* Guide Steps */
.page-slot-jackpot__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-jackpot__guide-step {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-jackpot__guide-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Tips List */
.page-slot-jackpot__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-jackpot__list-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

/* FAQ */
.page-slot-jackpot__faq-list {
  margin-top: 40px;
}

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

.page-slot-jackpot__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-slot-jackpot__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-jackpot__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-slot-jackpot__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-slot-jackpot__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Conclusion Section */
.page-slot-jackpot__conclusion {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-jackpot__hero-title {
    font-size: 2.2em;
  }
  .page-slot-jackpot__heading {
    font-size: 2em;
  }
  .page-slot-jackpot__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-jackpot__btn-primary,
  .page-slot-jackpot__btn-secondary {
    width: 80%;
  }
}

@media (max-width: 768px) {
  /* Mobile specific overrides with !important */
  .page-slot-jackpot {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-jackpot__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-jackpot__hero-image-wrapper {
    max-height: 400px;
  }

  .page-slot-jackpot__hero-content {
    margin-top: -60px;
  }

  .page-slot-jackpot__hero-title {
    font-size: 1.8em;
    max-width: 90%;
  }

  .page-slot-jackpot__hero-description {
    font-size: 0.95em;
  }

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

  .page-slot-jackpot__heading {
    font-size: 1.7em;
    margin-bottom: 30px;
  }

  /* Images responsive */
  .page-slot-jackpot img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers holding images or content */
  .page-slot-jackpot__section,
  .page-slot-jackpot__container,
  .page-slot-jackpot__game-card,
  .page-slot-jackpot__feature-item,
  .page-slot-jackpot__guide-step,
  .page-slot-jackpot__list-item,
  .page-slot-jackpot__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Buttons responsive */
  .page-slot-jackpot__cta-button,
  .page-slot-jackpot__btn-primary,
  .page-slot-jackpot__btn-secondary,
  .page-slot-jackpot a[class*="button"],
  .page-slot-jackpot a[class*="btn"] {
    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-slot-jackpot__cta-buttons,
  .page-slot-jackpot__button-group,
  .page-slot-jackpot__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important; /* Stack buttons vertically */
  }

  .page-slot-jackpot__btn-link {
    width: 100% !important;
    margin-top: 10px;
  }

  .page-slot-jackpot__grid,
  .page-slot-jackpot__features-grid,
  .page-slot-jackpot__guide-steps {
    grid-template-columns: 1fr; /* Single column layout for mobile */
    gap: 20px;
  }

  .page-slot-jackpot__game-card,
  .page-slot-jackpot__feature-item,
  .page-slot-jackpot__guide-step,
  .page-slot-jackpot__list-item,
  .page-slot-jackpot__faq-item {
    padding: 20px;
  }

  .page-slot-jackpot__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

@media (max-width: 480px) {
  .page-slot-jackpot__hero-title {
    font-size: 1.5em;
  }
  .page-slot-jackpot__heading {
    font-size: 1.5em;
  }
  .page-slot-jackpot__btn-primary,
  .page-slot-jackpot__btn-secondary {
    padding: 12px 20px;
  }
}