/* ============================================================
   index.css - 星辰影院 主样式表
   包含：基础样式 + 首页 + 影视列表 + 影视内容 + 明星介绍 +
         平台介绍 + APP下载 + 版权说明 + 联系我们
   ============================================================ */

/* ========== CSS 变量 ========== */
:root {
    --primary-dark: #004a7c;
    --primary: #005691;
    --primary-light: #0077b6;
    --gray-medium: #cdcdcd;
    --gray-light: #f2f2f2;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-body: #333333;
    --text-muted: #666666;
    --accent-gold: #e8b830;
    --accent-red: #d9443a;
    --accent-green: #2ecc71;
    --accent-blue: #3498db;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1320px;
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.35rem;
    --font-2xl: 1.6rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
}

/* ========== 全局重置 ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: #f8f9fb;
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 顶部导航 100%宽度 ========== */
.top-nav {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003d66 40%, var(--primary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}
.top-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    gap: 16px;
}
.top-nav .site-brand {
    flex-shrink: 0;
}
.top-nav .site-brand h1 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}
.top-nav .site-brand h1 .icon-film {
    display: inline-block;
    margin-right: 6px;
    font-size: 1.4rem;
    vertical-align: -1px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    flex: 1;
    min-width: 0;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    outline: none;
}
.nav-login {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: var(--font-sm);
    font-weight: 500;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 22px;
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
}
.nav-login:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}
.nav-login .avatar-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8b830;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1a1a2e;
    font-size: var(--font-xs);
    flex-shrink: 0;
}

/* ========== 主容器 ========== */
.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== Banner Brand ========== */
.brand-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0a0e17;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    opacity: 0.7;
}
.brand-banner .banner-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
}
.brand-banner .banner-overlay h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
    letter-spacing: 1px;
    line-height: 1.25;
}
.brand-banner .banner-overlay p {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    line-height: 1.5;
}
.brand-banner .banner-overlay .btn-banner {
    display: inline-block;
    background: var(--accent-gold);
    color: #1a1a2e;
    padding: 12px 32px;
    border-radius: 28px;
    font-weight: 700;
    text-decoration: none;
    font-size: var(--font-base);
    transition: var(--transition);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(232, 184, 48, 0.35);
}
.brand-banner .banner-overlay .btn-banner:hover {
    background: #f0c84a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 184, 48, 0.5);
}

/* ========== 板块通用标题 ========== */
.section-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 5px solid var(--primary);
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.section-wrap {
    margin: 36px 0;
}

/* ========== 平台介绍 ========== */
.intro-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8ecf1;
    line-height: 1.8;
    color: var(--text-body);
    font-size: var(--font-base);
}
.intro-card strong {
    color: var(--primary-dark);
}

/* ========== 左右布局 ========== */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 1024px) {
    .content-layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
    .content-layout { grid-template-columns: 1fr; gap: 20px; }
}

