:root {
    --primary: #06b6d4;
    --accent: #ec4899;
    --bg: #0c0a1a;
    --text: #e0f2fe;
    --card-bg: #171330;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 8px 32px rgba(6, 182, 212, 0.15);
    --shadow-glow: 0 0 24px rgba(236, 72, 153, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* 滚动进度条 */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 3px 3px 0;
}

/* 导航栏 */
.navbar-custom {
    background: rgba(12, 10, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text) !important;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: initial;
    -webkit-text-fill-color: white;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-right: 10px;
    font-size: 1.1rem;
}

.nav-link-custom {
    color: var(--text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-link-custom:hover {
    color: var(--primary) !important;
    background: rgba(6, 182, 212, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--text);
}

/* Hero 区域 */
.hero-section {
    padding: 80px 0 60px;
    position: relative;
    background: radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.1), transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.1), transparent 40%);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(224, 242, 254, 0.7);
    margin-top: 4px;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(224, 242, 254, 0.7);
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
}

/* 区块通用 */
.section-padding { padding: 60px 0; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 16px;
    margin-bottom: 0;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
}

.section-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.section-link:hover { color: var(--accent); }

/* 分类入口 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.category-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(6, 182, 212, 0.1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}

.category-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
    color: var(--text);
}

.category-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
}

/* 影片卡片 */
.movie-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    height: 100%;
}

.movie-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.2);
}

.movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #1a1630;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 26, 0.9), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.movie-card:hover .poster-overlay {
    opacity: 1;
}

.play-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
}

.movie-info {
    padding: 14px 16px;
}

.movie-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(224, 242, 254, 0.6);
}

.rating-badge {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* 横向滚动 */
.h-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.h-scroll::-webkit-scrollbar {
    height: 6px;
}

.h-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.h-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
}

.h-scroll .movie-card {
    flex: 0 0 200px;
}

/* 排行榜 */
.rank-section {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.05), transparent);
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.rank-item:hover {
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.15);
}

.rank-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    min-width: 48px;
    text-align: center;
}

.rank-number.accent {
    color: var(--accent);
}

.rank-info {
    flex: 1;
}

.rank-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.rank-meta {
    font-size: 0.8rem;
    color: rgba(224, 242, 254, 0.5);
}

.rank-rating {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
}

/* 对比表格 */
.compare-table {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.compare-table table {
    width: 100%;
    margin: 0;
}

.compare-table th {
    background: rgba(6, 182, 212, 0.1);
    color: var(--text);
    font-weight: 700;
    padding: 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
    color: rgba(224, 242, 254, 0.8);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* 编号清单 */
.numbered-list {
    counter-reset: feature-counter;
    padding: 0;
    list-style: none;
}

.numbered-list li {
    counter-increment: feature-counter;
    padding: 16px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.05);
}

.numbered-list li::before {
    content: counter(feature-counter, decimal-leading-zero);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    min-width: 40px;
}

.numbered-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.numbered-list p {
    margin: 0;
    color: rgba(224, 242, 254, 0.7);
    font-size: 0.9rem;
}

/* 心情选片 */
.mood-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.mood-tag {
    padding: 10px 24px;
    background: var(--card-bg);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text);
}

.mood-tag:hover, .mood-tag.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.mood-recommendations {
    display: none;
}

.mood-recommendations.active {
    display: block;
}

