.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-jackpot-slots__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-jackpot-slots__section-title--light {
  color: #ffffff;
}

.page-jackpot-slots p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.page-jackpot-slots a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-jackpot-slots a:hover {
  color: #005f2c;
  text-decoration: underline;
}

/* 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, body handles header offset */
  overflow: hidden;
  min-height: 500px;
}

.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%; /* Ensure full width on desktop */
}

.page-jackpot-slots__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-jackpot-slots__main-title {
  font-weight: 800;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-jackpot-slots__description {
  font-size: 18px;
  line-height: 1.6;
  color: #444444;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-jackpot-slots__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-jackpot-slots__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-jackpot-slots__btn-primary:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-jackpot-slots__btn-secondary:hover {
  background: #005f2c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__btn-center {
  margin: 30px auto 0 auto;
  display: block;
  max-width: 300px;
}

/* Intro Section */
.page-jackpot-slots__intro-section {
  padding: 60px 0;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-jackpot-slots__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 100%;
  object-fit: cover;
}

/* Why Us Section */
.page-jackpot-slots__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-jackpot-slots__dark-bg p {
  color: #f0f0f0;
}

.page-jackpot-slots__link-text--light {
  color: #FFFF00;
  text-decoration: underline;
}

.page-jackpot-slots__link-text--light:hover {
  color: #fff;
}

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

.page-jackpot-slots__feature-card {
  background: 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, box-shadow 0.3s ease;
}

.page-jackpot-slots__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFF00;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

.page-jackpot-slots__game-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-jackpot-slots__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%;
}

.page-jackpot-slots__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-jackpot-slots__game-card p {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

.page-jackpot-slots__btn-play {
  display: inline-block;
  background: #017439;
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.page-jackpot-slots__btn-play:hover {
  background: #005f2c;
  text-decoration: none;
}

.page-jackpot-slots__view-all-games-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__view-all-games-btn:hover {
  background: #a30606;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Guide 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-card {
  background: 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);
  color: #ffffff;
}

.page-jackpot-slots__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFF00; /* Yellow for numbers */
  color: #017439;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-jackpot-slots__step-card p {
  color: #f0f0f0;
}

/* Promotions Section */
.page-jackpot-slots__promotions-section {
  padding: 60px 0;
  background: #f0f0f0;
}

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

.page-jackpot-slots__promotion-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-slots__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__promotion-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%;
}

.page-jackpot-slots__promotion-title {
  font-size: 20px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-jackpot-slots__promotion-card p {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
}

.page-jackpot-slots__btn-promotion {
  display: inline-block;
  background: #C30808;
  color: #FFFF00;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.page-jackpot-slots__btn-promotion:hover {
  background: #a30606;
  text-decoration: none;
}

.page-jackpot-slots__view-all-promos-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-jackpot-slots__view-all-promos-btn:hover {
  background: #005f2c;
  transform: translateY(-2px);
  text-decoration: none;
}

/* FAQ Section */
.page-jackpot-slots__faq-section {
  padding: 60px 0;
  background-color: #017439;
}

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

details.page-jackpot-slots__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

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: rgba(255, 255, 255, 0.1);
}

.page-jackpot-slots__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-jackpot-slots__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFFF00;
  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: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
  font-size: 16px;
  line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-slots__section-title {
    font-size: 32px;
  }
  .page-jackpot-slots__main-title {
    font-size: 30px;
  }
  .page-jackpot-slots p {
    font-size: 16px;
  }
  .page-jackpot-slots__hero-image {
    margin-bottom: 20px;
  }
  .page-jackpot-slots__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-jackpot-slots__feature-title {
    font-size: 20px;
  }
  .page-jackpot-slots__game-title,
  .page-jackpot-slots__promotion-title {
    font-size: 18px;
  }
  .page-jackpot-slots__step-title {
    font-size: 20px;
  }
  details.page-jackpot-slots__faq-item summary.page-jackpot-slots__faq-question {
    font-size: 16px;
  }
  details.page-jackpot-slots__faq-item .page-jackpot-slots__faq-answer {
    font-size: 15px;
  }
}

@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 {
    border-radius: 8px;
  }
  .page-jackpot-slots__hero-content {
    padding: 0 10px;
  }
  .page-jackpot-slots__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-jackpot-slots__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-jackpot-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-jackpot-slots__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-jackpot-slots__btn-center {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-jackpot-slots__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-jackpot-slots__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-jackpot-slots p {
    font-size: 15px;
    text-align: left;
  }
  .page-jackpot-slots__image-content {
    margin: 20px auto;
    border-radius: 6px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-jackpot-slots__features-grid,
  .page-jackpot-slots__games-grid,
  .page-jackpot-slots__steps-grid,
  .page-jackpot-slots__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .page-jackpot-slots__feature-card,
  .page-jackpot-slots__game-card,
  .page-jackpot-slots__step-card,
  .page-jackpot-slots__promotion-card {
    padding: 20px;
  }
  .page-jackpot-slots__feature-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .page-jackpot-slots__game-title,
  .page-jackpot-slots__promotion-title {
    font-size: 16px;
  }
  .page-jackpot-slots__game-card img,
  .page-jackpot-slots__promotion-card img {
    
    border-radius: 4px;
  }
  .page-jackpot-slots__btn-play,
  .page-jackpot-slots__btn-promotion {
    padding: 8px 20px;
    font-size: 14px;
  }
  .page-jackpot-slots__view-all-games-btn,
  .page-jackpot-slots__view-all-promos-btn {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-jackpot-slots__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  .page-jackpot-slots__step-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  details.page-jackpot-slots__faq-item summary.page-jackpot-slots__faq-question {
    padding: 15px;
    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;
    font-size: 14px;
  }
}