/* ========== 卡片网格 ========== */
.card-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
@media (max-width: 1200px) { .card-grid-6 { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (max-width: 768px)  { .card-grid-6 { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 480px)  { .card-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 768px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .card-grid-3 { grid-template-columns: 1fr; } }

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 480px) { .card-grid-2 { grid-template-columns: 1fr; } }

/* ========== 影视卡片 ========== */
.movie-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #eef1f5;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #d0d8e2;
}
.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    background: #e9ecf2;
}
.movie-card .card-body {
    padding: 10px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-card .card-body .movie-title {
    font-weight: 700;
    font-size: var(--font-sm);
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-card .card-body .movie-meta {
    font-size: var(--font-xs);
    color: var(--text-muted);
    line-height: 1.5;
}
.movie-card .card-body .movie-meta span {
    display: inline-block;
    margin-right: 6px;
    background: var(--gray-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-bottom: 3px;
}
.movie-card .card-body .movie-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: auto;
}

/* ========== 明星卡片 ========== */
.star-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eef1f5;
    padding-bottom: 14px;
}
.star-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.star-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: #e9ecf2;
}
.star-card .star-name {
    font-weight: 700;
    font-size: var(--font-base);
    margin-top: 10px;
    color: var(--text-dark);
}
.star-card .star-role {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* ========== 剧情介绍卡片 ========== */
.plot-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.plot-card:hover {
    box-shadow: var(--shadow-md);
}
.plot-card h4 {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.plot-card p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 电影详情卡片 ========== */
.detail-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eef1f5;
    transition: var(--transition);
}
.detail-card:hover {
    box-shadow: var(--shadow-md);
}
.detail-card img {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: #e9ecf2;
}
@media (max-width: 480px) {
    .detail-card img { width: 80px; height: 112px; }
    .detail-card { gap: 10px; padding: 10px; }
}
.detail-card .detail-info {
    flex: 1;
    min-width: 0;
}
.detail-card .detail-info h4 {
    font-weight: 700;
    font-size: var(--font-base);
    color: var(--text-dark);
    margin-bottom: 4px;
}
.detail-card .detail-info .detail-meta {
    font-size: var(--font-xs);
    color: var(--text-muted);
    line-height: 1.6;
}
.detail-card .detail-info .detail-desc {
    font-size: var(--font-xs);
    color: #555;
    margin-top: 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 右侧边栏 ========== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 76px;
}
@media (max-width: 1024px) {
    .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
    .sidebar { grid-template-columns: 1fr; gap: 14px; }
}
.sidebar-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
.sidebar-box h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}
.sidebar-box .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e8ecf1;
    font-size: var(--font-sm);
}
.sidebar-box .stat-row:last-child {
    border-bottom: none;
}
.sidebar-box .stat-val {
    font-weight: 700;
    color: var(--primary);
    font-size: var(--font-base);
}
.sidebar-box .update-time {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-top: 8px;
    text-align: right;
}
.rank-list {
    list-style: none;
    counter-reset: rank;
}
.rank-list li {
    counter-increment: rank;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}
