/* 隐私政策页面专用样式 */

/* 隐私页面主横幅调整 */
.privacy-hero {
  min-height: 50vh;
  padding: 120px 0 60px;
}

.privacy-hero .hero-content {
  display: block;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  background-image: url("../images/cq.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: local;
  padding: 40px 20px;
}

.privacy-hero .hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 1),
    0 0 15px rgba(255, 255, 255, 0.9), -2px -2px 6px rgba(255, 255, 255, 0.8);
}

.privacy-hero .hero-text p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #2c3e50;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 0.8), -1px -1px 4px rgba(255, 255, 255, 0.7);
}

/* 隐私政策内容区 */
.privacy-content {
  padding: 80px 0;
  background: #fff;
}

.privacy-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

/* 引言段落 */
.privacy-intro {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 142, 142, 0.05));
  border-left: 4px solid #ff6b6b;
  padding: 25px 30px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.privacy-intro p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

.privacy-intro a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.privacy-intro a:hover {
  color: #ff5252;
  text-decoration: underline;
}

/* 各条款区块 */
.privacy-section {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #f0f0f0;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.privacy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section:nth-child(2) {
  animation-delay: 0.1s;
}
.privacy-section:nth-child(3) {
  animation-delay: 0.2s;
}
.privacy-section:nth-child(4) {
  animation-delay: 0.3s;
}
.privacy-section:nth-child(5) {
  animation-delay: 0.4s;
}

.privacy-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 107, 107, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.privacy-section h2::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
  border-radius: 2px;
}

.privacy-section p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 18px;
  text-align: justify;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  word-break: break-all;
}

.privacy-section a:hover {
  color: #ff5252;
  text-decoration: underline;
}

/* 列表样式 */
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 20px 0;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
}

.privacy-list li {
  padding: 14px 25px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #555;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.3s;
}

.privacy-list li:last-child {
  border-bottom: none;
}

.privacy-list li:hover {
  background: rgba(255, 107, 107, 0.05);
  color: #2c3e50;
}

.privacy-list li::before {
  content: "▸";
  color: #ff6b6b;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 更新提示 */
.privacy-updated {
  text-align: center;
  padding-top: 40px;
  margin-top: 20px;
  border-top: 1px dashed #e9ecef;
}

.privacy-updated p {
  color: #aaa;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.privacy-updated i {
  color: #ccc;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .privacy-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .privacy-hero .hero-text p {
    font-size: 1rem;
  }

  .privacy-content {
    padding: 60px 0;
  }

  .privacy-intro {
    padding: 20px 22px;
    margin-bottom: 40px;
  }

  .privacy-intro p {
    font-size: 1rem;
  }

  .privacy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .privacy-section h2 {
    font-size: 1.4rem;
  }

  .privacy-section p {
    font-size: 1rem;
    text-align: left;
  }

  .privacy-list {
    margin: 15px 0 15px 0;
  }

  .privacy-list li {
    padding: 12px 20px;
    font-size: 0.98rem;
  }

  .privacy-updated {
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .privacy-hero {
    padding: 100px 0 40px;
  }

  .privacy-hero .hero-text h1 {
    font-size: 2rem;
  }

  .privacy-content {
    padding: 50px 0;
  }

  .privacy-wrapper {
    padding: 0 5px;
  }

  .privacy-intro {
    padding: 18px 18px;
    margin-bottom: 35px;
    border-radius: 0 10px 10px 0;
  }

  .privacy-intro p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .privacy-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
  }

  .privacy-section h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .privacy-section p {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 15px;
  }

  .privacy-list li {
    padding: 10px 16px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .privacy-updated {
    padding-top: 25px;
  }

  .privacy-updated p {
    font-size: 0.9rem;
  }
}
