/* style/jackpot-games.css */
.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
  background-color: transparent; /* Inherit from shared.css body */
}

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

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

.page-jackpot-games__dark-bg {
  background-color: #017439; /* Primary brand color as dark background */
  color: #ffffff;
}

.page-jackpot-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-jackpot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit;
}

.page-jackpot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-jackpot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px; /* Adjusted padding, assuming shared.css handles header offset */
  background: linear-gradient(135deg, #017439 0%, #005f2e 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-jackpot-games__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

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

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

.page-jackpot-games__hero-media {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-jackpot-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

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

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

.page-jackpot-games__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border-color: #C30808;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  transform: translateY(-3px);
}

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

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

.page-jackpot-games__btn-play {
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
  padding: 10px 20px;
  font-size: 1em;
}

.page-jackpot-games__btn-play:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

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

/* Features Grid */
.page-jackpot-games__features-grid,
.page-jackpot-games__game-grid,
.page-jackpot-games__strategy-grid,
.page-jackpot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-jackpot-games__feature-card,
.page-jackpot-games__game-card,
.page-jackpot-games__promotion-card,
.page-jackpot-games__strategy-item {
  background-color: #ffffff; /* Light background for cards */
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-jackpot-games__feature-icon,
.page-jackpot-games__game-thumbnail,
.page-jackpot-games__promo-img,
.page-jackpot-games__strategy-img {
  width: 100%;
  height: auto;
  max-height: 250px; /* Max height for consistent look */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-jackpot-games__feature-title,
.page-jackpot-games__game-title,
.page-jackpot-games__promo-title,
.page-jackpot-games__strategy-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for titles */
}

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

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

.page-jackpot-games__feature-description,
.page-jackpot-games__game-description,
.page-jackpot-games__promo-description,
.page-jackpot-games__strategy-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Info */
.page-jackpot-games__security-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-jackpot-games__security-item {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.page-jackpot-games__security-description {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-jackpot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker for contrast */
  transition: background-color 0.3s ease;
}

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

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

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-jackpot-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #ffffff; /* Ensure text is light on dark background */
}

/* Final CTA */
.page-jackpot-games__cta-final {
  padding: 80px 20px;
  background: linear-gradient(135deg, #017439 0%, #005f2e 100%);
  color: #ffffff;
}

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

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

.page-jackpot-games__text-center {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-title {
    font-size: 3em;
  }
  .page-jackpot-games__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-jackpot-games__hero-section {
    flex-direction: column;
    padding-top: 40px; /* Adjust for mobile, assuming header offset is handled by shared */
  }
  .page-jackpot-games__hero-content {
    margin-bottom: 30px;
  }
  .page-jackpot-games__hero-title {
    font-size: 2.2em;
  }
  .page-jackpot-games__hero-description {
    font-size: 1.1em;
  }
  .page-jackpot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games__btn-play,
  .page-jackpot-games__btn-large {
    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;
  }

  .page-jackpot-games__section-title {
    font-size: 2em;
  }
  .page-jackpot-games__text-block {
    font-size: 1em;
  }
  .page-jackpot-games__features-grid,
  .page-jackpot-games__game-grid,
  .page-jackpot-games__strategy-grid,
  .page-jackpot-games__promotions-grid,
  .page-jackpot-games__security-info {
    grid-template-columns: 1fr;
  }
  .page-jackpot-games__feature-card,
  .page-jackpot-games__game-card,
  .page-jackpot-games__promotion-card,
  .page-jackpot-games__strategy-item,
  .page-jackpot-games__security-item {
    padding: 20px;
  }
  .page-jackpot-games__feature-icon,
  .page-jackpot-games__game-thumbnail,
  .page-jackpot-games__promo-img,
  .page-jackpot-games__strategy-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; 
    min-height: 200px; 
  }
  .page-jackpot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-jackpot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Specific rule for video section */
  }
  .page-jackpot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-jackpot-games__faq-answer {
    padding: 0 20px;
  }
  .page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
    padding: 15px 20px;
  }
  .page-jackpot-games__cta-final .page-jackpot-games__cta-title {
    font-size: 2em;
  }
  .page-jackpot-games__cta-final .page-jackpot-games__cta-description {
    font-size: 1.1em;
 }}