/* ============================================================
   服务条款页样式 terms.css
   移植自 v2_fanscome_official/terms.html（去掉导航/页脚样式，由 landing.css 提供）
   ============================================================ */

:root {
    --primary: #F5222D;
    --primary-light: #ff4d4f;
    --text-primary: #1a1a2e;
}

body {
    background: #f5f5f7;
    min-height: 100vh;
}

/* ===== 主内容区 ===== */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* ===== 页面标题 ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 5%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(245, 34, 45, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 120, 117, 0.1) 0%, transparent 50%);
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== 条款内容 ===== */
.terms-section {
    padding: 60px 5%;
    max-width: 900px;
    margin: 0 auto;
}
.terms-content {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.terms-content h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.terms-content h2:first-child {
    margin-top: 0;
}
.terms-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 24px 0 12px;
}
.terms-content p {
    color: #555;
    margin-bottom: 16px;
    line-height: 1.8;
}
.terms-content ul,
.terms-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.terms-content li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.8;
}
.terms-content strong {
    color: #1a1a2e;
}
.terms-content a {
    color: var(--primary);
    text-decoration: none;
}
.terms-content a:hover {
    text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header {
        padding: 60px 5%;
    }
    .terms-content {
        padding: 24px;
    }
    .terms-content h2 {
        font-size: 1.3rem;
    }
}
