/* style/jackpot-slots.css */

/* Base Styles & Typography */
.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-jackpot-slots__section-title {
  font-size: 2.5em;
  color: #ffc107; /* Highlight with auxiliary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-jackpot-slots__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-jackpot-slots__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-jackpot-slots__hero-title {
  font-size: 3.8em;
  color: #ffc107;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-slots__hero-description {
  font-size: 1.4em;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

/* 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.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-jackpot-slots__btn-primary {
  background-color: #ffc107;
  color: #333333; /* Dark text for light background */
  border: 2px solid #ffc107;
}

.page-jackpot-slots__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-jackpot-slots__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: #ffc107;
  color: #333333;
}

.page-jackpot-slots__large-btn {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Intro Section */
.page-jackpot-slots__intro-section,
.page-jackpot-slots__how-to-play,
.page-jackpot-slots__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

.page-jackpot-slots__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-jackpot-slots__grid-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Why AW8 Section */
.page-jackpot-slots__why-aw8,
.page-jackpot-slots__promotions,
.page-jackpot-slots__cta-section {
  padding: 80px 0;
  background-color: #007bff; /* Main brand color as background */
  color: #ffffff;
}

.page-jackpot-slots__why-aw8 .page-jackpot-slots__section-title,
.page-jackpot-slots__promotions .page-jackpot-slots__section-title,
.page-jackpot-slots__cta-section .page-jackpot-slots__section-title {
  color: #ffffff;
}

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

.page-jackpot-slots__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-jackpot-slots__feature-card:hover {
  transform: translateY(-10px);
}

.page-jackpot-slots__card-title {
  font-size: 1.8em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-jackpot-slots__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Game Showcase Section */
.page-jackpot-slots__game-showcase {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-jackpot-slots__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-jackpot-slots__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-jackpot-slots__game-title {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-jackpot-slots__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-jackpot-slots__play-button {
  margin-top: auto;
  width: 100%;
}

/* How to Play Section */
.page-jackpot-slots__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-slots__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-slots__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffc107;
  color: #333333;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-jackpot-slots__step-title {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-jackpot-slots__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-jackpot-slots__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-jackpot-slots__promo-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-jackpot-slots__promo-title {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-jackpot-slots__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-jackpot-slots__promo-card .page-jackpot-slots__btn-secondary {
  margin-top: auto;
  width: 100%;
}

.page-jackpot-slots__note {
  font-size: 0.9em;
  color: #cccccc;
  margin-top: 40px;
}

.page-jackpot-slots__note a {
  color: #ffc107;
  text-decoration: underline;
}

.page-jackpot-slots__note a:hover {
  color: #e0a800;
}

/* Video Section */
.page-jackpot-slots__video-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-jackpot-slots__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-jackpot-slots__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-jackpot-slots__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* FAQ Section */
.page-jackpot-slots__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-jackpot-slots__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-jackpot-slots__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

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

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

.page-jackpot-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-jackpot-slots__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-jackpot-slots__faq-answer a {
  color: #ffc107;
  text-decoration: underline;
}

.page-jackpot-slots__faq-answer a:hover {
  color: #e0a800;
}

/* CTA Section */
.page-jackpot-slots__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-jackpot-slots__cta-section .page-jackpot-slots__text-block {
  margin-bottom: 40px;
  color: #ffffff;
}

.page-jackpot-slots__cta-section .page-jackpot-slots__btn-primary,
.page-jackpot-slots__cta-section .page-jackpot-slots__btn-secondary {
  margin: 0 10px;
}

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

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

  .page-jackpot-slots__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-jackpot-slots__hero-title {
    font-size: 2.5em;
  }

  .page-jackpot-slots__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary,
  .page-jackpot-slots a[class*="button"],
  .page-jackpot-slots 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-slots__cta-buttons,
  .page-jackpot-slots__button-group,
  .page-jackpot-slots__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-slots__hero-cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-jackpot-slots__section-title {
    font-size: 1.8em;
  }

  .page-jackpot-slots__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-jackpot-slots__intro-section,
  .page-jackpot-slots__why-aw8,
  .page-jackpot-slots__game-showcase,
  .page-jackpot-slots__how-to-play,
  .page-jackpot-slots__promotions,
  .page-jackpot-slots__video-section,
  .page-jackpot-slots__faq-section,
  .page-jackpot-slots__cta-section {
    padding: 60px 0;
  }

  .page-jackpot-slots__container {
    padding: 0 15px;
  }

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

  .page-jackpot-slots__image-grid,
  .page-jackpot-slots__features-grid,
  .page-jackpot-slots__game-cards-grid,
  .page-jackpot-slots__steps-grid,
  .page-jackpot-slots__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-jackpot-slots__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .page-jackpot-slots__faq-question h3 {
    font-size: 1.1em;
  }

  .page-jackpot-slots__faq-answer p {
    font-size: 0.95em;
  }

  .page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-jackpot-slots__cta-section .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__cta-section .page-jackpot-slots__btn-secondary {
    margin: 10px 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots__hero-title {
    font-size: 2em;
  }
  .page-jackpot-slots__hero-section {
    height: 400px;
  }
  .page-jackpot-slots__section-title {
    font-size: 1.5em;
  }
  .page-jackpot-slots__hero-description {
    font-size: 0.9em;
  }
}