/* ============================================
   法律页面样式 - 用户协议 / 隐私政策
   ============================================ */

.page-header {
  position: relative;
  background: #d43f50;
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: 0;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  position: relative;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.9;
  letter-spacing: 2px;
  position: relative;
}

.content-container {
  max-width: 900px;
  margin: -30px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  border: 2px solid var(--border-light);
}

.content-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin: 32px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  letter-spacing: 2px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 12px;
}

.update-time {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

/* ============================================
   响应式布局
   ============================================ */
@media (max-width: 768px) {
  .content-card {
    padding: 24px 16px;
  }

  .page-header {
    padding: 50px 0 40px;
  }

  .page-header h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 36px 0 28px;
  }

  .page-header h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .page-header p {
    font-size: 14px;
  }

  .content-container {
    padding: 0 12px;
  }

  .content-card {
    padding: 20px 14px;
  }

  .content-card h2 {
    font-size: 17px;
    padding-left: 12px;
  }

  .content-card p {
    font-size: 14px;
    line-height: 1.8;
  }
}