.rank-list li::before {
    content: counter(rank);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--font-xs);
    flex-shrink: 0;
    background: var(--gray-light);
    color: var(--text-muted);
}
.rank-list li:nth-child(1)::before { background: #e8b830; color: #fff; }
.rank-list li:nth-child(2)::before { background: #c0c0c0; color: #fff; }
.rank-list li:nth-child(3)::before { background: #cd9b6c; color: #fff; }
.rank-list li span {
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-list li small {
    color: var(--accent-red);
    font-weight: 600;
    flex-shrink: 0;
}

/* ========== 评论板块 ========== */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.comment-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
}
.comment-item:hover {
    box-shadow: var(--shadow-md);
}
.comment-item .comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.comment-item .comment-user {
    font-weight: 600;
    font-size: var(--font-sm);
    color: var(--text-dark);
}
.comment-item .comment-time {
    font-size: var(--font-xs);
    color: #999;
    margin-left: auto;
}
.comment-item .comment-text {
    font-size: var(--font-sm);
    color: #444;
    line-height: 1.7;
    text-align: justify;
}

/* ========== 下载板块 ========== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 768px) { .download-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 400px) { .download-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--font-base);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.download-btn.android { background: #3ddc84; color: #1a1a2e; border-color: #3ddc84; }
.download-btn.android:hover { background: #2cc972; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(61, 220, 132, 0.35); }
.download-btn.ios { background: #1a1a2e; border-color: #1a1a2e; }
.download-btn.ios:hover { background: #2d2d44; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.download-btn.pc { background: #52616b; border-color: #52616b; }
.download-btn.pc:hover { background: #3e4a53; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(82, 97, 107, 0.35); }
.download-btn.mac { background: #333; border-color: #333; }
.download-btn.mac:hover { background: #444; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.download-btn .app-icon { flex-shrink: 0; }

/* ========== 常见问题 ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid #eef1f5;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item summary {
    padding: 16px 18px;
    font-weight: 600;
    cursor: pointer;
    font-size: var(--font-base);
    color: var(--primary-dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    background: #fafbfc;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 8px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
    padding: 0 18px 16px;
    font-size: var(--font-sm);
    color: #555;
    line-height: 1.7;
}

/* ========== 友情链接 ========== */
.friend-links-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 4px 0;
}
a.link_friendlinks_a {
    color: var(--primary);
    text-decoration: none;
    font-size: var(--font-sm);
    padding: 6px 14px;
    border: 1px solid #d0d8e2;
    border-radius: 18px;
    transition: var(--transition);
    white-space: nowrap;
    background: var(--white);
}
a.link_friendlinks_a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ========== 底部导航 100%宽度 ========== */
.bottom-nav {
    width: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, var(--primary-dark) 100%);
    color: #ccc;
    padding: 32px 20px 20px;
    margin-top: auto;
    border-top: 3px solid rgba(255, 255, 255, 0.08);
}
.bottom-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
}
@media (max-width: 600px) {
    .bottom-nav-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
}
.bottom-nav a {
    color: #bbb;
    text-decoration: none;
    font-size: var(--font-sm);
    transition: var(--transition);
}
.bottom-nav a:hover { color: #fff; text-decoration: underline; }
.bottom-nav .footer-brand {
    font-weight: 700;
    font-size: var(--font-lg);
    color: #fff;
}
.bottom-nav .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.bottom-nav .copyright {
    font-size: var(--font-xs);
    color: #888;
    margin-top: 12px;
    text-align: center;
    width: 100%;
}

/* ========== 周榜推荐标签 ========== */
.badge-hot {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
    animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========== 辅助类 ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mb-2 { margin-bottom: 8px; }

/* ================================================================
   页面2: 影视列表 (list.php) - 筛选+列表布局
   ================================================================ */

/* 页面标题区 */
.page-header {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
    padding: 36px 24px;
    text-align: center;
    border-bottom: 1px solid #dde1e7;
}
.page-header h1 {
    font-size: var(--font-3xl);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.page-header .breadcrumb {
    font-size: var(--font-sm);
    color: var(--text-muted);
}
.page-header .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.page-header .breadcrumb span {
    margin: 0 6px;
}

/* 筛选栏 */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
.filter-bar .filter-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.filter-bar .filter-group:last-child { margin-bottom: 0; }
.filter-bar .filter-label {
    font-weight: 700;
    font-size: var(--font-sm);
    color: var(--text-dark);
    min-width: 60px;
    padding-top: 6px;
    flex-shrink: 0;
}
.filter-bar .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}
.filter-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 16px;
    font-size: var(--font-xs);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #dde1e7;
    background: #fafbfc;
    color: var(--text-body);
    text-decoration: none;
    white-space: nowrap;
}
.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 列表卡片 - 横向布局 */
.list-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
}
.list-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: #d0d8e2;
}
.list-card img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: #e9ecf2;
}
.list-card .list-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.list-card .list-card-info h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}
.list-card .list-card-info .list-card-meta {
    font-size: var(--font-sm);
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.list-card .list-card-info .list-card-meta .meta-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--gray-light);
    border-radius: 10px;
    font-size: var(--font-xs);
}
.list-card .list-card-info .list-card-desc {
    font-size: var(--font-sm);
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-card .list-card-info .list-card-score {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.list-card .list-card-info .list-card-score .score-star {
    color: var(--accent-gold);
    font-size: var(--font-lg);
}
.list-card .list-card-info .list-card-score .score-val {
    font-weight: 700;
    font-size: var(--font-xl);
    color: var(--accent-gold);
}
.list-card .list-card-info .list-card-score .score-count {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    padding: 16px 0;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: var(--font-sm);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid #dde1e7;
    background: var(--white);
    color: var(--text-body);
}
.pagination a:hover { background: #f0f4f8; border-color: var(--primary); }
.pagination span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination span.dots {
    border: none;
    background: transparent;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .list-card { flex-direction: column; }
    .list-card img { width: 100%; height: 200px; }
}

/* ================================================================
   页面3: 影视内容 (content.php) - 深度排版优化
   ================================================================ */

/* Hero区域 */
.content-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0a0e17;
}
.content-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: blur(8px);
    transform: scale(1.05);
}
.content-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}
.content-hero .hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    width: 100%;
}
.content-hero .hero-poster {
    width: 220px;
    height: 310px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    background: #1a1a2e;
}
.content-hero .hero-info {
    flex: 1;
    min-width: 0;
    color: #fff;
}
.content-hero .hero-info h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}
.content-hero .hero-info .hero-subtitle {
    font-size: var(--font-base);
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.content-hero .hero-info .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.content-hero .hero-info .hero-stats .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content-hero .hero-info .hero-stats .hero-stat .stat-big {
    font-size: var(--font-2xl);
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}
.content-hero .hero-info .hero-stats .hero-stat .stat-label {
    font-size: var(--font-xs);
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.content-hero .hero-info .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.content-hero .hero-info .hero-tags .hero-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: var(--font-xs);
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.content-hero .hero-info .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 700;
    font-size: var(--font-base);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    background: var(--accent-gold);
    color: #1a1a2e;
    border: none;
    letter-spacing: 0.5px;
}
.btn-primary:hover { background: #f0c84a; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,184,48,0.4); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: var(--font-base);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
    .content-hero .hero-inner { flex-direction: column; align-items: center; text-align: center; }
    .content-hero .hero-poster { width: 160px; height: 225px; }
    .content-hero .hero-info .hero-stats { justify-content: center; }
    .content-hero .hero-info .hero-tags { justify-content: center; }
    .content-hero .hero-info .hero-actions { justify-content: center; }
}

/* 电影信息表格 */
.info-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    margin: 28px 0;
}
.info-table-wrap h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-dark);
    padding: 20px 24px 0;
    margin-bottom: 4px;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr {
    border-bottom: 1px solid #f0f2f5;
}
.info-table tr:last-child { border-bottom: none; }
.info-table td {
    padding: 14px 24px;
    font-size: var(--font-sm);
    vertical-align: top;
}
.info-table td.label {
    font-weight: 700;
    color: var(--text-dark);
    width: 130px;
    white-space: nowrap;
    background: #fafbfc;
    border-right: 1px solid #f0f2f5;
}
.info-table td.value {
    color: var(--text-body);
    line-height: 1.6;
}
.info-table td.value .info-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--gray-light);
    border-radius: 10px;
    font-size: var(--font-xs);
    margin-right: 6px;
    margin-bottom: 4px;
}
.info-table td.value .info-tag.tag-site {
    background: var(--primary);
    color: #fff;
}

