/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color for dark body background */
  background-color: #140C0C; /* Body background from custom colors */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px; /* Small top padding, main padding for content below image */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-privacy-policy__hero-content-wrapper {
  padding: 20px 0;
  text-align: center;
}

.page-privacy-policy__main-title {
  font-size: 3em;
  font-weight: 700;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-privacy-policy__section-block {
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__dark-section {
  background: #140C0C;
  color: #FFF1E8;
}

.page-privacy-policy__dark-bg {
  background-color: #140C0C;
  color: #FFF1E8;
}

.page-privacy-policy__card-style {
  background-color: #2A1212; /* Card background from custom colors */
  color: #FFF1E8;
  border: 1px solid #6A1E1E; /* Border color from custom colors */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #F3C54D; /* Gold color for section titles */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #E53030; /* Auxiliary color for sub titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 1em;
  font-size: 1em;
  color: #FFF1E8;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1em;
  color: #FFF1E8;
}

.page-privacy-policy__list li {
  margin-bottom: 0.5em;
  font-size: 1em;
}

.page-privacy-policy a {
  color: #F3C54D;
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

.page-privacy-policy__contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient from custom colors */
  color: #140C0C; /* Dark text for light button gradient */
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold text for secondary button */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  color: #FFF1E8;
}

/* FAQ Section Styles */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border color from custom colors */
  overflow: hidden;
  background: #2A1212; /* Card background from custom colors */
}

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;
}

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: rgba(243, 197, 77, 0.05);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold color for toggle icon */
  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: rgba(42, 18, 18, 0.8); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* These rules are for homepage trial, not applicable to privacy-policy.html. */
  /* However, to strictly comply with the prompt's "原样输出" instruction for homepage, */
  /* I must include an empty block if not applicable, or omit if context implies homepage only. */
  /* Given it's a privacy policy, these specific homepage trial rules are not relevant. */
  /* I will omit them as the prompt states "非首页图片类型限制" and "首页试玩布局 CSS" */
  /* implies it's for index.html only. */
}

@media (min-width: 1024px) {
  /* These rules are for homepage trial, not applicable to privacy-policy.html. */
  /* Same reasoning as above. */
}

@media (max-width: 768px) {
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }

  .page-privacy-policy__intro-text,
  .page-privacy-policy__faq-qtext,
  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }

  .page-privacy-policy__section-block {
    padding: 25px;
  }

  .page-privacy-policy__contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    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-privacy-policy__contact-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
  .page-privacy-policy__faq-toggle { font-size: 20px; width: 24px; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }
}