.page-slot-jackpot-games {
  background-color: var(--bg-color, #08160F);
  color: var(--Text-Main, #F2FFF6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-jackpot-games__dark-section {
  background-color: var(--Card-B-G, #11271B);
  color: var(--Text-Main, #F2FFF6);
}

/* Hero Section */
.page-slot-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-slot-jackpot-games__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block;
}

.page-slot-jackpot-games__hero-content {
  z-index: 1; /* Ensure content is above any subtle background effects if present */
  max-width: 900px;
}

.page-slot-jackpot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--Gold, #F2C14E);
}

.page-slot-jackpot-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--Text-Secondary, #A7D9B8);
}

.page-slot-jackpot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

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

.page-slot-jackpot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-jackpot-games__btn-secondary {
  background: none;
  color: var(--Text-Main, #F2FFF6);
  border: 2px solid var(--Border, #2E7A4E);
}

.page-slot-jackpot-games__btn-secondary:hover {
  background-color: var(--Border, #2E7A4E);
  color: #ffffff;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-slot-jackpot-games__introduction-section,
.page-slot-jackpot-games__advantages-section,
.page-slot-jackpot-games__faq-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

.page-slot-jackpot-games__featured-games-section,
.page-slot-jackpot-games__strategy-guide-section,
.page-slot-jackpot-games__call-to-action-section {
  padding: 60px 0;
  background-color: var(--Card-B-G, #11271B);
}

.page-slot-jackpot-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--Gold, #F2C14E);
}

.page-slot-jackpot-games__section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--Text-Secondary, #A7D9B8);
}

.page-slot-jackpot-games__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--Text-Main, #F2FFF6);
  text-align: justify;
}

.page-slot-jackpot-games__text-block h3 {
  font-size: 1.4rem;
  color: var(--Deep-Green, #0A4B2C);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-jackpot-games__text-block a {
  color: var(--Glow, #57E38D);
  text-decoration: underline;
}

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

.page-slot-jackpot-games__game-card,
.page-slot-jackpot-games__advantage-item {
  background-color: var(--Card-B-G, #11271B);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--Divider, #1E3A2A);
}

.page-slot-jackpot-games__game-card:hover,
.page-slot-jackpot-games__advantage-item:hover {
  transform: translateY(-5px);
}

.page-slot-jackpot-games__game-image,
.page-slot-jackpot-games__advantage-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-jackpot-games__game-title,
.page-slot-jackpot-games__advantage-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--Text-Main, #F2FFF6);
}

.page-slot-jackpot-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-jackpot-games__game-title a:hover {
  color: var(--Glow, #57E38D);
}

.page-slot-jackpot-games__game-description,
.page-slot-jackpot-games__advantage-description {
  font-size: 0.95rem;
  color: var(--Text-Secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-slot-jackpot-games__view-all-button {
  text-align: center;
  margin-top: 30px;
}

/* Advantages Grid */
.page-slot-jackpot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-slot-jackpot-games__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 0; /* Icons typically not rounded */
}

/* Video Section */
.page-slot-jackpot-games__video-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
  text-align: center;
}

.page-slot-jackpot-games__video-container {
  width: 100%; /* Desktop: Must be 100% to work with max-width */
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-slot-jackpot-games__video-link-wrapper {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.page-slot-jackpot-games__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

.page-slot-jackpot-games__faq-item {
  background-color: var(--Card-B-G, #11271B);
  border-radius: 12px;
  border: 1px solid var(--Divider, #1E3A2A);
  overflow: hidden;
  color: var(--Text-Main, #F2FFF6);
}

.page-slot-jackpot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--Text-Main, #F2FFF6);
}

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

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

.page-slot-jackpot-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--Gold, #F2C14E);
  transition: transform 0.3s ease;
}

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

.page-slot-jackpot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--Text-Secondary, #A7D9B8);
}

.page-slot-jackpot-games__faq-answer p {
  margin-top: 10px;
}

.page-slot-jackpot-games__faq-answer a {
  color: var(--Glow, #57E38D);
  text-decoration: underline;
}

/* Call to Action Section */
.page-slot-jackpot-games__call-to-action-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--Deep-Green, #0A4B2C);
}

.page-slot-jackpot-games__call-to-action-section .page-slot-jackpot-games__section-title {
  color: var(--Gold, #F2C14E);
}

.page-slot-jackpot-games__call-to-action-section .page-slot-jackpot-games__section-subtitle {
  color: var(--Text-Secondary, #A7D9B8);
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-jackpot-games__hero-section,
  .page-slot-jackpot-games__introduction-section,
  .page-slot-jackpot-games__featured-games-section,
  .page-slot-jackpot-games__advantages-section,
  .page-slot-jackpot-games__strategy-guide-section,
  .page-slot-jackpot-games__video-section,
  .page-slot-jackpot-games__faq-section,
  .page-slot-jackpot-games__call-to-action-section {
    padding: 40px 0;
  }

  .page-slot-jackpot-games__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-slot-jackpot-games__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-slot-jackpot-games__hero-section,
  .page-slot-jackpot-games__introduction-section,
  .page-slot-jackpot-games__featured-games-section,
  .page-slot-jackpot-games__advantages-section,
  .page-slot-jackpot-games__strategy-guide-section,
  .page-slot-jackpot-games__video-section,
  .page-slot-jackpot-games__faq-section,
  .page-slot-jackpot-games__call-to-action-section {
    padding: 30px 0;
  }

  .page-slot-jackpot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-jackpot-games__hero-image,
  .page-slot-jackpot-games__game-image,
  .page-slot-jackpot-games__advantage-icon,
  .page-slot-jackpot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-jackpot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-slot-jackpot-games__video-container,
  .page-slot-jackpot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

  .page-slot-jackpot-games__game-grid,
  .page-slot-jackpot-games__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-jackpot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-jackpot-games__btn-primary,
  .page-slot-jackpot-games__btn-secondary,
  .page-slot-jackpot-games a[class*="button"],
  .page-slot-jackpot-games 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: 15px 10px;
  }

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

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

@media (max-width: 480px) {
  .page-slot-jackpot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-jackpot-games__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-slot-jackpot-games__hero-description,
  .page-slot-jackpot-games__section-subtitle,
  .page-slot-jackpot-games__text-block {
    font-size: 0.95rem;
  }
}