/* style/jackpot-slots.css */

/* Base Styles */
.page-jackpot-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--background-color);
}

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

.page-jackpot-slots__section-spacing {
  padding: 60px 0;
}

.page-jackpot-slots__section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  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;
  text-align: justify;
  color: var(--text-secondary);
}

.page-jackpot-slots__text-link {
  color: var(--gold);
  text-decoration: underline;
}

/* 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;
  text-align: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-slots__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-jackpot-slots__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-jackpot-slots__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--glow);
  color: var(--glow);
}

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

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for visual spacing */
  background-color: var(--background-color);
  overflow: hidden;
}

.page-jackpot-slots__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-jackpot-slots__hero-content-wrapper {
  position: relative; /* Allows content to be placed below the image in normal flow */
  width: 100%;
  margin-top: -100px; /* Overlap slightly for visual effect, but not over image content */
  z-index: 1;
}

.page-jackpot-slots__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-jackpot-slots__hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-jackpot-slots__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

/* Intro Section */
.page-jackpot-slots__intro-section {
  background-color: var(--background-color);
}

/* Why Choose Section */
.page-jackpot-slots__why-choose-section {
  background-color: var(--deep-green);
  color: var(--text-secondary);
}

.page-jackpot-slots__why-choose-section .page-jackpot-slots__section-title {
  color: var(--text-main);
}

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

.page-jackpot-slots__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-jackpot-slots__feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: justify;
}

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

.page-jackpot-slots__game-type-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__game-type-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-jackpot-slots__game-type-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-jackpot-slots__game-type-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: justify;
}

/* Strategy Section */
.page-jackpot-slots__strategy-section {
  background-color: var(--deep-green);
  color: var(--text-secondary);
}

.page-jackpot-slots__strategy-section .page-jackpot-slots__section-title {
  color: var(--text-main);
}

.page-jackpot-slots__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-jackpot-slots__strategy-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-slots__strategy-subtitle {
  font-size: 1.3rem;
  color: var(--glow);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-jackpot-slots__strategy-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: justify;
}

.page-jackpot-slots__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-jackpot-slots__promo-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

.page-jackpot-slots__promo-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: justify;
}

/* Guide Section */
.page-jackpot-slots__guide-section {
  background-color: var(--deep-green);
  color: var(--text-secondary);
}

.page-jackpot-slots__guide-section .page-jackpot-slots__section-title {
  color: var(--text-main);
}

.page-jackpot-slots__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: guide-counter;
}

.page-jackpot-slots__guide-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 60px;
}

.page-jackpot-slots__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--gold);
  color: #08160F;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-jackpot-slots__guide-subtitle {
  font-size: 1.3rem;
  color: var(--glow);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-jackpot-slots__guide-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: justify;
}

/* FAQ Section */
.page-jackpot-slots__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-jackpot-slots__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-jackpot-slots__faq-qtext {
  flex-grow: 1;
}

.page-jackpot-slots__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow);
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-toggle {
  color: var(--gold);
}

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

/* Conclusion Section */
.page-jackpot-slots__conclusion-section {
  background-color: var(--deep-green);
  color: var(--text-secondary);
}

.page-jackpot-slots__conclusion-section .page-jackpot-slots__section-title {
  color: var(--text-main);
}

.page-jackpot-slots__conclusion-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Image and Video Responsive Styles */
.page-jackpot-slots img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-jackpot-slots video,
.page-jackpot-slots__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Global container adjustments for responsiveness */
.page-jackpot-slots__section,
.page-jackpot-slots__card,
.page-jackpot-slots__container,
.page-jackpot-slots__hero-section,
.page-jackpot-slots__intro-section,
.page-jackpot-slots__why-choose-section,
.page-jackpot-slots__game-types-section,
.page-jackpot-slots__strategy-section,
.page-jackpot-slots__promotions-section,
.page-jackpot-slots__guide-section,
.page-jackpot-slots__faq-section,
.page-jackpot-slots__conclusion-section,
.page-jackpot-slots__video-section,
.page-jackpot-slots__video-container,
.page-jackpot-slots__video-wrapper,
.page-jackpot-slots__cta-buttons,
.page-jackpot-slots__button-group,
.page-jackpot-slots__btn-container,
.page-jackpot-slots__promo-card,
.page-jackpot-slots__feature-card,
.page-jackpot-slots__game-type-card,
.page-jackpot-slots__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-jackpot-slots__section-title {
    font-size: 2rem;
  }

  .page-jackpot-slots__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-jackpot-slots__hero-description {
    font-size: 1rem;
  }

  .page-jackpot-slots__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-jackpot-slots__hero-content-wrapper {
    margin-top: -50px; /* Adjust overlap for smaller screens */
  }

  /* Force responsive images/videos/buttons on mobile */
  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller images on mobile if needed by design */
    min-height: unset;
  }
  
  .page-jackpot-slots video,
  .page-jackpot-slots__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-jackpot-slots__container,
  .page-jackpot-slots__hero-content,
  .page-jackpot-slots__feature-card,
  .page-jackpot-slots__game-type-card,
  .page-jackpot-slots__promo-card,
  .page-jackpot-slots__strategy-item,
  .page-jackpot-slots__guide-item,
  .page-jackpot-slots__faq-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-jackpot-slots__section-spacing {
    padding: 40px 0;
  }

  .page-jackpot-slots__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles offset */
  }

  .page-jackpot-slots__conclusion-buttons {
    flex-direction: column;
  }

  .page-jackpot-slots__guide-item {
    padding-left: 50px;
  }
  .page-jackpot-slots__guide-item::before {
    left: 15px;
    top: 20px;
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }

  .page-jackpot-slots__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }
  .page-jackpot-slots__faq-toggle {
    font-size: 1.5rem;
  }
  .page-jackpot-slots__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

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

/* Ensure contrast for dark backgrounds */
.page-jackpot-slots__dark-section {
  background-color: var(--deep-green);
  color: var(--text-secondary);
}

.page-jackpot-slots__dark-section .page-jackpot-slots__section-title,
.page-jackpot-slots__dark-section .page-jackpot-slots__feature-title,
.page-jackpot-slots__dark-section .page-jackpot-slots__promo-title,
.page-jackpot-slots__dark-section .page-jackpot-slots__guide-subtitle,
.page-jackpot-slots__dark-section .page-jackpot-slots__strategy-subtitle {
  color: var(--text-main);
}

.page-jackpot-slots__faq-item summary {
  color: var(--text-main);
}