/* 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: #0a0a0a; /* Consistent with body background */
}

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

.page-jackpot-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  color: #f0f0f0;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-games__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

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

.page-jackpot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  box-sizing: border-box;
}

.page-jackpot-games__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  background-size: cover;
  cursor: pointer; /* Indicate clickable */
}

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

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-jackpot-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-jackpot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__hero-buttons .page-jackpot-games__btn-primary,
.page-jackpot-games__hero-buttons .page-jackpot-games__btn-secondary {
  margin: 0 15px;
  font-size: 1.1em;
  min-width: 200px;
}

.page-jackpot-games__intro-section {
  padding: 80px 0;
}

.page-jackpot-games__dark-bg {
  background-color: #1a1a1a;
}

.page-jackpot-games__intro-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-jackpot-games__intro-text {
  flex: 1;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-jackpot-games__intro-text p {
  margin-bottom: 20px;
}

.page-jackpot-games__intro-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-jackpot-games__intro-image {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-jackpot-games__features-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-jackpot-games__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-jackpot-games__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-jackpot-games__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-jackpot-games__game-types-section {
  padding: 80px 0;
}

.page-jackpot-games__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-jackpot-games__game-type-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-jackpot-games__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-jackpot-games__game-type-card h3,
.page-jackpot-games__game-type-card p {
  padding: 0 20px;
}

.page-jackpot-games__game-type-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-jackpot-games__game-type-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-jackpot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-jackpot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-jackpot-games__step-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-jackpot-games__step-number {
  font-size: 2.5em;
  color: #8B0000;
  font-weight: bold;
  margin-bottom: 15px;
  background: #FFD700;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto 20px;
}

.page-jackpot-games__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-jackpot-games__step-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-jackpot-games__strategies-section {
  padding: 80px 0;
}

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

.page-jackpot-games__strategy-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-jackpot-games__strategy-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-jackpot-games__strategy-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-jackpot-games__promotions-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-jackpot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-jackpot-games__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-jackpot-games__promo-card h3,
.page-jackpot-games__promo-card p,
.page-jackpot-games__promo-card a {
  padding: 0 20px;
}

.page-jackpot-games__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-jackpot-games__promo-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-jackpot-games__promo-card .page-jackpot-games__btn-secondary {
  display: block;
  margin: 0 20px 20px;
}

.page-jackpot-games__security-section {
  padding: 80px 0;
}

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

.page-jackpot-games__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-jackpot-games__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games__security-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-jackpot-games__security-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-jackpot-games__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-jackpot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-jackpot-games__faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 215, 0, 0.1);
  cursor: pointer;
  font-size: 1.2em;
  color: #FFD700;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-jackpot-games__faq-question:hover {
  background: rgba(255, 215, 0, 0.2);
}

.page-jackpot-games__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-jackpot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-jackpot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  font-size: 1em;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

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

.page-jackpot-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-jackpot-games__cta-content {
  background: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #FFD700;
}

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

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

.page-jackpot-games__cta-buttons .page-jackpot-games__btn-primary,
.page-jackpot-games__cta-buttons .page-jackpot-games__btn-secondary {
  margin: 0 15px;
  font-size: 1.1em;
  min-width: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-title {
    font-size: 3em;
  }
  .page-jackpot-games__hero-description {
    font-size: 1.2em;
  }
  .page-jackpot-games__section-title {
    font-size: 2em;
  }
  .page-jackpot-games__intro-grid {
    flex-direction: column;
  }
  .page-jackpot-games__intro-text, .page-jackpot-games__intro-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-jackpot-games__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-jackpot-games__hero-title {
    font-size: 2.2em;
  }
  .page-jackpot-games__hero-description {
    font-size: 1em;
  }
  .page-jackpot-games__hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-jackpot-games__hero-buttons .page-jackpot-games__btn-primary,
  .page-jackpot-games__hero-buttons .page-jackpot-games__btn-secondary {
    margin: 0;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-jackpot-games__container {
    padding: 0 15px;
  }
  .page-jackpot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-jackpot-games__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-jackpot-games__features-grid,
  .page-jackpot-games__game-types-grid,
  .page-jackpot-games__steps-grid,
  .page-jackpot-games__strategy-grid,
  .page-jackpot-games__promotions-grid,
  .page-jackpot-games__security-grid {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__intro-section,
  .page-jackpot-games__features-section,
  .page-jackpot-games__game-types-section,
  .page-jackpot-games__how-to-play-section,
  .page-jackpot-games__strategies-section,
  .page-jackpot-games__promotions-section,
  .page-jackpot-games__security-section,
  .page-jackpot-games__faq-section,
  .page-jackpot-games__cta-section {
    padding: 50px 0;
  }
  .page-jackpot-games__feature-card,
  .page-jackpot-games__game-type-card,
  .page-jackpot-games__step-card,
  .page-jackpot-games__strategy-card,
  .page-jackpot-games__promo-card,
  .page-jackpot-games__security-item,
  .page-jackpot-games__faq-item,
  .page-jackpot-games__cta-content {
    padding: 20px;
  }

  /* Mobile image and video responsiveness */
  .page-jackpot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-jackpot-games__intro-image-wrapper,
  .page-jackpot-games__feature-card,
  .page-jackpot-games__game-type-card,
  .page-jackpot-games__promo-card,
  .page-jackpot-games__security-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-jackpot-games video,
  .page-jackpot-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    left: 0 !important;
    top: auto !important;
    transform: none !important; /* Reset transform for video */
  }
  .page-jackpot-games__hero-video {
    position: relative; /* Change to relative for better mobile control */
  }
  .page-jackpot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .page-jackpot-games__hero-content {
    padding: 15px;
  }
  .page-jackpot-games__cta-title {
    font-size: 2.2em;
  }
  .page-jackpot-games__cta-description {
    font-size: 1em;
  }
  .page-jackpot-games__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-jackpot-games__cta-buttons .page-jackpot-games__btn-primary,
  .page-jackpot-games__cta-buttons .page-jackpot-games__btn-secondary {
    margin: 0;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-jackpot-games__faq-question,
  .page-jackpot-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-jackpot-games__hero-title {
    font-size: 1.8em;
  }
  .page-jackpot-games__hero-description {
    font-size: 0.9em;
  }
  .page-jackpot-games__section-title {
    font-size: 1.5em;
  }
  .page-jackpot-games__cta-title {
    font-size: 1.8em;
  }
  .page-jackpot-games__cta-description {
    font-size: 0.9em;
  }
}