/* 剧情简介 */
.synopsis-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    margin: 28px 0;
}
.synopsis-section h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}
.synopsis-section .synopsis-body {
    font-size: var(--font-base);
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

/* 演员阵容 */
.cast-section {
    margin: 28px 0;
}
.cast-section h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}
.cast-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) { .cast-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .cast-grid { grid-template-columns: repeat(3, 1fr); } }
.cast-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
}
.cast-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cast-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #e9ecf2;
    margin-bottom: 8px;
}
.cast-card .cast-name {
    font-weight: 700;
    font-size: var(--font-sm);
    color: var(--text-dark);
}
.cast-card .cast-role {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

/* 相关推荐 */
.related-section {
    margin: 28px 0;
}
.related-section h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}
.related-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.related-scroll::-webkit-scrollbar { height: 6px; }
.related-scroll::-webkit-scrollbar-thumb { background: #cdcdcd; border-radius: 3px; }
.related-card {
    flex: 0 0 160px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    background: #e9ecf2;
}
.related-card .related-info {
    padding: 8px 10px 10px;
}
.related-card .related-info .related-title {
    font-weight: 700;
    font-size: var(--font-xs);
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-card .related-info .related-meta {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ================================================================
   页面4: 明星介绍 (star-intro.php) - 时间线+画廊布局
   ================================================================ */

/* 明星资料头部 */
.star-profile {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    margin-bottom: 28px;
}
.star-profile .star-avatar-lg {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    background: #e9ecf2;
}
.star-profile .star-detail {
    flex: 1;
    min-width: 0;
}
.star-profile .star-detail h1 {
    font-size: var(--font-3xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.star-profile .star-detail .star-ename {
    font-size: var(--font-base);
    color: var(--text-muted);
    margin-bottom: 12px;
}
.star-profile .star-detail .star-bio {
    font-size: var(--font-base);
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}
.star-profile .star-detail .star-quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.star-profile .star-detail .star-quick-facts .fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fb;
    border-radius: var(--radius-sm);
    min-width: 80px;
}
.star-profile .star-detail .star-quick-facts .fact-item .fact-label {
    font-size: var(--font-xs);
    color: var(--text-muted);
}
.star-profile .star-detail .star-quick-facts .fact-item .fact-value {
    font-weight: 700;
    font-size: var(--font-base);
    color: var(--primary-dark);
}
@media (max-width: 600px) {
    .star-profile { flex-direction: column; align-items: center; text-align: center; }
    .star-profile .star-avatar-lg { width: 140px; height: 140px; }
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 40px;
    margin: 28px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--primary));
    border-radius: 2px;
}
.timeline-entry {
    position: relative;
    margin-bottom: 24px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
}
.timeline-entry:hover { box-shadow: var(--shadow-md); }
.timeline-entry::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 22px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
}
.timeline-entry .tl-year {
    font-weight: 800;
    font-size: var(--font-lg);
    color: var(--primary);
    margin-bottom: 4px;
}
.timeline-entry .tl-title {
    font-weight: 700;
    font-size: var(--font-base);
    color: var(--text-dark);
}
.timeline-entry .tl-desc {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-top: 4px;
}

/* 照片画廊 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 28px 0;
}
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: var(--transition);
    cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #e9ecf2;
}

/* ================================================================
   页面5: 平台介绍 (platform.php) - 功能卡片+数据展示
   ================================================================ */

/* 功能介绍卡片 */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #e8f4fd 0%, #d0e8f8 100%);
}
.feature-card h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* 数据统计条 */
.stats-strip {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    margin: 28px 0;
    color: #fff;
}
.stat-counter {
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.stat-counter .counter-num {
    font-size: var(--font-3xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-gold);
}
.stat-counter .counter-label {
    font-size: var(--font-sm);
    margin-top: 6px;
    opacity: 0.85;
}

/* 平台时间线 */
.platform-timeline {
    margin: 28px 0;
}
.platform-timeline h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}
.pt-entry {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.pt-entry .pt-year {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-lg);
    box-shadow: var(--shadow-md);
}
.pt-entry .pt-content {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
.pt-entry .pt-content h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.pt-entry .pt-content p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA横幅 */
.cta-banner {
    background: linear-gradient(135deg, #fef9e7 0%, #fce4a8 100%);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    margin: 28px 0;
    border: 2px dashed var(--accent-gold);
}
.cta-banner h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: #5a4a10;
    margin-bottom: 8px;
}
.cta-banner p {
    font-size: var(--font-base);
    color: #6b5a20;
    margin-bottom: 16px;
}

/* ================================================================
   页面6: APP下载 (download.php) - 设备Mockup+对比表
   ================================================================ */

/* 设备Mockup */
.device-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    padding: 40px 20px;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf1 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
}
.device-mockup {
    text-align: center;
    transition: var(--transition);
}
.device-mockup:hover { transform: translateY(-8px); }
.device-mockup.phone img { width: 140px; height: 280px; border-radius: 20px; object-fit: cover; box-shadow: var(--shadow-lg); background: #e9ecf2; }
.device-mockup.tablet img { width: 220px; height: 300px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow-lg); background: #e9ecf2; }
.device-mockup.laptop img { width: 320px; height: 220px; border-radius: 12px 12px 0 0; object-fit: cover; box-shadow: var(--shadow-lg); background: #e9ecf2; }
.device-mockup .device-label {
    font-weight: 600;
    font-size: var(--font-sm);
    color: var(--text-dark);
    margin-top: 10px;
}

/* 版本对比表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 28px 0;
    border: 1px solid #eef1f5;
}
.comparison-table thead th {
    background: var(--primary);
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
    font-size: var(--font-sm);
    text-align: center;
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table tbody td {
    padding: 12px 16px;
    text-align: center;
    font-size: var(--font-sm);
    border-bottom: 1px solid #f0f2f5;
}
.comparison-table tbody td:first-child { text-align: left; font-weight: 600; }
.comparison-table tbody tr:nth-child(even) { background: #fafbfc; }
.comparison-table .check { color: var(--accent-green); font-weight: 700; }
.comparison-table .cross { color: #ccc; }

/* 下载步骤 */
.steps-flow {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 28px 0;
}
.step-item {
    text-align: center;
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    position: relative;
}
.step-item .step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: var(--font-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: var(--shadow-md);
}
.step-item h4 {
    font-weight: 700;
    font-size: var(--font-base);
    color: var(--text-dark);
    margin-bottom: 4px;
}
.step-item p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    line-height: 1.5;
}
.step-arrow {
    position: absolute;
    right: -30px;
    top: 20px;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}
@media (max-width: 768px) {
    .step-arrow { display: none; }
}

/* 二维码 */
.qr-section {
    text-align: center;
    margin: 28px 0;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
.qr-section img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #e9ecf2;
}

/* 系统要求 */
.sys-req-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
}
@media (max-width: 768px) { .sys-req-grid { grid-template-columns: repeat(2, 1fr); } }
.sys-req-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    text-align: center;
}
.sys-req-card h4 { font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; font-size: var(--font-sm); }
.sys-req-card p { font-size: var(--font-xs); color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   页面7: 版权说明 (copyright.php) - 法律文档布局
   ================================================================ */

/* 文档布局 */
.doc-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 768px) { .doc-layout { grid-template-columns: 1fr; } }

