/* style/jackpot-games.css */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-jackpot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-jackpot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.page-jackpot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-jackpot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-jackpot-games__section {
  padding: 60px 0;
}

.page-jackpot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-jackpot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-jackpot-games__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-jackpot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
}

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

.page-jackpot-games__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-jackpot-games__image-wrapper {
  margin: 40px auto;
  text-align: center;
}

.page-jackpot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Card Styles */
.page-jackpot-games__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-jackpot-games__card {
  background: #ffffff; /* White background for cards on light section */
  color: #333333; /* Dark text for white background */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-jackpot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for titles */
  font-weight: bold;
}

.page-jackpot-games__card-text {
  font-size: 1em;
  color: #555555;
}

/* Steps Container */
.page-jackpot-games__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-jackpot-games__step-card {
  background: rgba(255, 255, 255, 0.1); /* Light background for cards on dark section */
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-jackpot-games__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-jackpot-games__step-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-jackpot-games__mobile-section {
  margin-top: 60px;
}

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

.page-jackpot-games__promotion-card {
  background: rgba(255, 255, 255, 0.1); /* Light background for cards on dark section */
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-jackpot-games__promotion-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: bold;
}

.page-jackpot-games__promotion-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-jackpot-games__cta-section {
  text-align: center;
  padding: 80px 0;
  background: #017439; /* Brand primary color for CTA section */
  color: #ffffff;
}

.page-jackpot-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-jackpot-games__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-jackpot-games__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

.page-jackpot-games__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

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

.page-jackpot-games__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-jackpot-games__btn-register:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-jackpot-games__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* FAQ Styles */
.page-jackpot-games__faq-container {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Light background for FAQ items on dark section */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-jackpot-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.page-jackpot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-jackpot-games__faq-qtext {
  flex-grow: 1;
}

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

.page-jackpot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* Background color specific text colors */
.page-jackpot-games__dark-bg .page-jackpot-games__section-title,
.page-jackpot-games__dark-bg .page-jackpot-games__subsection-title,
.page-jackpot-games__dark-bg .page-jackpot-games__paragraph,
.page-jackpot-games__dark-bg .page-jackpot-games__list-item {
  color: #ffffff;
}

.page-jackpot-games__light-bg .page-jackpot-games__section-title,
.page-jackpot-games__light-bg .page-jackpot-games__subsection-title,
.page-jackpot-games__light-bg .page-jackpot-games__paragraph,
.page-jackpot-games__light-bg .page-jackpot-games__list-item {
  color: #333333;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-title {
    font-size: 2.8em;
  }
  .page-jackpot-games__section-title {
    font-size: 2em;
  }
  .page-jackpot-games__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }
  .page-jackpot-games__hero-title {
    font-size: 2.2em;
  }
  .page-jackpot-games__hero-description {
    font-size: 1em;
  }
  .page-jackpot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games__btn-register {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-jackpot-games__section {
    padding: 40px 0;
  }
  .page-jackpot-games__section-title {
    font-size: 1.8em;
  }
  .page-jackpot-games__subsection-title {
    font-size: 1.5em;
  }
  .page-jackpot-games__paragraph,
  .page-jackpot-games__list-item,
  .page-jackpot-games__card-text,
  .page-jackpot-games__step-text,
  .page-jackpot-games__promotion-text,
  .page-jackpot-games__faq-answer p {
    font-size: 0.95em;
  }
  .page-jackpot-games__image-content {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-jackpot-games__image-wrapper,
  .page-jackpot-games__grid-container,
  .page-jackpot-games__steps-container,
  .page-jackpot-games__promotion-grid,
  .page-jackpot-games__faq-container,
  .page-jackpot-games__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-jackpot-games__cta-title {
    font-size: 1.8em;
  }
  .page-jackpot-games__cta-description {
    font-size: 1em;
  }
  .page-jackpot-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-jackpot-games__faq-answer {
    padding: 10px 20px 15px;
  }
}