/* style/jackpot-slots.css */

/* Root variables for colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* General Page Styles */
.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for dark body background */
  background-color: var(--color-background); /* Ensure consistency with body background */
}

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

.page-jackpot-slots__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-jackpot-slots__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

/* Color Contrast Helpers */
.page-jackpot-slots__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-jackpot-slots__light-bg {
  background-color: #f8f8f8; /* A very light background to contrast with dark text */
  color: #333333; /* Dark text for light background */
}

.page-jackpot-slots__light-bg .page-jackpot-slots__section-title,
.page-jackpot-slots__light-bg .page-jackpot-slots__card-title,
.page-jackpot-slots__light-bg .page-jackpot-slots__list-title {
  color: var(--color-deep-green);
}

.page-jackpot-slots__light-bg .page-jackpot-slots__text-block,
.page-jackpot-slots__light-bg .page-jackpot-slots__card-description,
.page-jackpot-slots__light-bg .page-jackpot-slots__list-item p {
  color: #333333;
}


/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  min-height: 600px; /* Ensure hero section has a minimum height */
  overflow: hidden;
}

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

.page-jackpot-slots__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
}

.page-jackpot-slots__main-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-jackpot-slots__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--color-text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-jackpot-slots__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
}

.page-jackpot-slots__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--color-glow);
}

.page-jackpot-slots__btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-background);
}

/* Sections */
.page-jackpot-slots__introduction-section,
.page-jackpot-slots__why-choose-section,
.page-jackpot-slots__game-types-section,
.page-jackpot-slots__guide-section,
.page-jackpot-slots__tips-section,
.page-jackpot-slots__promotions-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__conclusion-section {
  padding: 60px 0;
}

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

.page-jackpot-slots__feature-card,
.page-jackpot-slots__step-card,
.page-jackpot-slots__promo-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-main);
}

.page-jackpot-slots__feature-card .page-jackpot-slots__card-image,
.page-jackpot-slots__promo-card .page-jackpot-slots__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}

.page-jackpot-slots__card-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-jackpot-slots__card-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-jackpot-slots__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Game List & Tips List */
.page-jackpot-slots__game-list,
.page-jackpot-slots__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-jackpot-slots__list-item {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
}

.page-jackpot-slots__list-item p {
  color: var(--color-text-secondary);
}

.page-jackpot-slots__list-title {
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 10px;
}

/* Step-by-Step Guide */
.page-jackpot-slots__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__step-card .page-jackpot-slots__btn-primary,
.page-jackpot-slots__step-card .page-jackpot-slots__btn-secondary {
  margin-top: auto; /* Push button to bottom */
}

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

/* FAQ Section */
.page-jackpot-slots__faq-list {
  margin-top: 40px;
}

.page-jackpot-slots__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.page-jackpot-slots__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-gold);
  position: relative;
}

.page-jackpot-slots__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-jackpot-slots__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-jackpot-slots__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-jackpot-slots__container {
    padding: 0 15px;
  }

  .page-jackpot-slots__main-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .page-jackpot-slots__hero-description {
    font-size: clamp(16px, 4vw, 20px);
  }

  .page-jackpot-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-jackpot-slots__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-jackpot-slots__text-block {
    font-size: 1rem;
  }

  .page-jackpot-slots__list-item,
  .page-jackpot-slots__feature-card,
  .page-jackpot-slots__step-card,
  .page-jackpot-slots__promo-card {
    padding: 20px;
  }

  .page-jackpot-slots__card-title {
    font-size: 1.3rem;
  }

  .page-jackpot-slots__card-description {
    font-size: 0.95rem;
  }

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

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

  /* Responsive Images */
  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-slots__hero-section,
  .page-jackpot-slots__introduction-section,
  .page-jackpot-slots__why-choose-section,
  .page-jackpot-slots__game-types-section,
  .page-jackpot-slots__guide-section,
  .page-jackpot-slots__tips-section,
  .page-jackpot-slots__promotions-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__conclusion-section,
  .page-jackpot-slots__card,
  .page-jackpot-slots__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-jackpot-slots__hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important;
  }

  .page-jackpot-slots__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-slots__feature-card .page-jackpot-slots__card-image,
  .page-jackpot-slots__promo-card .page-jackpot-slots__card-image {
    height: auto;
  }

  /* Ensure no image filter */
  .page-jackpot-slots img {
    filter: none !important;
  }
}