/* style/slot-games-jackpot-slots.css */

/* Base Styles for the page */
.page-slot-games-jackpot-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark background from shared.css body, so light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-slot-games-jackpot-slots__section-title {
  color: #ffffff;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games-jackpot-slots__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-slot-games-jackpot-slots__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: center;
}

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

/* Buttons */
.page-slot-games-jackpot-slots__btn-primary,
.page-slot-games-jackpot-slots__btn-secondary,
.page-slot-games-jackpot-slots a[class*="button"],
.page-slot-games-jackpot-slots a[class*="btn"] {
  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;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-jackpot-slots__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slot-games-jackpot-slots__btn-primary:hover {
  background-color: #d82d2d;
  border-color: #d82d2d;
}

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

.page-slot-games-jackpot-slots__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games-jackpot-slots__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slot-games-jackpot-slots__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Hero Section */
.page-slot-games-jackpot-slots__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-color: #0a0a0a;
}

.page-slot-games-jackpot-slots__hero-section .page-slot-games-jackpot-slots__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  z-index: 1;
}

.page-slot-games-jackpot-slots__hero-content {
  flex: 1;
  padding-right: 40px;
}

.page-slot-games-jackpot-slots__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games-jackpot-slots__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-slot-games-jackpot-slots__hero-buttons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-slot-games-jackpot-slots__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games-jackpot-slots__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-slot-games-jackpot-slots__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games-jackpot-slots__intro-section .page-slot-games-jackpot-slots__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.page-slot-games-jackpot-slots__features-section {
  padding: 80px 0;
  background-color: #017439;
}

.page-slot-games-jackpot-slots__dark-section .page-slot-games-jackpot-slots__section-title {
  color: #ffffff;
}

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

.page-slot-games-jackpot-slots__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-slot-games-jackpot-slots__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-slot-games-jackpot-slots__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-slot-games-jackpot-slots__feature-description {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

/* Popular Games Section */
.page-slot-games-jackpot-slots__popular-games-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-slot-games-jackpot-slots__game-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games-jackpot-slots__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #017439;
  min-height: 200px; /* Enforce minimum size */
}

.page-slot-games-jackpot-slots__game-title {
  font-size: 1.4em;
  color: #ffffff;
  margin: 20px 15px 10px;
}

.page-slot-games-jackpot-slots__game-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-slot-games-jackpot-slots__game-title a:hover {
  color: #017439;
}

.page-slot-games-jackpot-slots__game-description {
  color: #f0f0f0;
  font-size: 0.95em;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games-jackpot-slots__game-card .page-slot-games-jackpot-slots__btn-primary {
  margin-top: auto;
  margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games-jackpot-slots__how-to-play-section {
  padding: 80px 0;
  background-color: #017439;
}

.page-slot-games-jackpot-slots__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-slot-games-jackpot-slots__steps-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-jackpot-slots__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #C30808;
  color: #FFFF00;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-slot-games-jackpot-slots__steps-list h3 {
  color: #ffffff;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-slot-games-jackpot-slots__steps-list p {
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-slot-games-jackpot-slots__steps-list p a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-slot-games-jackpot-slots__steps-list p a:hover {
  color: #f0f0f0;
}

/* Tips Section */
.page-slot-games-jackpot-slots__tips-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-slot-games-jackpot-slots__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-jackpot-slots__tips-list li {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games-jackpot-slots__tip-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-slot-games-jackpot-slots__tips-list p {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

.page-slot-games-jackpot-slots__tips-list p a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games-jackpot-slots__tips-list p a:hover {
  color: #FFFF00;
}

/* Promotions CTA Section */
.page-slot-games-jackpot-slots__promotions-cta-section {
  padding: 60px 0;
  background-color: #017439;
  text-align: center;
}

.page-slot-games-jackpot-slots__promotions-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-slot-games-jackpot-slots__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-slot-games-jackpot-slots__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-slot-games-jackpot-slots__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-jackpot-slots__faq-question:hover {
  background-color: #2a2a2a;
}

.page-slot-games-jackpot-slots__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-slot-games-jackpot-slots__faq-item.active .page-slot-games-jackpot-slots__faq-toggle {
  transform: rotate(45deg);
  color: #C30808;
}

.page-slot-games-jackpot-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1.05em;
  line-height: 1.7;
}

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

/* Final CTA Section */
.page-slot-games-jackpot-slots__final-cta-section {
  padding: 80px 0;
  background-color: #017439;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-jackpot-slots__hero-section .page-slot-games-jackpot-slots__container {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games-jackpot-slots__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-slot-games-jackpot-slots__hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games-jackpot-slots__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games-jackpot-slots__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games-jackpot-slots__section-title {
    font-size: 2em;
  }

  .page-slot-games-jackpot-slots__text-block {
    font-size: 1em;
  }

  .page-slot-games-jackpot-slots__btn-primary,
  .page-slot-games-jackpot-slots__btn-secondary,
  .page-slot-games-jackpot-slots a[class*="button"],
  .page-slot-games-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;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-jackpot-slots__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Image Responsive Adaptation */
  .page-slot-games-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video Responsive Adaptation (if any) */
  .page-slot-games-jackpot-slots video,
  .page-slot-games-jackpot-slots__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images/videos/buttons */
  .page-slot-games-jackpot-slots__section,
  .page-slot-games-jackpot-slots__card,
  .page-slot-games-jackpot-slots__container,
  .page-slot-games-jackpot-slots__hero-section,
  .page-slot-games-jackpot-slots__intro-section,
  .page-slot-games-jackpot-slots__features-section,
  .page-slot-games-jackpot-slots__popular-games-section,
  .page-slot-games-jackpot-slots__how-to-play-section,
  .page-slot-games-jackpot-slots__tips-section,
  .page-slot-games-jackpot-slots__promotions-cta-section,
  .page-slot-games-jackpot-slots__faq-section,
  .page-slot-games-jackpot-slots__final-cta-section,
  .page-slot-games-jackpot-slots__video-section,
  .page-slot-games-jackpot-slots__video-container,
  .page-slot-games-jackpot-slots__video-wrapper,
  .page-slot-games-jackpot-slots__cta-buttons,
  .page-slot-games-jackpot-slots__button-group,
  .page-slot-games-jackpot-slots__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

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

  .page-slot-games-jackpot-slots__features-grid,
  .page-slot-games-jackpot-slots__games-grid,
  .page-slot-games-jackpot-slots__tips-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games-jackpot-slots__steps-list li {
    padding-left: 60px;
  }

  .page-slot-games-jackpot-slots__steps-list li::before {
    left: 10px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

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

  .page-slot-games-jackpot-slots__faq-answer {
    font-size: 0.95em;
    padding: 0 20px;
  }

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

  .page-slot-games-jackpot-slots__hero-image-wrapper {
    order: -1; /* Move image above content on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-slot-games-jackpot-slots__hero-title {
    font-size: 2em;
  }

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

  .page-slot-games-jackpot-slots__hero-description {
    font-size: 1em;
  }
}

/* Links within text */
.page-slot-games-jackpot-slots__text-block a,
.page-slot-games-jackpot-slots__steps-list p a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games-jackpot-slots__text-block a:hover,
.page-slot-games-jackpot-slots__steps-list p a:hover {
  color: #FFFF00;
}