/* style/jackpot-games-mega-jackpots.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-jackpot-games-mega-jackpots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--Text-Main, #F2FFF6); /* Default text color for dark backgrounds */
  background-color: var(--background, #08160F); /* Page background from custom colors */
}

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

.page-jackpot-games-mega-jackpots__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--Text-Main, #F2FFF6);
}

.page-jackpot-games-mega-jackpots__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--Text-Main, #F2FFF6);
}

.page-jackpot-games-mega-jackpots__paragraph--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-games-mega-jackpots__highlight {
  color: var(--Gold, #F2C14E);
  font-weight: bold;
}

/* Button styles */
.page-jackpot-games-mega-jackpots__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-jackpot-games-mega-jackpots__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-jackpot-games-mega-jackpots__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-jackpot-games-mega-jackpots__btn-secondary {
  background: var(--Card-B-G, #11271B);
  color: var(--Text-Main, #F2FFF6);
  border: 2px solid var(--Border, #2E7A4E);
}

.page-jackpot-games-mega-jackpots__btn-secondary:hover {
  background: var(--Deep-Green, #0A4B2C);
  color: var(--Gold, #F2C14E);
}

.page-jackpot-games-mega-jackpots__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-jackpot-games-mega-jackpots__cta-area {
  text-align: center;
  margin-top: 60px;
}

.page-jackpot-games-mega-jackpots__cta-title {
  font-size: 1.8em;
  color: var(--Text-Main, #F2FFF6);
  margin-bottom: 30px;
}

/* Hero Section */
.page-jackpot-games-mega-jackpots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for visual balance */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-jackpot-games-mega-jackpots__hero-image-wrapper {
  width: 100%;
  /* Ensure image is above content, but not absolute positioned */
}

.page-jackpot-games-mega-jackpots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-jackpot-games-mega-jackpots__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -100px; /* Adjust to slightly overlap the image, but not cover it */
  background: linear-gradient(0deg, var(--background, #08160F) 0%, rgba(8, 22, 15, 0.8) 50%, transparent 100%);
  border-radius: 15px;
}

.page-jackpot-games-mega-jackpots__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: var(--Gold, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-jackpot-games-mega-jackpots__hero-description {
  font-size: 1.2em;
  color: var(--Text-Main, #F2FFF6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-jackpot-games-mega-jackpots__intro-section {
  padding: 80px 0;
  background-color: var(--background, #08160F);
}

.page-jackpot-games-mega-jackpots__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-jackpot-games-mega-jackpots__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-jackpot-games-mega-jackpots__text-block {
  flex: 1;
}

.page-jackpot-games-mega-jackpots__image-block {
  flex: 1;
  text-align: center;
}

.page-jackpot-games-mega-jackpots__image-block--center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-jackpot-games-mega-jackpots__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: block; /* Ensure it behaves as a block element */
}

/* Featured Games Section */
.page-jackpot-games-mega-jackpots__featured-games {
  padding: 80px 0;
  background-color: var(--Card-B-G, #11271B);
}

.page-jackpot-games-mega-jackpots__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games-mega-jackpots__game-card {
  background-color: var(--background, #08160F);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.page-jackpot-games-mega-jackpots__game-card:hover {
  transform: translateY(-5px);
}

.page-jackpot-games-mega-jackpots__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-jackpot-games-mega-jackpots__card-title {
  font-size: 1.5em;
  color: var(--Gold, #F2C14E);
  margin-bottom: 10px;
}

.page-jackpot-games-mega-jackpots__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-jackpot-games-mega-jackpots__card-title a:hover {
  text-decoration: underline;
}

.page-jackpot-games-mega-jackpots__card-description {
  font-size: 0.95em;
  color: var(--Text-Secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-jackpot-games-mega-jackpots__card-button {
  width: 100%;
}

/* Tips and Strategy Section */
.page-jackpot-games-mega-jackpots__tips-strategy {
  padding: 80px 0;
  background-color: var(--background, #08160F);
}

.page-jackpot-games-mega-jackpots__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-jackpot-games-mega-jackpots__list-item {
  font-size: 1.1em;
  color: var(--Text-Main, #F2FFF6);
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-jackpot-games-mega-jackpots__list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--Glow, #57E38D);
}

/* Why 6ff19 Section */
.page-jackpot-games-mega-jackpots__why-6ff19 {
  padding: 80px 0;
  background-color: var(--Card-B-G, #11271B);
}

.page-jackpot-games-mega-jackpots__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games-mega-jackpots__feature-item {
  background-color: var(--background, #08160F);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
}

.page-jackpot-games-mega-jackpots__feature-title {
  font-size: 1.4em;
  color: var(--Gold, #F2C14E);
  margin-bottom: 15px;
}

.page-jackpot-games-mega-jackpots__feature-description {
  font-size: 1em;
  color: var(--Text-Secondary, #A7D9B8);
}

/* FAQ Section */
.page-jackpot-games-mega-jackpots__faq-section {
  padding: 80px 0;
  background-color: var(--background, #08160F);
}

.page-jackpot-games-mega-jackpots__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-jackpot-games-mega-jackpots__faq-item {
  background-color: var(--Card-B-G, #11271B);
  border: 1px solid var(--Divider, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-jackpot-games-mega-jackpots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--Text-Main, #F2FFF6);
  cursor: pointer;
  background-color: var(--Card-B-G, #11271B);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-jackpot-games-mega-jackpots__faq-question::-webkit-details-marker {
  display: none;
}

.page-jackpot-games-mega-jackpots__faq-question:hover {
  background-color: var(--Deep-Green, #0A4B2C);
}

.page-jackpot-games-mega-jackpots__faq-toggle {
  font-size: 1.5em;
  color: var(--Glow, #57E38D);
  transition: transform 0.3s ease;
}

.page-jackpot-games-mega-jackpots__faq-item[open] .page-jackpot-games-mega-jackpots__faq-toggle {
  transform: rotate(45deg);
}

.page-jackpot-games-mega-jackpots__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--Text-Secondary, #A7D9B8);
}

/* Conclusion CTA Section */
.page-jackpot-games-mega-jackpots__conclusion-cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--Card-B-G, #11271B);
}

/* Dark/Light Background helpers for contrast */
.page-jackpot-games-mega-jackpots__dark-bg {
  color: var(--Text-Main, #F2FFF6); /* Deep Green */
}

.page-jackpot-games-mega-jackpots__light-bg {
  color: var(--Text-Main, #F2FFF6); /* Dark background, so text is light */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-games-mega-jackpots__hero-content {
    margin-top: -80px;
  }

  .page-jackpot-games-mega-jackpots__section-title {
    font-size: 2em;
  }

  .page-jackpot-games-mega-jackpots__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-jackpot-games-mega-jackpots {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-jackpot-games-mega-jackpots__hero-section {
    padding-bottom: 40px;
  }

  .page-jackpot-games-mega-jackpots__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-jackpot-games-mega-jackpots__main-title {
    font-size: 2.2em; /* Smaller H1 for mobile */
  }

  .page-jackpot-games-mega-jackpots__hero-description {
    font-size: 1em;
  }

  .page-jackpot-games-mega-jackpots__intro-section,
  .page-jackpot-games-mega-jackpots__featured-games,
  .page-jackpot-games-mega-jackpots__tips-strategy,
  .page-jackpot-games-mega-jackpots__why-6ff19,
  .page-jackpot-games-mega-jackpots__faq-section,
  .page-jackpot-games-mega-jackpots__conclusion-cta {
    padding: 60px 0;
  }

  .page-jackpot-games-mega-jackpots__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-jackpot-games-mega-jackpots__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-jackpot-games-mega-jackpots__game-cards-grid,
  .page-jackpot-games-mega-jackpots__features-grid {
    grid-template-columns: 1fr;
  }

  .page-jackpot-games-mega-jackpots__game-card,
  .page-jackpot-games-mega-jackpots__feature-item {
    padding: 20px;
  }

  .page-jackpot-games-mega-jackpots__button-group {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image responsiveness */
  .page-jackpot-games-mega-jackpots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-jackpot-games-mega-jackpots__section,
  .page-jackpot-games-mega-jackpots__card,
  .page-jackpot-games-mega-jackpots__container,
  .page-jackpot-games-mega-jackpots__content-wrapper,
  .page-jackpot-games-mega-jackpots__game-card,
  .page-jackpot-games-mega-jackpots__feature-item,
  .page-jackpot-games-mega-jackpots__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-jackpot-games-mega-jackpots__cta-button,
  .page-jackpot-games-mega-jackpots__btn-primary,
  .page-jackpot-games-mega-jackpots__btn-secondary,
  .page-jackpot-games-mega-jackpots a[class*="button"],
  .page-jackpot-games-mega-jackpots 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;
  }
  
  .page-jackpot-games-mega-jackpots__cta-buttons,
  .page-jackpot-games-mega-jackpots__button-group,
  .page-jackpot-games-mega-jackpots__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-jackpot-games-mega-jackpots__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-jackpot-games-mega-jackpots__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-jackpot-games-mega-jackpots__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-jackpot-games-mega-jackpots__hero-content {
    margin-top: -40px;
  }

  .page-jackpot-games-mega-jackpots__main-title {
    font-size: 1.8em;
  }

  .page-jackpot-games-mega-jackpots__section-title {
    font-size: 1.8em;
  }

  .page-jackpot-games-mega-jackpots__cta-title {
    font-size: 1.5em;
  }
}