/* 精选片单 */
.feature-list {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    align-items: baseline;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item .feature-icon {
    color: var(--accent);
    font-size: 0.8rem;
    min-width: 20px;
}

.feature-item .feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-item strong {
    color: var(--text);
    margin-right: 8px;
}

/* 友情链接 */
.friend-links {
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.friend-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: rgba(224, 242, 254, 0.8);
}

.friend-links a {
    color: rgba(224, 242, 254, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
    margin-right: 20px;
}

.friend-links a:hover {
    color: var(--primary);
}

/* 页脚 */
.footer {
    background: rgba(0,0,0,0.3);
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(224, 242, 254, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    color: rgba(224, 242, 254, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* 详情弹窗 */
.movie-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 24px 24px 0 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    overflow-y: auto;
}

.movie-drawer.open {
    transform: translateY(0);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.drawer-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
}

.drawer-close:hover {
    color: var(--accent);
}

.drawer-body {
    padding: 24px;
}

.drawer-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.drawer-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(224, 242, 254, 0.7);
}

.drawer-meta .badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

.drawer-rating {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 16px;
}

.drawer-plot {
    line-height: 1.8;
    color: rgba(224, 242, 254, 0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.drawer-cast {
    font-size: 0.9rem;
    color: rgba(224, 242, 254, 0.6);
    line-height: 1.6;
}

/* Banner 轮播 */
.banner-section {
    padding: 40px 0 20px;
}

.banner-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(236,72,153,0.2));
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 40px 48px;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    max-width: 50%;
}

.banner-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.banner-content p {
    color: rgba(224, 242, 254, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.banner-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.banner-btn:hover {
    transform: scale(1.05);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 5px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease both;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .banner-slide {
        padding: 24px;
    }
    
    .banner-content {
        max-width: 80%;
    }
    
    .banner-content h2 {
        font-size: 1.4rem;
    }
    
    .h-scroll .movie-card {
        flex: 0 0 160px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* 专题区块 */
.topic-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.topic-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.topic-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.topic-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.topic-card p {
    color: rgba(224, 242, 254, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 详情弹窗动画 */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* --- 子页面追加 --- */
.rank-hero { background: linear-gradient(135deg, rgba(6,182,212,.2), rgba(236,72,153,.15)); border-radius: var(--radius-lg); padding: 3rem 2rem; margin-top: 2rem; position: relative; overflow: hidden; }
.rank-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(236,72,153,.3), transparent 70%); border-radius: 50%; }
.rank-hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(6,182,212,.25), transparent 70%); border-radius: 50%; }
.rank-hero h1 { position: relative; z-index: 1; }
.rank-hero p { position: relative; z-index: 1; }
.rank-card { background: var(--card-bg); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid rgba(6,182,212,.15); transition: transform .3s, box-shadow .3s; }
.rank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 1.4rem; font-weight: 800; color: var(--primary); min-width: 40px; text-align: center; }
.rank-num.hot { color: var(--accent); text-shadow: var(--shadow-glow); }
.rank-score { color: var(--accent); font-weight: 600; }
.rank-tag { font-size: .75rem; padding: .15rem .5rem; border-radius: 4px; background: rgba(6,182,212,.15); color: var(--primary); margin-left: .5rem; }
.rank-cat { font-size: .85rem; color: rgba(224,242,254,.6); }
.badge-trend { background: rgba(236,72,153,.15); color: var(--accent); font-size: .7rem; padding: .15rem .4rem; border-radius: 4px; margin-left: .4rem; }
.filter-badge { display: inline-block; padding: .4rem 1rem; border-radius: 20px; background: var(--card-bg); color: var(--text); font-size: .85rem; margin: 0 .3rem .5rem 0; border: 1px solid rgba(6,182,212,.2); cursor: pointer; transition: all .3s; }
.filter-badge.active { background: var(--primary); color: #0c0a1a; border-color: var(--primary); font-weight: 600; }
.filter-badge:hover { border-color: var(--accent); }
.rank-hero { padding: 2rem 1rem; }
.rank-num { min-width: 30px; font-size: 1.2rem; }

/* --- 子页面追加 --- */
/* 关于页专属样式 */
        .about-hero {
            padding: 80px 0 50px;
            position: relative;
            overflow: hidden;
        }
.about-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
.about-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
.about-hero .container {
            position: relative;
            z-index: 1;
        }
.about-hero-title {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.3;
        }
.about-hero-title span {
            color: var(--primary);
        }
.about-hero-subtitle {
            color: rgba(224, 242, 254, 0.8);
            font-size: 1.1rem;
            max-width: 700px;
            line-height: 1.8;
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
.about-section:last-child {
            border-bottom: none;
        }
.about-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 30px;
            margin-bottom: 30px;
            border: 1px solid rgba(255,255,255,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
.about-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-soft);
        }
.about-card-icon {
            font-size: 2.2rem;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.about-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 15px;
        }
.about-card p {
            color: rgba(224, 242, 254, 0.75);
            line-height: 1.7;
            font-size: 0.95rem;
        }
.about-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.about-list li {
            padding: 10px 0;
            color: rgba(224, 242, 254, 0.8);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
.about-list li:last-child {
            border-bottom: none;
        }
.about-list li i {
            color: var(--primary);
            margin-top: 4px;
            font-size: 0.9rem;
        }
.about-stat-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
.about-stat-item {
            text-align: center;
            padding: 25px 15px;
            background: var(--card-bg);
            border-radius: var(--radius-md);
            border: 1px solid rgba(255,255,255,0.08);
        }
.about-stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 5px;
        }
.about-stat-label {
            color: rgba(224, 242, 254, 0.6);
            font-size: 0.9rem;
        }
.about-timeline {
            position: relative;
            padding-left: 30px;
            margin-top: 20px;
        }
.about-timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary), var(--accent));
            opacity: 0.4;
        }
.about-timeline-item {
            position: relative;
            padding-bottom: 30px;
        }
.about-timeline-item::before {
            content: '';
            position: absolute;
            left: -34px;
            top: 5px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
        }
.about-timeline-date {
            font-size: 0.85rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 5px;
        }
.about-timeline-text {
            color: rgba(224, 242, 254, 0.75);
            font-size: 0.95rem;
            line-height: 1.6;
        }
.about-tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            background: rgba(6, 182, 212, 0.15);
            color: var(--primary);
            font-size: 0.8rem;
            font-weight: 600;
            margin-right: 8px;
            margin-bottom: 8px;
        }
.about-tag.pink {
            background: rgba(236, 72, 153, 0.15);
            color: var(--accent);
        }
.about-quote {
            border-left: 3px solid var(--primary);
            padding: 15px 20px;
            margin: 20px 0;
            background: rgba(6, 182, 212, 0.08);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            font-style: italic;
            color: rgba(224, 242, 254, 0.9);
        }
.about-hero {
                padding: 50px 0 30px;
            }
.about-hero-title {
                font-size: 2rem;
            }
.about-stat-grid {
                grid-template-columns: repeat(2, 1fr);
            }

/* --- 子页面追加 --- */
/* 专题页专属样式 */
        .topic-hero {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(236, 72, 153, 0.1));
            padding: 80px 0 60px;
            border-bottom: 1px solid rgba(6, 182, 212, 0.15);
        }
