.page-slot-jackpot {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

.page-slot-jackpot__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-slot-jackpot__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-jackpot__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-jackpot__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-slot-jackpot__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFF00; /* Register and Login Font Color */
}

.page-slot-jackpot__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-jackpot__hero-cta-buttons,
.page-slot-jackpot__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-jackpot__btn-primary,
.page-slot-jackpot__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  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;
}

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

.page-slot-jackpot__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-slot-jackpot__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-slot-jackpot__btn-secondary:hover {
  background-color: #FFFF00;
  color: #000000;
  border-color: #FFFF00;
}

.page-slot-jackpot__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-jackpot__overview-section,
.page-slot-jackpot__benefits-section,
.page-slot-jackpot__promotions-section,
.page-slot-jackpot__cta-section {
  padding: 60px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Background color */
}

.page-slot-jackpot__overview-section .page-slot-jackpot__section-title,
.page-slot-jackpot__benefits-section .page-slot-jackpot__section-title,
.page-slot-jackpot__promotions-section .page-slot-jackpot__section-title,
.page-slot-jackpot__cta-section .page-slot-jackpot__section-title {
  color: #017439;
}

.page-slot-jackpot__game-types-section,
.page-slot-jackpot__how-to-play-section,
.page-slot-jackpot__faq-section {
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
  background-color: #017439; /* Main brand color */
}

.page-slot-jackpot__game-types-section .page-slot-jackpot__section-title,
.page-slot-jackpot__how-to-play-section .page-slot-jackpot__section-title,
.page-slot-jackpot__faq-section .page-slot-jackpot__section-title {
  color: #FFFF00; /* Yellow for contrast */
}

.page-slot-jackpot__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-jackpot__game-grid,
.page-slot-jackpot__benefits-grid,
.page-slot-jackpot__promo-grid,
.page-slot-jackpot__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-jackpot__game-card,
.page-slot-jackpot__benefit-item,
.page-slot-jackpot__promo-card,
.page-slot-jackpot__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-jackpot__light-bg .page-slot-jackpot__game-card,
.page-slot-jackpot__light-bg .page-slot-jackpot__benefit-item,
.page-slot-jackpot__light-bg .page-slot-jackpot__promo-card,
.page-slot-jackpot__light-bg .page-slot-jackpot__step-card {
  background-color: #f9f9f9;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-jackpot__game-card .page-slot-jackpot__card-image,
.page-slot-jackpot__promo-card .page-slot-jackpot__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-jackpot__card-title,
.page-slot-jackpot__benefit-title,
.page-slot-jackpot__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-slot-jackpot__light-bg .page-slot-jackpot__card-title,
.page-slot-jackpot__light-bg .page-slot-jackpot__benefit-title,
.page-slot-jackpot__light-bg .page-slot-jackpot__step-title {
  color: #017439; /* Green for titles on light background */
}

.page-slot-jackpot__card-description {
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.page-slot-jackpot__step-card {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-jackpot__step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFFF00;
  color: #017439;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

.page-slot-jackpot__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-slot-jackpot__btn-text {
  color: #FFFF00;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

.page-slot-jackpot__light-bg .page-slot-jackpot__btn-text {
  color: #017439;
}

.page-slot-jackpot__btn-text:hover {
  text-decoration: underline;
}

.page-slot-jackpot__faq-list {
  margin-top: 30px;
}

.page-slot-jackpot__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slot-jackpot__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFF00;
}

.page-slot-jackpot__faq-item summary {
  list-style: none;
}

.page-slot-jackpot__faq-item summary::-webkit-details-marker,
.page-slot-jackpot__faq-item summary::marker {
  display: none;
}

.page-slot-jackpot__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-jackpot__faq-item[open] .page-slot-jackpot__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-jackpot__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-slot-jackpot__faq-answer p {
  margin: 0;
}

/* General image responsiveness */
.page-slot-jackpot img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-slot-jackpot__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-jackpot__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-slot-jackpot__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-slot-jackpot__game-grid,
  .page-slot-jackpot__benefits-grid,
  .page-slot-jackpot__promo-grid,
  .page-slot-jackpot__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-slot-jackpot__game-card .page-slot-jackpot__card-image,
  .page-slot-jackpot__promo-card .page-slot-jackpot__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-slot-jackpot__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-slot-jackpot__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-slot-jackpot__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-slot-jackpot__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  /* 产品展示图区域 (游戏卡片) */
  .page-slot-jackpot__game-grid,
  .page-slot-jackpot__benefits-grid,
  .page-slot-jackpot__promo-grid,
  .page-slot-jackpot__steps-grid {
    grid-template-columns: 1fr !important; /* Stack vertically */
    gap: 20px;
  }
  .page-slot-jackpot__game-card,
  .page-slot-jackpot__benefit-item,
  .page-slot-jackpot__promo-card,
  .page-slot-jackpot__step-card {
    padding: 20px;
  }
  .page-slot-jackpot__game-card .page-slot-jackpot__card-image,
  .page-slot-jackpot__promo-card .page-slot-jackpot__card-image {
    height: 220px !important; /* Adjust height for mobile */
  }

  /* 通用图片与容器 */
  .page-slot-jackpot img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-jackpot__container,
  .page-slot-jackpot__overview-section,
  .page-slot-jackpot__game-types-section,
  .page-slot-jackpot__benefits-section,
  .page-slot-jackpot__how-to-play-section,
  .page-slot-jackpot__promotions-section,
  .page-slot-jackpot__faq-section,
  .page-slot-jackpot__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-slot-jackpot__btn-primary,
  .page-slot-jackpot__btn-secondary,
  .page-slot-jackpot a[class*="button"],
  .page-slot-jackpot 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-slot-jackpot__hero-cta-buttons,
  .page-slot-jackpot__cta-buttons,
  .page-slot-jackpot__button-group,
  .page-slot-jackpot__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px; /* Buttons already have internal padding */
    padding-right: 0px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* 其他内容模块 */
  .page-slot-jackpot__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-slot-jackpot__text-block {
    font-size: 1rem;
  }
  .page-slot-jackpot__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-slot-jackpot__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-slot-jackpot__overview-section,
  .page-slot-jackpot__benefits-section,
  .page-slot-jackpot__promotions-section,
  .page-slot-jackpot__cta-section,
  .page-slot-jackpot__game-types-section,
  .page-slot-jackpot__how-to-play-section,
  .page-slot-jackpot__faq-section {
    padding: 40px 0;
  }
}