/* Homepage specific CSS as explicitly requested, even for a non-homepage */
@media (max-width: 1023px) {
  .page-privacy-policy__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot {
    display: none !important;
  }
  .page-privacy-policy__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-topbar,
  .page-privacy-policy__game-trial-bottombar {
    display: none !important;
  }
  .page-privacy-policy__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-privacy-policy__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-privacy-policy__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-privacy-policy__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot,
  .page-privacy-policy__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-privacy-policy__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-privacy-policy__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-privacy-policy__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* @media (max-width: 768px)必写清单 */
@media (max-width: 768px) {
  /* 1. 首屏试玩: 已在1023px覆盖 */
  /* 2. 优惠 __promo-strip: placeholder, as not present on privacy page but required by prompt */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Adjusted from 4 to 2 for mobile */
    overflow-x: hidden !important;
    gap: 10px !important;
  }
  .page-privacy-policy__promo-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .page-privacy-policy__promo-card-image {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
  }
  .page-privacy-policy__promo-card-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  .page-privacy-policy__promo-card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 3. 热门 __hot-games: placeholder, as not present on privacy page but required by prompt */
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .page-privacy-policy__hot-games-card-name,
  .page-privacy-policy__hot-games-card-rtp,
  .page-privacy-policy__hot-games-card-desc {
    display: none !important;
  }
  .page-privacy-policy__hot-games-card-image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__hot-games-card {
    text-align: center !important;
  }

  /* 4. 品牌 __brand-intro: placeholder */
  .page-privacy-policy__brand-intro {
    padding: 20px 15px !important;
  }
  .page-privacy-policy__brand-intro-content {
    flex-direction: column !important;
    text-align: center !important;
  }
  .page-privacy-policy__brand-intro-image {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  /* 5. 中奖条 __winner-ticker: placeholder */
  .page-privacy-policy__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    padding: 8px 15px !important;
    box-sizing: border-box !important;
  }
  body {
    padding-bottom: 40px !important; /* Adjust body padding to accommodate fixed ticker */
  }

  /* 6. 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__container,
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 7. 按钮与按钮容器 */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px !important; /* Add spacing between stacked buttons */
  }
  .page-privacy-policy__contact-options {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* 8. 其他模块 (内页 FAQ 等) 768px 规则 */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px !important; }
  .page-privacy-policy__faq-qtext { font-size: 15px !important; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px !important; }
}

/* General styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background: #F5F7FA; /* Body background from custom palette */
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
}

.page-privacy-policy__hero-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  padding: 40px 0;
  text-align: center;
  color: #ffffff;
}

.page-privacy-policy__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
  font-size: 3.2em; /* Base size */
}

.page-privacy-policy__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

.page-privacy-policy__section {
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #E53935;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

.page-privacy-policy__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dark section for contrast */
.page-privacy-policy__dark-section {
  background: #E53935;
  color: #ffffff;
}
.page-privacy-policy__dark-section .page-privacy-policy__section-title,
.page-privacy-policy__dark-section .page-privacy-policy__sub-title,
.page-privacy-policy__dark-section .page-privacy-policy__text-block,
.page-privacy-policy__dark-section .page-privacy-policy__list-item {
  color: #ffffff;
}
.page-privacy-policy__dark-section .page-privacy-policy__list {
  list-style: disc inside;
}
.page-privacy-policy__dark-section .page-privacy-policy__link {
  color: #FFD700; /* Gold for contrast on red */
}


/* Buttons */
.page-privacy-policy__contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}