.topic-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 16px;
            background: linear-gradient(120deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.topic-hero p {
            color: rgba(224, 242, 254, 0.7);
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }
.topic-card .topic-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(236, 72, 153, 0.2));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 20px;
        }
.topic-card h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
            line-height: 1.4;
        }
.topic-card ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.topic-card ul li {
            color: rgba(224, 242, 254, 0.75);
            line-height: 1.8;
            margin-bottom: 8px;
        }
.topic-card .topic-tag {
            display: inline-block;
            background: rgba(6, 182, 212, 0.15);
            color: var(--primary);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-right: 8px;
            margin-bottom: 8px;
        }
.topic-card .topic-link {
            display: inline-flex;
            align-items: center;
            color: var(--accent);
            font-weight: 600;
            margin-top: 12px;
            text-decoration: none;
            transition: color 0.3s;
        }
.topic-card .topic-link:hover {
            color: var(--primary);
        }
.topic-card .topic-link i {
            margin-left: 8px;
            transition: transform 0.3s;
        }
.topic-card .topic-link:hover i {
            transform: translateX(4px);
        }
.topic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }
.topic-grid .topic-card {
            margin-bottom: 0;
        }
.topic-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 32px;
        }
.topic-section-header .section-title {
            margin-bottom: 0;
        }
.topic-hero h1 {
                font-size: 2rem;
            }
