/* style/jackpot-games.css */

/* Base Styles & Color Contrast */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is #000000, so text is light */
  background-color: #000000; /* Ensure main content area respects body background */
}

.page-jackpot-games__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-jackpot-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast sections */
  color: #ffffff;
}

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

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

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px;
  text-align: center;
  overflow: hidden;
}

.page-jackpot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-jackpot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-jackpot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
  /* clamp() for responsive font size, but avoiding fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.page-jackpot-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-jackpot-games__cta-buttons,
.page-jackpot-games__final-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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: #1e87b9;
  border-color: #1e87b9;
}

.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;
}

.page-jackpot-games__btn-large {
  padding: 16px 35px;
  font-size: 1.15rem;
}

/* Content Area */
.page-jackpot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  background-color: #1a1a1a; /* Lighter dark background for content */
  color: #ffffff;
}

.page-jackpot-games__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  padding-top: 20px;
}

.page-jackpot-games__sub-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-jackpot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #f0f0f0;
}

/* Feature Grid */
.page-jackpot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-jackpot-games__feature-item {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

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

.page-jackpot-games__feature-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-jackpot-games__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Lists */
.page-jackpot-games__advantages-list,
.page-jackpot-games__promotions-list,
.page-jackpot-games__tips-list,
.page-jackpot-games__how-to-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-jackpot-games__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-jackpot-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-jackpot-games__how-to-list .page-jackpot-games__list-item::before {
  content: counter(list-item);
  counter-increment: list-item;
  background-color: #26A9E0;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  left: 0;
  top: 3px;
}

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

.page-jackpot-games__game-card {
  background-color: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-jackpot-games__game-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

.page-jackpot-games__game-description {
  font-size: 1rem;
  color: #f0f0f0;
  padding: 0 15px;
}

/* FAQ Section */
.page-jackpot-games__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-jackpot-games__faq-item {
  background-color: #0d0d0d;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #0d0d0d;
  border-bottom: 1px solid #333;
  user-select: none;
}

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

.page-jackpot-games__faq-question::marker {
  display: none;
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-question {
  border-bottom: 1px solid #26A9E0;
}

.page-jackpot-games__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-jackpot-games__faq-answer p {
  margin-bottom: 0;
}

/* CTA Container */
.page-jackpot-games__cta-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-jackpot-games__final-cta-buttons {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }

  .page-jackpot-games__section-title {
    font-size: 2.2rem;
  }

  .page-jackpot-games__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 500px;
  }

  .page-jackpot-games__hero-content {
    padding: 15px;
  }

  .page-jackpot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .page-jackpot-games__hero-description {
    font-size: 1rem;
  }

  .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;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-jackpot-games__cta-buttons,
  .page-jackpot-games__button-group,
  .page-jackpot-games__btn-container,
  .page-jackpot-games__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }

  .page-jackpot-games__content-area {
    padding: 40px 15px;
  }

  .page-jackpot-games__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-jackpot-games__sub-title {
    font-size: 1.4rem;
  }

  .page-jackpot-games__text-block,
  .page-jackpot-games__list-item,
  .page-jackpot-games__feature-description,
  .page-jackpot-games__game-description,
  .page-jackpot-games__faq-answer {
    font-size: 1rem;
  }

  .page-jackpot-games__feature-grid,
  .page-jackpot-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-jackpot-games__feature-item,
  .page-jackpot-games__game-card {
    padding: 20px;
  }

  .page-jackpot-games__game-image {
    height: 180px;
  }

  .page-jackpot-games__faq-question {
    font-size: 1.05rem;
    padding: 15px;
  }

  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-games__section,
  .page-jackpot-games__card,
  .page-jackpot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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