/* style/privacy-policy.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Ensure light text on dark body background */
  line-height: 1.6;
  background-color: var(--background-color); /* Fallback, but body background is from shared.css */
}

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small fixed top padding, as body handles header offset */
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

.page-privacy-policy__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--divider-color);
}

.page-privacy-policy__section-intro p,
.page-privacy-policy__data-collection p,
.page-privacy-policy__data-usage p,
.page-privacy-policy__data-sharing p,
.page-privacy-policy__security p,
.page-privacy-policy__user-rights p,
.page-privacy-policy__cookie-policy p,
.page-privacy-policy__policy-updates p,
.page-privacy-policy__contact-us p {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

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

.page-privacy-policy__list li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 0.95em;
}

.page-privacy-policy__list li strong {
  color: var(--text-main);
}

.page-privacy-policy__image-block {
  text-align: center;
  margin: 40px 0;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

.page-privacy-policy__contact-us a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  max-width: 100%; /* Ensure button adapts to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.4);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__hero-image {
    width: 100%;
    height: 500px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small fixed top padding */
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }
  .page-privacy-policy__main-title {
    font-size: 1.8em;
    line-height: 1.3;
  }
  .page-privacy-policy__description {
    font-size: 1em;
  }

  /* 其他内容模块 */
  .page-privacy-policy__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__list {
    padding-left: 15px;
  }
  .page-privacy-policy__list li {
    font-size: 0.9em;
  }
  
  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__image-block {
    margin: 20px 0;
  }
  
  /* 按钮与按钮容器 */
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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: 12px 20px;
    font-size: 1em;
  }
}