/* 目录导航 */
.doc-toc {
    position: sticky;
    top: 76px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
@media (max-width: 768px) { .doc-toc { position: static; } }
.doc-toc h3 {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-light);
}
.doc-toc a {
    display: block;
    padding: 6px 0;
    font-size: var(--font-sm);
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
    border-left: 2px solid transparent;
    padding-left: 10px;
}
.doc-toc a:hover,
.doc-toc a.active {
    color: var(--primary);
    border-left-color: var(--primary);
}

/* 文档主体 */
.legal-doc {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
.legal-doc h1 {
    font-size: var(--font-3xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}
.legal-doc .doc-update {
    text-align: center;
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef1f5;
}
.legal-doc .legal-section {
    margin-bottom: 24px;
}
.legal-doc .legal-section h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}
.legal-doc .legal-section p {
    font-size: var(--font-base);
    line-height: 1.9;
    color: #444;
    margin-bottom: 8px;
}

/* ================================================================
   页面8: 联系我们 (contact.php) - 表单+信息卡
   ================================================================ */

/* 联系布局 */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

/* 联系表单 */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
}
.contact-form h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.contact-form .form-subtitle {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--font-sm);
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dde1e7;
    border-radius: var(--radius-sm);
    font-size: var(--font-base);
    font-family: inherit;
    transition: var(--transition);
    background: #fafbfc;
    color: var(--text-body);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,86,145,0.1);
    background: #fff;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-weight: 700;
    font-size: var(--font-base);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-note {
    font-size: var(--font-xs);
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

/* 联系信息卡 */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-info-card .ci-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.contact-info-card h4 {
    font-weight: 700;
    font-size: var(--font-base);
    color: var(--text-dark);
    margin-bottom: 4px;
}
.contact-info-card p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* 社交媒体 */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 28px 0;
}
.social-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
    min-width: 100px;
    flex: 1;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.social-card .social-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.social-card .social-name {
    font-weight: 600;
    font-size: var(--font-sm);
    color: var(--text-dark);
}

