/* 页面基础样式 */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Main text color on dark body background */
  background-color: var(--deep-navy);
}

.page-privacy-policy__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #F3F8FF;
  background: linear-gradient(180deg, #08162B 0%, #113B7A 100%);
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.2;
  filter: brightness(0.6);
  min-height: 200px;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #AFC4E8;
}

.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #08162B;
  color: #F3F8FF;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 30px;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
}

.page-privacy-policy__content-area p {
  margin-bottom: 20px;
  color: #AFC4E8;
  padding-left: 16px;
  padding-right: 16px;
}

.page-privacy-policy__link {
  color: #1D5FD1;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #2B73F6;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: #AFC4E8;
}

.page-privacy-policy__list li strong {
  color: #F3F8FF;
}

.page-privacy-policy__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding: 0 16px;
}

.page-privacy-policy__card {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #F3F8FF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__card-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px;
}

.page-privacy-policy__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-privacy-policy__card p {
  font-size: 0.95rem;
  color: #AFC4E8;
  text-align: center;
  padding: 0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #113B7A;
  color: #F3F8FF;
}

.page-privacy-policy__section-title--faq {
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84;
  overflow: hidden;
  background: #10233F;
  color: #F3F8FF;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__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: #F3F8FF;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #08162B;
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

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

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #08162B;
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  padding: 0;
  color: #AFC4E8;
}

/* --- HOMEPAGE SPECIFIC CSS (REQUIRED BY PROMPT) --- */
@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;
  }
  .page-privacy-policy__promo-strip {
    margin-top: 16px;
  }
  .page-privacy-policy__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .page-privacy-policy__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 15px;
  }
  .page-privacy-policy__promo-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .page-privacy-policy__promo-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  .page-privacy-policy__promo-content p {
    font-size: 0.85rem;
  }
  .page-privacy-policy__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .page-privacy-policy__hot-game-card {
    text-align: center;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: block;
  }
  .page-privacy-policy__winner-ticker {
    position: static;
    padding: 10px 0;
  }
  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    padding: 40px 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 2rem;
  }
  .page-privacy-policy__intro-text {
    font-size: 1rem;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5rem;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__content-area p,
  .page-privacy-policy__list,
  .page-privacy-policy__list li {
    font-size: 0.95rem;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__info-cards {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-privacy-policy__card {
    padding: 20px;
  }
  .page-privacy-policy__card-title {
    font-size: 1.2rem;
  }
  .page-privacy-policy__card-image {
    max-width: 200px;
  }
  .page-privacy-policy__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .page-privacy-policy__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 1rem;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-privacy-policy__promo-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none;
  }
  .page-privacy-policy__winner-ticker {
    bottom: 0;
    padding: 8px 0;
  }
  body {
    padding-bottom: 50px !important; /* Adjust for fixed ticker */
  }
}

/* General image and container responsiveness */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__section,
.page-privacy-policy__container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Fixed overlay and modal for homepage game trial (if applicable) */
.page-privacy-policy__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}
.page-privacy-policy__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-privacy-policy__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-privacy-policy__game-trial-shell {
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 10px;
  overflow: hidden;
}
.page-privacy-policy__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.page-privacy-policy__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.page-privacy-policy__reward-modal-content {
  background: #10233F;
  color: #F3F8FF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #F2C14E;
  cursor: pointer;
}
.page-privacy-policy__reward-modal h3 {
  color: #F2C14E;
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.page-privacy-policy__reward-modal p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #AFC4E8;
}
.page-privacy-policy__reward-modal .page-privacy-policy__btn-primary {
  margin-top: 10px;
}

/* Color Contrast Fixes (if needed) */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}
.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}