/* style/jackpot-slots.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-btn-color: #C30808;
  --login-btn-color: #C30808;
  --register-login-font-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for visual spacing, body handles header offset */
  background-color: var(--background-light);
}

.page-jackpot-slots__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-jackpot-slots__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-jackpot-slots__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-dark);
}

.page-jackpot-slots__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-jackpot-slots__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-btn-color);
  color: var(--register-login-font-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-slots__cta-button:hover {
  background: darken(var(--register-btn-color), 10%); /* Example of darkening */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-jackpot-slots__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-jackpot-slots__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-jackpot-slots__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Background Colors for Contrast */
.page-jackpot-slots__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-jackpot-slots__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-jackpot-slots__dark-bg .page-jackpot-slots__section-title,
.page-jackpot-slots__dark-bg .page-jackpot-slots__text-block,
.page-jackpot-slots__dark-bg .page-jackpot-slots__card-title,
.page-jackpot-slots__dark-bg .page-jackpot-slots__card-description {
  color: var(--text-light);
}

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

.page-jackpot-slots__card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.page-jackpot-slots__card:hover {
  transform: translateY(-5px);
}

.page-jackpot-slots__card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-jackpot-slots__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-jackpot-slots__card-description {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Buttons */
.page-jackpot-slots__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-slots__btn-primary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 20px;
  border: 2px solid var(--primary-color);
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-slots__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.page-jackpot-slots__btn-register {
  background-color: var(--register-btn-color);
  color: var(--register-login-font-color);
  margin-right: 15px;
}

.page-jackpot-slots__btn-register:hover {
  background-color: darken(var(--register-btn-color), 10%);
}

.page-jackpot-slots__btn-login {
  background-color: var(--login-btn-color);
  color: var(--register-login-font-color);
}

.page-jackpot-slots__btn-login:hover {
  background-color: darken(var(--login-btn-color), 10%);
}

/* Steps List */
.page-jackpot-slots__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-jackpot-slots__steps-list li {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  counter-increment: step-counter;
  padding-left: 70px; /* Space for step number */
}

.page-jackpot-slots__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.page-jackpot-slots__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-jackpot-slots__steps-list li p {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Tips List */
.page-jackpot-slots__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-jackpot-slots__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--text-light);
}

.page-jackpot-slots__tips-list li:last-child {
  margin-bottom: 0;
}

.page-jackpot-slots__tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-jackpot-slots__tips-list li p {
  font-size: 1rem;
  color: var(--text-light);
}

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

.page-jackpot-slots__promo-card {
  background: var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.page-jackpot-slots__promo-card .page-jackpot-slots__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-jackpot-slots__promo-card .page-jackpot-slots__btn-primary:hover {
  background-color: #f0f0f0;
}

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

.page-jackpot-slots__promo-description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* FAQ Section */
.page-jackpot-slots__faq-section .page-jackpot-slots__section-title {
  color: var(--text-light);
}

.page-jackpot-slots__faq-list {
  margin-top: 40px;
  text-align: left;
}

details.page-jackpot-slots__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--background-light);
  color: var(--text-dark);
}

details.page-jackpot-slots__faq-item summary.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-dark);
}

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

details.page-jackpot-slots__faq-item summary.page-jackpot-slots__faq-question:hover {
  background: #f5f5f5;
}

.page-jackpot-slots__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-jackpot-slots__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-jackpot-slots__faq-item .page-jackpot-slots__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-jackpot-slots__faq-answer p {
  margin-bottom: 0;
}

/* Bottom CTA Section */
.page-jackpot-slots__cta-bottom {
  padding: 80px 20px;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-jackpot-slots__cta-bottom .page-jackpot-slots__section-title {
  color: var(--primary-color);
}

.page-jackpot-slots__cta-bottom .page-jackpot-slots__cta-button {
  margin: 0 10px 20px; /* Adjust margin for multiple buttons */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-slots__hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

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

  .page-jackpot-slots__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-jackpot-slots__grid,
  .page-jackpot-slots__promo-grid {
    gap: 20px;
  }

  .page-jackpot-slots__card img {
    min-
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-jackpot-slots__hero-image img {
    border-radius: 4px;
  }
  
  .page-jackpot-slots__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-jackpot-slots__cta-button,
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }

  .page-jackpot-slots__cta-bottom .page-jackpot-slots__cta-button:last-child {
    margin-bottom: 0;
  }

  .page-jackpot-slots__section,
  .page-jackpot-slots__container,
  .page-jackpot-slots__card,
  .page-jackpot-slots__promo-card {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important; /* Enforce minimum size on mobile too */
  }

  .page-jackpot-slots__card img {
    min-height: 200px !important;
  }

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

  .page-jackpot-slots__text-block {
    font-size: 1rem;
  }

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

  .page-jackpot-slots__steps-list li::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  details.page-jackpot-slots__faq-item summary.page-jackpot-slots__faq-question { padding: 15px; }
  .page-jackpot-slots__faq-qtext { font-size: 15px; }
  .page-jackpot-slots__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-jackpot-slots__faq-item .page-jackpot-slots__faq-answer { padding: 0 15px 15px; }

  .page-jackpot-slots__cta-bottom .page-jackpot-slots__cta-button {
    display: block;
  }
}