/* style/jackpot-games.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  line-height: 1.6;
}

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

.page-jackpot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-jackpot-games__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__link {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Color contrast classes based on body background: #0a0a0a (dark) */
.page-jackpot-games__dark-bg {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
  padding: 60px 0;
}

.page-jackpot-games__light-bg {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 60px 0;
}

/* Hero Section */
.page-jackpot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for visual */
  min-height: 70vh;
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

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

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-jackpot-games__main-title {
  font-size: clamp(32px, 5vw, 55px);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-jackpot-games__description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-jackpot-games__btn-primary:hover {
  background-color: #1a8cc2;
  transform: translateY(-2px);
}

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

.page-jackpot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-jackpot-games__introduction-section .page-jackpot-games__text-block {
  text-align: left;
  max-width: 1000px;
}

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

.page-jackpot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-jackpot-games__card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-jackpot-games__card-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-jackpot-games__game-card .page-jackpot-games__btn-secondary {
  margin-top: auto;
  align-self: center;
}

.page-jackpot-games__button-container {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-jackpot-games__benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__benefit-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-jackpot-games__benefit-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-jackpot-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-jackpot-games__step-title {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-jackpot-games__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-jackpot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.page-jackpot-games__promo-card .page-jackpot-games__card-title {
  color: #ffffff;
}

.page-jackpot-games__promo-card .page-jackpot-games__card-description {
  flex-grow: 1;
}

.page-jackpot-games__promo-card .page-jackpot-games__btn-secondary {
  margin-top: auto;
  align-self: center;
}

/* FAQ Section */
.page-jackpot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-jackpot-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-jackpot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-jackpot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-jackpot-games__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-jackpot-games__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

/* Call to Action Section */
.page-jackpot-games__call-to-action {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }
  .page-jackpot-games__description {
    font-size: 18px;
  }
  .page-jackpot-games__game-grid, .page-jackpot-games__benefit-list, .page-jackpot-games__guide-steps, .page-jackpot-games__promo-cards {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-jackpot-games__container {
    padding: 0 15px !important;
  }
  .page-jackpot-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-jackpot-games__hero-content {
    padding: 0 15px;
  }
  .page-jackpot-games__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-jackpot-games__description {
    font-size: 16px;
  }
  .page-jackpot-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 30px;
  }
  .page-jackpot-games__text-block {
    font-size: 16px;
    text-align: left;
  }
  
  /* Images responsive */
  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers responsive */
  .page-jackpot-games__hero-image-wrapper,
  .page-jackpot-games__introduction-section,
  .page-jackpot-games__games-section,
  .page-jackpot-games__benefits-section,
  .page-jackpot-games__guide-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__faq-section,
  .page-jackpot-games__call-to-action,
  .page-jackpot-games__game-card,
  .page-jackpot-games__benefit-item,
  .page-jackpot-games__step-item,
  .page-jackpot-games__promo-card,
  .page-jackpot-games__faq-item,
  .page-jackpot-games__button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Buttons responsive */
  .page-jackpot-games__cta-button,
  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games a[class*="button"],
  .page-jackpot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-games__hero-content .page-jackpot-games__cta-button {
    margin: 10px auto !important;
  }

  .page-jackpot-games__button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-jackpot-games__game-grid,
  .page-jackpot-games__benefit-list,
  .page-jackpot-games__guide-steps,
  .page-jackpot-games__promo-cards {
    grid-template-columns: 1fr;
  }

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

  .page-jackpot-games__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }
}