/* 办公时间 */
.office-hours {
    background: #fef9e7;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    margin: 28px 0;
    border: 1px solid #fce4a8;
    font-size: var(--font-sm);
    color: #5a4a10;
}
.office-hours strong { color: var(--primary-dark); }

/* ================================================================
   响应式补充
   ================================================================ */
@media (max-width: 480px) {
    .top-nav-inner { padding: 0 10px; height: 50px; gap: 8px; }
    .top-nav .site-brand h1 { font-size: 1rem; }
    .nav-links a { padding: 6px 10px; font-size: 0.7rem; border-radius: 14px; }
    .nav-login { padding: 6px 10px; font-size: 0.7rem; gap: 4px; }
    .nav-login .avatar-dot { width: 22px; height: 22px; font-size: 0.65rem; }
    .section-title { font-size: 1.2rem; padding-left: 10px; border-left-width: 4px; }
    .brand-banner { min-height: 220px; }
    .brand-banner .banner-overlay h2 { font-size: 1.3rem; }
    .brand-banner .banner-overlay p { font-size: 0.8rem; }
    .brand-banner .banner-overlay .btn-banner { padding: 10px 22px; font-size: 0.85rem; }
    .content-hero { min-height: 300px; }
    .content-hero .hero-inner { padding: 20px 16px; gap: 16px; }
    .device-showcase { flex-direction: column; align-items: center; }
    .doc-layout { grid-template-columns: 1fr; }
}