.topic-hero {
                padding: 60px 0 40px;
            }
.topic-grid {
                grid-template-columns: 1fr;
            }
/* 覆盖 Bootstrap 组件配色 */
        .card, .card-body, .card-title, .card-text {
            background: var(--card-bg);
            color: var(--text);
            border-color: rgba(6, 182, 212, 0.15);
        }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 保证与全局CSS变量一致 */
        .page-header {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
            border-bottom: 1px solid rgba(6, 182, 212, 0.15);
            padding: 2.5rem 0 1.5rem;
        }
.filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem 1rem;
            align-items: center;
            margin-bottom: 2rem;
        }
.filter-tag {
            background: var(--card-bg);
            color: var(--text);
            border: 1px solid rgba(6, 182, 212, 0.3);
            padding: 0.3rem 1.2rem;
            border-radius: 30px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
.filter-tag:hover, .filter-tag.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: var(--shadow-soft);
        }
.episode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1.2rem;
        }
.episode-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 1rem;
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid rgba(6, 182, 212, 0.08);
        }
.episode-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-soft);
            border-color: rgba(6, 182, 212, 0.4);
        }
.episode-poster {
            aspect-ratio: 2 / 3;
            border-radius: var(--radius-sm);
            overflow: hidden;
            margin-bottom: 0.8rem;
            background: rgba(6, 182, 212, 0.1);
            position: relative;
        }
.episode-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
.episode-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: rgba(236, 72, 153, 0.9);
            color: #fff;
            font-size: 0.7rem;
            padding: 0.2rem 0.7rem;
            border-radius: 20px;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }
.episode-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.2rem;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.episode-meta {
            font-size: 0.8rem;
            color: rgba(224, 242, 254, 0.7);
        }
.section-padding-sm {
            padding: 2.5rem 0;
        }
.heading-accent {
            display: inline-block;
            border-left: 4px solid var(--accent);
            padding-left: 1rem;
        }
.tag-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
.tag-group .badge-tag {
            background: rgba(6, 182, 212, 0.12);
            color: var(--text);
            padding: 0.3rem 1rem;
            border-radius: 30px;
            font-size: 0.8rem;
            border: 1px solid rgba(6, 182, 212, 0.2);
        }

/* --- 子页面追加 --- */
/* 复用首页变量,保持视觉一致 */
        :root {
            --primary: #06b6d4;
            --accent: #ec4899;
            --bg: #0c0a1a;
            --text: #e0f2fe;
            --card-bg: #171330;
            --radius-lg: 24px;
            --radius-md: 18px;
            --radius-sm: 12px;
            --shadow-soft: 0 8px 32px rgba(6, 182, 212, 0.15);
            --shadow-glow: 0 0 24px rgba(236, 72, 153, 0.3);
        }
/* 本页微调——保证Bootstrap组件被覆盖为深色主题 */
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
/* 覆盖Bootstrap .card 及 .list-group 等,防止白底 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item {
            background-color: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: rgba(6, 182, 212, 0.25) !important;
        }
/* 表单控件覆盖 */
        .form-control, .form-select {
            background-color: rgba(0,0,0,0.35) !important;
            color: var(--text) !important;
            border-color: rgba(6, 182, 212, 0.4) !important;
        }
.form-control::placeholder {
            color: rgba(224, 242, 254, 0.5) !important;
        }
/* 导航栏定制与首页完全一致 */
        .navbar-custom {
            background: rgba(12, 10, 26, 0.85) !important;
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(6, 182, 212, 0.15);
        }
.nav-link-custom:hover, .nav-link-custom.active {
            background: rgba(6, 182, 212, 0.15);
            color: #fff !important;
            box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
        }
/* 本页标题风格 */
        .section-title-lg {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
        }
.variety-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 20px;
            height: 100%;
            border: 1px solid rgba(6, 182, 212, 0.15);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
.variety-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-soft), 0 0 0 1px rgba(6, 182, 212, 0.3);
        }
.variety-tag {
            background: rgba(236, 72, 153, 0.2);
            color: #f9a8d4;
            padding: 4px 12px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            letter-spacing: 0.3px;
        }
