/* style/jackpot-slots.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #26A9E0;
  --login-button-color: #EA7C07;
}

.page-jackpot-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Default body background is white */
}

.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles top padding, add small decorative top padding here */
  color: var(--text-light);
  overflow: hidden;
  box-sizing: border-box;
}

.page-jackpot-slots__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-jackpot-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap the image for visual flow */
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
  border-radius: 8px;
}

.page-jackpot-slots__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-jackpot-slots__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-jackpot-slots__btn-primary:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

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

.page-jackpot-slots__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

.page-jackpot-slots__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: bold;
}

.page-jackpot-slots__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__about-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-jackpot-slots__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-jackpot-slots__text-block {
  flex: 1;
  min-width: 300px;
}

.page-jackpot-slots__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-jackpot-slots__image-item {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-jackpot-slots__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-jackpot-slots__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-jackpot-slots__list li {
  margin-bottom: 10px;
}

.page-jackpot-slots__games-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-jackpot-slots__games-section .page-jackpot-slots__section-title,
.page-jackpot-slots__games-section .page-jackpot-slots__section-description {
  color: var(--text-light);
}

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

.page-jackpot-slots__game-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-jackpot-slots__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-jackpot-slots__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-jackpot-slots__card-text {
  font-size: 1em;
  padding: 0 15px;
  margin-bottom: 20px;
}

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

.page-jackpot-slots__guide-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-jackpot-slots__step-card {
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-jackpot-slots__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-jackpot-slots__step-text {
  font-size: 0.95em;
}

.page-jackpot-slots__promotions-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-jackpot-slots__promotions-section .page-jackpot-slots__section-title,
.page-jackpot-slots__promotions-section .page-jackpot-slots__section-description {
  color: var(--text-light);
}

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

.page-jackpot-slots__promo-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
}

.page-jackpot-slots__card-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-slots__card-link:hover {
  text-decoration: underline;
}

.page-jackpot-slots__tips-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

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

.page-jackpot-slots__tip-card {
  background-color: var(--background-light);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-jackpot-slots__tip-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-jackpot-slots__tip-text {
  font-size: 0.95em;
}

.page-jackpot-slots__features-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-jackpot-slots__features-section .page-jackpot-slots__section-title,
.page-jackpot-slots__features-section .page-jackpot-slots__section-description {
  color: var(--text-light);
}

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

.page-jackpot-slots__feature-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
}

.page-jackpot-slots__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-jackpot-slots__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-jackpot-slots__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: var(--secondary-color);
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-jackpot-slots__faq-question:hover {
  background-color: #f0f0f0;
}

.page-jackpot-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
}

.page-jackpot-slots__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1em;
  color: var(--text-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-toggle {
  content: '−';
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-jackpot-slots__hero-content {
    margin-top: -80px;
  }

  .page-jackpot-slots__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-jackpot-slots__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-jackpot-slots__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-jackpot-slots__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-jackpot-slots__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-jackpot-slots__subtitle {
    font-size: 1em;
  }

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

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-jackpot-slots__container {
    padding: 0 15px;
  }

  .page-jackpot-slots__section-title {
    font-size: 1.8em;
  }

  .page-jackpot-slots__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-jackpot-slots__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-jackpot-slots__image-item,
  .page-jackpot-slots__card-image,
  .page-jackpot-slots__promo-card .page-jackpot-slots__card-image,
  .page-jackpot-slots__feature-card .page-jackpot-slots__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-jackpot-slots__game-grid,
  .page-jackpot-slots__guide-steps,
  .page-jackpot-slots__promo-grid,
  .page-jackpot-slots__tips-grid,
  .page-jackpot-slots__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-jackpot-slots__section,
  .page-jackpot-slots__card,
  .page-jackpot-slots__container,
  .page-jackpot-slots__hero-section,
  .page-jackpot-slots__about-section,
  .page-jackpot-slots__games-section,
  .page-jackpot-slots__guide-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__tips-section,
  .page-jackpot-slots__features-section,
  .page-jackpot-slots__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-jackpot-slots__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

/* Contrast Fixes - Ensure readability */
.page-jackpot-slots__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-jackpot-slots__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-jackpot-slots__hero-content {
  background: rgba(0, 0, 0, 0.6); /* Ensure text on hero image is readable */
}

.page-jackpot-slots__hero-section .page-jackpot-slots__main-title,
.page-jackpot-slots__hero-section .page-jackpot-slots__subtitle {
  color: var(--secondary-color); /* White text on dark overlay */
}

.page-jackpot-slots__games-section .page-jackpot-slots__section-title,
.page-jackpot-slots__games-section .page-jackpot-slots__section-description,
.page-jackpot-slots__promotions-section .page-jackpot-slots__section-title,
.page-jackpot-slots__promotions-section .page-jackpot-slots__section-description,
.page-jackpot-slots__features-section .page-jackpot-slots__section-title,
.page-jackpot-slots__features-section .page-jackpot-slots__section-description {
  color: var(--text-light); /* White text on primary color background */
}

.page-jackpot-slots__game-card,
.page-jackpot-slots__promo-card,
.page-jackpot-slots__feature-card {
  background-color: var(--secondary-color); /* White background for cards */
  color: var(--text-dark); /* Dark text on white cards */
}

.page-jackpot-slots__btn-primary {
  background-color: var(--login-button-color);
  color: var(--secondary-color);
}

.page-jackpot-slots__btn-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}