.page-slot-games-jackpot-mechanics {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
}

.page-slot-games-jackpot-mechanics__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #017439; /* Brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-slot-games-jackpot-mechanics__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-slot-games-jackpot-mechanics__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-slot-games-jackpot-mechanics__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for emphasis */
  line-height: 1.2;
}

.page-slot-games-jackpot-mechanics__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-slot-games-jackpot-mechanics__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games-jackpot-mechanics__btn-primary,
.page-slot-games-jackpot-mechanics__btn-secondary {
  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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-slot-games-jackpot-mechanics__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff; /* Default text color for dark sections */
}

.page-slot-games-jackpot-mechanics__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
}

.page-slot-games-jackpot-mechanics__section-title {
  font-size: 2.8em;
  color: #FFFF00; /* Yellow for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-slot-games-jackpot-mechanics__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-slot-games-jackpot-mechanics__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games-jackpot-mechanics__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games-jackpot-mechanics__card-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
  text-align: center;
}

.page-slot-games-jackpot-mechanics__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-slot-games-jackpot-mechanics__sub-section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for sub-titles */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-slot-games-jackpot-mechanics__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games-jackpot-mechanics__list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  border-left: 5px solid #C30808; /* Red accent */
  color: #ffffff;
  line-height: 1.6;
}

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

.page-slot-games-jackpot-mechanics__list-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-slot-games-jackpot-mechanics__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games-jackpot-mechanics__feature-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
  text-align: center;
}

.page-slot-games-jackpot-mechanics__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-slot-games-jackpot-mechanics__faq-container {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-jackpot-mechanics__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-slot-games-jackpot-mechanics__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: #017439; /* Brand color for question background */
  transition: background-color 0.3s ease;
}

.page-slot-games-jackpot-mechanics__faq-question p {
  margin: 0;
  color: #ffffff;
}

.page-slot-games-jackpot-mechanics__faq-question:hover {
  background-color: #005a2e;
}

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

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

.page-slot-games-jackpot-mechanics__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

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

.page-slot-games-jackpot-mechanics__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-slot-games-jackpot-mechanics__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-slot-games-jackpot-mechanics__cta-title {
  font-size: 3em;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-slot-games-jackpot-mechanics__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-jackpot-mechanics__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games-jackpot-mechanics__hero-title {
    font-size: 2.8em;
  }

  .page-slot-games-jackpot-mechanics__hero-description {
    font-size: 1.2em;
  }

  .page-slot-games-jackpot-mechanics__section-title {
    font-size: 2.4em;
  }

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

  .page-slot-games-jackpot-mechanics__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-jackpot-mechanics__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-slot-games-jackpot-mechanics__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-jackpot-mechanics__btn-primary,
  .page-slot-games-jackpot-mechanics__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-slot-games-jackpot-mechanics__content-area {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-jackpot-mechanics__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-slot-games-jackpot-mechanics__paragraph {
    font-size: 0.95em;
  }

  .page-slot-games-jackpot-mechanics__content-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  .page-slot-games-jackpot-mechanics__card-grid,
  .page-slot-games-jackpot-mechanics__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-jackpot-mechanics__card,
  .page-slot-games-jackpot-mechanics__feature-item {
    padding: 25px;
  }

  .page-slot-games-jackpot-mechanics__card-title,
  .page-slot-games-jackpot-mechanics__feature-title {
    font-size: 1.5em;
  }

  .page-slot-games-jackpot-mechanics__sub-section-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-slot-games-jackpot-mechanics__list li {
    padding: 15px 20px;
  }

  .page-slot-games-jackpot-mechanics__list-title {
    font-size: 1.3em;
  }

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

  .page-slot-games-jackpot-mechanics__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games-jackpot-mechanics__faq-item.active .page-slot-games-jackpot-mechanics__faq-answer {
    padding: 10px 20px !important;
  }

  .page-slot-games-jackpot-mechanics__cta-section {
    padding: 60px 15px;
  }

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

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

  .page-slot-games-jackpot-mechanics__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

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

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

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