.variety-title {
            font-weight: 700;
            font-size: 1.2rem;
            margin: 12px 0 6px;
            color: #f0f9ff;
        }
.variety-desc {
            color: rgba(224, 242, 254, 0.75);
            font-size: 0.95rem;
            line-height: 1.5;
        }
.badge-prime {
            background: var(--primary);
            color: #0c0a1a;
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 30px;
            font-size: 0.75rem;
        }
/* 首页锚点导航依旧可用 */
        .hero-stats .stat-item {
            border-left: 2px solid rgba(6, 182, 212, 0.3);
        }

/* --- 子页面追加 --- */
/* 页面专属微调 —— 仅补充动漫页特色，不覆盖全局变量 */
        .anime-hero {
            background: radial-gradient(circle at 20% 30%, rgba(6,182,212,0.15), transparent 60%),
                        radial-gradient(circle at 80% 70%, rgba(236,72,153,0.15), transparent 60%);
        }
.tag-badge {
            display: inline-block;
            background: rgba(6,182,212,0.15);
            color: var(--primary);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            border: 1px solid rgba(6,182,212,0.3);
            margin-right: 0.4rem;
            margin-bottom: 0.3rem;
        }
.anime-card-hover {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.anime-card-hover:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-soft), 0 0 0 1px rgba(6,182,212,0.2);
        }
.section-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
            margin: 2.5rem 0;
        }
.episode-float {
            background: rgba(12, 10, 26, 0.7);
            backdrop-filter: blur(4px);
            border-radius: var(--radius-sm);
            padding: 0.2rem 0.8rem;
            font-size: 0.75rem;
            color: var(--primary);
            border: 1px solid rgba(6,182,212,0.3);
        }

/* --- 子页面追加 --- */
/* 短剧页面专属样式 */
        .short-hero {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(236, 72, 153, 0.1) 50%, rgba(12, 10, 26, 0.9) 100%);
            padding: 80px 0 60px;
            border-bottom: 1px solid rgba(6, 182, 212, 0.15);
        }
.short-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 28px;
        }
.short-item {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(6, 182, 212, 0.12);
        }
.short-item:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-soft), var(--shadow-glow);
        }
.short-poster {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
        }
.short-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
.short-item:hover .short-poster img {
            transform: scale(1.05);
        }
.short-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--accent);
            color: #fff;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
        }
.short-badge.hot {
            background: #ff4757;
        }
.short-badge.new {
            background: var(--primary);
        }
.short-info {
            padding: 16px 18px 20px;
        }
.short-title {
            color: var(--text);
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.short-meta {
            color: rgba(224, 242, 254, 0.6);
            font-size: 13px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
.short-tags {
            display: flex;
            gap: 6px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
.short-tag {
            background: rgba(6, 182, 212, 0.15);
            color: var(--primary);
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }
.short-tag.pink {
            background: rgba(236, 72, 153, 0.15);
            color: var(--accent);
        }
.short-intro {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 40px;
            border: 1px solid rgba(6, 182, 212, 0.12);
        }
.short-intro h2 {
            color: var(--primary);
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 16px;
        }
.short-intro p {
            color: rgba(224, 242, 254, 0.8);
            line-height: 1.8;
            font-size: 15px;
        }
.short-section-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
            position: relative;
            padding-left: 18px;
        }
.short-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 24px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 3px;
        }
.short-section-sub {
            color: rgba(224, 242, 254, 0.6);
            font-size: 14px;
            margin-bottom: 30px;
        }
.short-trending {
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(6, 182, 212, 0.08));
            border-radius: var(--radius-lg);
            padding: 30px;
            margin-top: 40px;
            border: 1px solid rgba(236, 72, 153, 0.15);
        }
.short-trending h3 {
            color: var(--accent);
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
        }
.trending-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.trending-list li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(6, 182, 212, 0.1);
            display: flex;
            align-items: center;
            gap: 12px;
        }
.trending-list li:last-child {
            border-bottom: none;
        }
