/* style/jackpot-games.css */

.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

/* Hero Section */
.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f0f8ff; /* Light background for hero section */
}

.page-jackpot-games__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-jackpot-games__hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
  color: #26A9E0; /* Brand color */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-jackpot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Important for mobile responsiveness */
  max-width: 100%; /* Important for mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-jackpot-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #d66f06;
  border-color: #d66f06;
}

.page-jackpot-games__btn-secondary {
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-jackpot-games__btn-secondary:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

/* General Content Sections */
.page-jackpot-games__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.page-jackpot-games__section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.page-jackpot-games__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-jackpot-games__section h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-games__section p,
.page-jackpot-games__section li {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 15px;
}

.page-jackpot-games__section ol,
.page-jackpot-games__section ul {
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-jackpot-games__section-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

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

.page-jackpot-games__cta-single {
  text-align: center;
  margin-top: 30px;
}

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

.page-jackpot-games__game-type-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__game-type-card h3 {
  color: #26A9E0;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-jackpot-games__game-type-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-jackpot-games__promotion-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__promotion-card h3 {
  color: #26A9E0;
  margin-top: 15px;
  margin-bottom: 10px;
}

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

/* FAQ Section Specific */
.page-jackpot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-jackpot-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
  list-style: none; /* Remove default marker */
}

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

.page-jackpot-games__faq-question {
  flex-grow: 1;
  color: #26A9E0;
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
}

.page-jackpot-games__faq-answer {
  padding: 0 25px 18px;
  color: #555555;
  line-height: 1.6;
}

/* Call to Action Section */
.page-jackpot-games__cta-section {
  text-align: center;
  background-color: #26A9E0; /* Brand main color */
  color: #FFFFFF;
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 1200px;
  margin: 40px auto;
  box-sizing: border-box;
}

.page-jackpot-games__cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-jackpot-games__cta-section h2::after {
  background-color: #FFFFFF;
}

.page-jackpot-games__cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Universal image, video, button responsiveness */
  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-games video,
  .page-jackpot-games__video {
    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,
  .page-jackpot-games__hero-section,
  .page-jackpot-games__cta-section,
  .page-jackpot-games__video-section,
  .page-jackpot-games__video-container,
  .page-jackpot-games__video-wrapper,
  .page-jackpot-games__cta-buttons,
  .page-jackpot-games__button-group,
  .page-jackpot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow for containers */
  }

  .page-jackpot-games__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Small top padding for hero on mobile */
  }

  .page-jackpot-games__hero-content h1 {
    font-size: 2rem;
  }

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

  .page-jackpot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .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: 12px 20px !important;
  }

  .page-jackpot-games__section {
    padding: 30px 15px;
    margin: 30px auto;
  }

  .page-jackpot-games__section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-jackpot-games__section h3 {
    font-size: 1.2rem;
    margin-top: 25px;
  }

  .page-jackpot-games__game-types-grid,
  .page-jackpot-games__promotion-card-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-jackpot-games__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-jackpot-games__cta-section {
    padding: 40px 15px;
    margin: 30px auto;
  }
}