.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background */
  background: #08160F; /* Overall page background */
}

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

.page-jackpot-slots__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header-offset, this is for visual spacing */
  background: #08160F;
}

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

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

.page-jackpot-slots__hero-content {
  max-width: 800px;
  padding: 40px 20px;
}

.page-jackpot-slots__main-title {
  color: #F2FFF6;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-jackpot-slots__hero-description {
  color: #A7D9B8;
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

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

.page-jackpot-slots__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-jackpot-slots__btn-secondary:hover {
  background: #2E7A4E;
  color: #ffffff;
}

.page-jackpot-slots__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-jackpot-slots__section-title {
  color: #F2FFF6;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-jackpot-slots__text-block {
  color: #A7D9B8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-jackpot-slots__image-center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__intro-section,
.page-jackpot-slots__features-section,
.page-jackpot-slots__how-to-play-section,
.page-jackpot-slots__popular-games-section,
.page-jackpot-slots__provider-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__cta-bottom {
  padding: 60px 0;
}

.page-jackpot-slots__dark-section {
  background: #08160F;
}

.page-jackpot-slots__card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #A7D9B8;
}

.page-jackpot-slots__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

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

.page-jackpot-slots__card-title {
  color: #F2FFF6;
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-slots__card-description {
  color: #A7D9B8;
  font-size: 0.95em;
  flex-grow: 1;
}

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

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

.page-jackpot-slots__providers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__provider-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2);
  transition: filter 0.3s ease;
  min-width: 200px; /* Ensure min size for provider logos */
  min-height: 100px;
}

.page-jackpot-slots__provider-logo:hover {
  filter: brightness(1) grayscale(0);
}

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

.page-jackpot-slots__faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  background: #11271B;
  border-bottom: 1px solid #2E7A4E;
  transition: background 0.3s ease;
  list-style: none;
}

.page-jackpot-slots__faq-item[open] > .page-jackpot-slots__faq-question {
  background: #0A4B2C;
}

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

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

.page-jackpot-slots__faq-question .page-jackpot-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-jackpot-slots__faq-answer {
  padding: 20px;
  background: #11271B;
  color: #A7D9B8;
}

.page-jackpot-slots__faq-answer p {
  margin-bottom: 10px;
  color: #A7D9B8;
}

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

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

  .page-jackpot-slots__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-jackpot-slots__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-jackpot-slots__text-block {
    font-size: 0.95em;
  }

  .page-jackpot-slots__intro-section,
  .page-jackpot-slots__features-section,
  .page-jackpot-slots__how-to-play-section,
  .page-jackpot-slots__popular-games-section,
  .page-jackpot-slots__provider-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__cta-bottom {
    padding: 40px 0;
  }

  .page-jackpot-slots__features-grid,
  .page-jackpot-slots__steps-grid,
  .page-jackpot-slots__game-cards-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-jackpot-slots__card-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-jackpot-slots__provider-logo {
    min-width: 150px; /* Adjust for smaller screens */
    min-height: 80px;
  }

  .page-jackpot-slots__image-center {
    max-width: 100% !important;
    height: auto !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,
  .page-jackpot-slots__hero-image-wrapper,
  .page-jackpot-slots__cta-buttons,
  .page-jackpot-slots__cta-center,
  .page-jackpot-slots__providers-grid,
  .page-jackpot-slots__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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