.trending-rank {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            color: #fff;
            flex-shrink: 0;
        }
.trending-title {
            color: var(--text);
            font-weight: 500;
            font-size: 15px;
            flex: 1;
        }
.trending-views {
            color: rgba(224, 242, 254, 0.5);
            font-size: 13px;
        }
.short-hero {
                padding: 50px 0 30px;
            }
.short-intro {
                padding: 24px;
            }
.short-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
                gap: 16px;
            }

/* --- 子页面追加 --- */
.documentary-hero {
            background: linear-gradient(135deg, rgba(12,10,26,.92) 0%, rgba(23,19,48,.85) 60%, rgba(6,182,212,.15) 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.documentary-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 70%);
            pointer-events: none;
        }
.documentary-hero .hero-title {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 16px;
        }
.documentary-hero .hero-title .text-gradient {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.documentary-hero .hero-subtitle {
            font-size: 1.1rem;
            opacity: .85;
            max-width: 700px;
            line-height: 1.7;
        }
.doc-category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 28px;
        }
.doc-category-pills .pill {
            padding: 8px 18px;
            border-radius: 30px;
            background: rgba(6,182,212,.1);
            border: 1px solid rgba(6,182,212,.25);
            color: var(--text);
            font-size: .85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all .3s ease;
            text-decoration: none;
            display: inline-block;
        }
.doc-category-pills .pill:hover {
            background: rgba(6,182,212,.25);
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-soft);
        }
.doc-category-pills .pill.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.doc-featured-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(6,182,212,.1);
            transition: transform .4s ease, box-shadow .4s ease;
            height: 100%;
            position: relative;
        }
.doc-featured-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-soft);
        }
.doc-featured-card .doc-card-body {
            padding: 24px;
        }
.doc-featured-card .doc-badge {
            display: inline-block;
            padding: 4px 14px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 20px;
            font-size: .75rem;
            font-weight: 600;
            color: #fff;
            letter-spacing: .5px;
            margin-bottom: 14px;
        }
.doc-featured-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }
.doc-featured-card p {
            font-size: .9rem;
            opacity: .8;
            line-height: 1.6;
        }
.doc-meta {
            display: flex;
            gap: 14px;
            font-size: .8rem;
            opacity: .65;
            margin-top: 14px;
        }
.doc-meta span {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
.doc-meta i {
            font-size: .75rem;
            color: var(--primary);
        }
.doc-section-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: var(--text);
        }
.doc-section-subtitle {
            font-size: .95rem;
            opacity: .7;
            margin-bottom: 30px;
            max-width: 600px;
        }
.doc-tip-card {
            background: linear-gradient(135deg, rgba(6,182,212,.08), rgba(236,72,153,.06));
            border: 1px solid rgba(6,182,212,.15);
            border-radius: var(--radius-md);
            padding: 24px;
            height: 100%;
        }
.doc-tip-card i {
            font-size: 1.6rem;
            color: var(--primary);
            margin-bottom: 12px;
        }
.doc-tip-card h4 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text);
        }
.doc-tip-card p {
            font-size: .85rem;
            opacity: .75;
            line-height: 1.6;
        }
.doc-cta-banner {
            background: linear-gradient(135deg, rgba(6,182,212,.15), rgba(236,72,153,.1));
            border-radius: var(--radius-lg);
            padding: 40px;
            text-align: center;
            border: 1px solid rgba(6,182,212,.2);
            margin: 40px 0;
        }
.doc-cta-banner h3 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.doc-cta-banner p {
            opacity: .8;
            max-width: 500px;
            margin: 0 auto 20px;
        }
.doc-cta-banner .btn-doc {
            display: inline-block;
            padding: 10px 30px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: transform .3s ease, box-shadow .3s ease;
            border: none;
        }
.doc-cta-banner .btn-doc:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }
.documentary-hero .hero-title {
                font-size: 2rem;
            }
.doc-section-title {
                font-size: 1.4rem;
            }
.doc-cta-banner {
                padding: 24px;
            }