/* style/jackpot-slots.css */

/* Base styles and layout */
.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-jackpot-slots__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.2;
  color: #26A9E0;
}

.page-jackpot-slots__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-jackpot-slots__text-white {
  color: #FFFFFF;
}

.page-jackpot-slots__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-jackpot-slots__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-jackpot-slots__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-jackpot-slots__hero-content {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  background-color: #FFFFFF; /* Ensure contrast */
  color: #333333;
}

.page-jackpot-slots__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #26A9E0;
}

.page-jackpot-slots__subtitle {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 30px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  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-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-jackpot-slots__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-jackpot-slots__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-jackpot-slots__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

/* About Section */
.page-jackpot-slots__about-section {
  padding: 60px 0;
  text-align: center;
}

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

/* Games Section */
.page-jackpot-slots__games-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-jackpot-slots__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-slots__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-jackpot-slots__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-jackpot-slots__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-jackpot-slots__card-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-jackpot-slots__view-all-button {
  margin-top: 40px;
  text-align: center;
}

/* Advantages Section */
.page-jackpot-slots__advantages-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-jackpot-slots__list-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-jackpot-slots__list-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-jackpot-slots__promotions-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-jackpot-slots__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-jackpot-slots__promo-card .page-jackpot-slots__card-image {
  height: 180px;
}

/* Guide Section */
.page-jackpot-slots__guide-section {
  padding: 60px 0;
  text-align: center;
}

.page-jackpot-slots__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: guide-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-jackpot-slots__guide-list .page-jackpot-slots__list-item {
  position: relative;
  background-color: #F8F8F8;
  padding: 30px;
  padding-top: 60px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-jackpot-slots__guide-list .page-jackpot-slots__list-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  top: 15px;
  left: 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
}

/* Responsible Gaming Section */
.page-jackpot-slots__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

/* FAQ Section */
.page-jackpot-slots__faq-section {
  padding: 60px 0;
}

.page-jackpot-slots__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #EBF7FF;
  border-bottom: 1px solid #DDF0FF;
  user-select: none;
  list-style: none; /* For details summary */
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-question {
  border-bottom: 1px solid #DDF0FF;
}

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

.page-jackpot-slots__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
  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: 20px;
  padding-top: 0;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

/* Final CTA */
.page-jackpot-slots__cta-final {
  padding: 80px 0;
  text-align: center;
}

/* Image styles */
.page-jackpot-slots img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-jackpot-slots__main-title {
    font-size: clamp(30px, 4vw, 50px);
  }

  .page-jackpot-slots__subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
  }

  .page-jackpot-slots__section-title {
    font-size: clamp(26px, 3vw, 40px);
  }

  .page-jackpot-slots__games-grid,
  .page-jackpot-slots__advantages-list,
  .page-jackpot-slots__promo-grid,
  .page-jackpot-slots__guide-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

  .page-jackpot-slots__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-jackpot-slots__hero-content {
    padding: 30px 0;
  }

  .page-jackpot-slots__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 10px;
  }

  .page-jackpot-slots__subtitle {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 20px;
  }

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

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary,
  .page-jackpot-slots a[class*="button"],
  .page-jackpot-slots 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-jackpot-slots__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-jackpot-slots__text-block {
    font-size: 15px;
  }

  .page-jackpot-slots__games-section,
  .page-jackpot-slots__about-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__guide-section,
  .page-jackpot-slots__responsible-gaming-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__cta-final {
    padding: 40px 0;
  }

  .page-jackpot-slots__games-grid,
  .page-jackpot-slots__advantages-list,
  .page-jackpot-slots__promo-grid,
  .page-jackpot-slots__guide-list {
    gap: 20px;
  }

  .page-jackpot-slots__image-content,
  .page-jackpot-slots__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-jackpot-slots__video-section,
  .page-jackpot-slots__video-container,
  .page-jackpot-slots__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-jackpot-slots__faq-answer {
    font-size: 15px;
    padding: 15px;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots__hero-section {
    padding-bottom: 30px;
  }

  .page-jackpot-slots__main-title {
    font-size: clamp(26px, 9vw, 36px);
  }

  .page-jackpot-slots__subtitle {
    font-size: clamp(15px, 4.5vw, 17px);
  }

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-jackpot-slots__section-title {
    font-size: clamp(22px, 8vw, 32px);
  }

  .page-jackpot-slots__games-grid,
  .page-jackpot-slots__advantages-list,
  .page-jackpot-slots__promo-grid,
  .page-jackpot-slots__guide-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-jackpot-slots__game-card,
  .page-jackpot-slots__promo-card,
  .page-jackpot-slots__list-item {
    padding: 20px;
  }

  .page-jackpot-slots__card-title {
    font-size: 20px;
  }

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