:root {
            --primary: #10b981;
            --accent: #fbbf24;
            --bg-dark: #0a1410;
            --text-light: #ecfdf5;
            --card-bg: #12221c;
            --border-soft: rgba(16, 185, 129, 0.15);
            --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
            --shadow-hover: 0 12px 28px rgba(16,185,129,0.25);
            --radius: 8px;
            --font-serif: 'Inter', 'Noto Serif SC', 'Songti SC', serif; 
            --font-sans: 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-family: var(--font-sans);
            line-height: 1.7;
            letter-spacing: 0.02em;
        }

        h1, h2, h3, h4, .navbar-brand, .display-title {
            font-family: var(--font-serif);
            font-weight: 600;
            color: #fff;
        }

        a { color: var(--primary); text-decoration: none; }
        a:hover { color: var(--accent); }

        /* 导航栏定制 */
        .navbar {
            background: rgba(10, 20, 16, 0.9) !important;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-soft);
            padding: 0.8rem 0;
        }
        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary) !important;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            letter-spacing: 1px;
        }
        .navbar-brand i { color: var(--accent); font-size: 2rem; }
        .navbar-nav .nav-link {
            color: var(--text-light) !important;
            font-weight: 500;
            padding: 0.5rem 1rem;
            transition: 0.2s;
            border-radius: 30px;
        }
        .navbar-nav .nav-link:hover { color: var(--primary) !important; background: rgba(16,185,129,0.08); }
        .navbar-toggler { border-color: rgba(255,255,255,0.2); }

        /* Hero 区域 */
        .hero-section {
            padding: 4rem 0 3rem;
            background: radial-gradient(circle at 80% 20%, rgba(16,185,129,0.15), transparent 50%);
            border-bottom: 1px solid var(--border-soft);
        }
        .hero-stats {
            display: flex;
            gap: 3rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }
        .hero-stat-item h3 { font-size: 3.2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.2rem; }
        .hero-stat-item span { color: rgba(236,253,245,0.6); }

        /* 区块通用 */
        .section-title {
            font-size: 2.2rem;
            font-weight: 600;
            border-left: 6px solid var(--primary);
            padding-left: 1rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .section-title i { color: var(--accent); font-size: 1.8rem; }

        /* 电影卡片 */
        .movie-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.05);
            transition: transform 0.25s, box-shadow 0.25s;
            height: 100%;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            position: relative;
        }
        .movie-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(16,185,129,0.3);
        }
        .poster-wrap {
            position: relative;
            padding-top: 140%; /* 2:3 海报比例 */
            overflow: hidden;
        }
        .poster-wrap img {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
            background: linear-gradient(145deg, #1f3d30, #0d1f18);
        }
        .movie-card:hover .poster-wrap img { transform: scale(1.05); }
        .gradient-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(10,20,16,0.9) 0%, transparent 50%, rgba(10,20,16,0.2) 100%);
        }
        .play-icon {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: rgba(16,185,129,0.8);
            width: 50px; height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: 0.3s;
            backdrop-filter: blur(4px);
            border: 2px solid #fff;
        }
        .movie-card:hover .play-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
        .play-icon i { color: #fff; font-size: 1.3rem; margin-left: 5px; }

        .card-info {
            padding: 0.8rem 0.8rem 1rem;
        }
        .card-info h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.3rem; }
        .meta-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(236,253,245,0.7); }
        .rating { color: var(--accent); font-weight: 700; }

        /* 弹窗样式 */
        .modal-mask {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(4px);
            z-index: 1050;
            align-items: center;
            justify-content: center;
        }
        .modal-mask.show { display: flex; }
        .modal-card {
            background: #11231c;
            max-width: 720px;
            width: 92%;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
            border: 1px solid rgba(16,185,129,0.3);
            box-shadow: 0 25px 40px rgba(0,0,0,0.5);
        }
        @media (min-width: 768px) {
            .modal-card { flex-direction: row; }
        }
        .modal-poster {
            width: 100%;
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        @media (min-width: 768px) {
            .modal-poster { width: 250px; height: auto; min-height: 300px; }
        }
        .modal-body-custom {
            padding: 1.8rem;
            flex: 1;
        }
        .modal-body-custom h3 { margin-bottom: 0.5rem; }
        .modal-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: rgba(236,253,245,0.8); margin: 0.8rem 0; }
        .modal-close {
            position: absolute;
            top: 10px; right: 15px;
            font-size: 2rem;
            color: #fff;
            background: none;
            border: none;
            z-index: 10;
            text-shadow: 0 2px 8px #000;
        }

        /* 排行榜/列表 */
        .rank-list { background: var(--card-bg); border-radius: var(--radius); padding: 1.2rem; }
        .rank-item {
            display: flex; justify-content: space-between; align-items: center;
            padding: 0.8rem 0.2rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .rank-number { font-weight: 800; color: var(--accent); width: 40px; }
        .rank-title { flex: 1; font-weight: 500; }
        .rank-rating { color: var(--primary); font-weight: 600; }

        /* 主题卡片 */
        .topic-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; height: 100%; }
        .tag { background: rgba(16,185,129,0.2); color: var(--primary); padding: 0.2rem 0.8rem; border-radius: 30px; font-size: 0.8rem; }

        /* 友链区 */
        .friend-links {
            border-top: 1px solid var(--border-soft);
            padding: 2rem 0;
            margin-top: 2rem;
            background: rgba(0,0,0,0.2);
        }
        .friend-links a { color: rgba(236,253,245,0.6); margin-right: 1.2rem; }
        .friend-links a:hover { color: var(--accent); }

        footer {
            background: #060c09;
            padding: 2rem 0;
            border-top: 1px solid rgba(16,185,129,0.2);
            color: rgba(236,253,245,0.6);
        }

        /* 回到顶部 */
        #backToTop {
            position: fixed;
            bottom: 30px; right: 30px;
            background: var(--primary);
            color: #fff;
            width: 46px; height: 46px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 12px rgba(16,185,129,0.4);
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            z-index: 999;
            border: none;
        }
        #backToTop.visible { opacity: 1; visibility: visible; }

        /* 图片懒加载渐显 */
        img[loading="lazy"] { background: #1e2e26; }

        /* 内容宽 */
        .container-custom { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

        /* 卡片网格间距 */
        .poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.2rem; }
        @media (max-width: 576px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .about-hero {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%);
            border-bottom: 1px solid var(--border-soft);
            padding: 80px 0 60px;
        }
.about-hero h1 {
            font-family: var(--font-serif);
            font-weight: 800;
            color: var(--text-light);
            font-size: 2.4rem;
            margin-bottom: 20px;
        }
.about-hero h1 span {
            color: var(--primary);
        }
.about-hero p {
            color: rgba(236, 253, 245, 0.7);
            font-size: 1.05rem;
            max-width: 700px;
            line-height: 1.8;
        }
.about-section {
            padding: 60px 0;
        }
.about-section h2 {
            font-family: var(--font-serif);
            font-weight: 700;
            color: var(--primary);
            font-size: 1.7rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 12px;
        }
.about-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
            padding: 30px;
            margin-bottom: 30px;
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
.about-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.about-card .icon-circle {
            width: 56px;
            height: 56px;
            background: rgba(16, 185, 129, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.4rem;
            color: var(--primary);
        }
.about-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 12px;
            font-family: var(--font-sans);
        }
.about-card p {
            color: rgba(236, 253, 245, 0.75);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 0;
        }
.about-card p strong {
            color: var(--accent);
            font-weight: 600;
        }
.about-feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.about-feature-list li {
            padding: 8px 0;
            color: rgba(236, 253, 245, 0.8);
            font-size: 0.95rem;
            border-bottom: 1px dashed rgba(16, 185, 129, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
        }
.about-feature-list li:last-child {
            border-bottom: none;
        }
.about-feature-list li i {
            color: var(--primary);
            font-size: 0.85rem;
            width: 18px;
        }
.about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 40px 0;
        }
.about-stat-item {
            text-align: center;
            padding: 25px 15px;
            background: var(--card-bg);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
        }
.about-stat-item .number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent);
            font-family: var(--font-serif);
        }
.about-stat-item .label {
            color: rgba(236, 253, 245, 0.6);
            font-size: 0.85rem;
            margin-top: 5px;
        }
.about-hero h1 {
                font-size: 1.8rem;
            }
.about-stats {
                grid-template-columns: 1fr;
                gap: 12px;
            }
.about-section {
                padding: 40px 0;
            }

/* --- 子页面追加 --- */
/* 覆盖 bootstrap 默认白底黑字组件类 —— 本页基本只使用栅格与自绘组件 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
            background: transparent;
            color: var(--text-light);
            border-color: var(--border-soft);
        }
/* 额外安全网 */
        .navbar, .nav-link, .navbar-brand { background: transparent; }
/* 本页专属装饰 */
        .disclaimer-hero {
            background: linear-gradient(145deg, rgba(16,185,129,0.06) 0%, rgba(10,20,16,0.9) 100%);
            border-bottom: 1px solid var(--border-soft);
            padding: 3.5rem 0 2.5rem;
        }
.disclaimer-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 2rem 1.8rem;
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--primary);
            transition: box-shadow 0.2s;
        }
.disclaimer-card:hover { box-shadow: var(--shadow-hover); }
.disclaimer-card h3 {
            font-family: var(--font-sans);
            font-weight: 700;
            color: var(--accent);
            letter-spacing: -0.01em;
            margin-bottom: 0.8rem;
            font-size: 1.4rem;
        }
.disclaimer-card p, .disclaimer-card li {
            color: rgba(236, 253, 245, 0.82);
            font-weight: 400;
            line-height: 1.7;
        }
.disclaimer-card ul { padding-left: 1.2rem; }
.disclaimer-card li { margin-bottom: 0.5rem; }
.muted-text { color: rgba(236,253,245,0.55); font-size: 0.9rem; }
.section-gap { padding: 4rem 0; }
/* 沿用首页导航样式 */
        .container-custom {
            width: 100%;
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
/* 激活链接 */
        .nav-item .nav-link.active-page {
            color: var(--primary) !important;
            font-weight: 700;
            border-bottom: 2px solid var(--primary);
        }

/* --- 子页面追加 --- */
.ranking-hero { padding: 60px 0 40px; text-align: center; background: linear-gradient(180deg, rgba(16,185,129,0.08) 0%, transparent 100%); }
.ranking-hero h1 { font-family: var(--font-serif); font-weight: 800; font-size: 2.2rem; color: var(--text-light); margin-bottom: 12px; }
.ranking-hero h1 span { color: var(--accent); }
.ranking-hero p { color: rgba(236, 253, 245, 0.7); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.ranking-section { padding: 30px 0 50px; }
.ranking-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; border-bottom: 1px solid var(--border-soft); padding-bottom: 12px; }
.ranking-header h2 { font-family: var(--font-serif); font-weight: 700; font-size: 1.4rem; color: var(--text-light); margin: 0; }
.ranking-header h2 i { color: var(--accent); margin-right: 8px; }
.ranking-header .update-time { color: rgba(236, 253, 245, 0.5); font-size: 0.8rem; }
.ranking-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.ranking-tabs .tab-btn { background: var(--card-bg); color: var(--text-light); border: 1px solid var(--border-soft); padding: 8px 20px; border-radius: var(--radius); font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.ranking-tabs .tab-btn:hover, .ranking-tabs .tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.rank-list-custom { list-style: none; padding: 0; margin: 0; }
.rank-item-custom { display: flex; align-items: center; padding: 14px 16px; background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 10px; transition: all 0.3s; }
.rank-item-custom:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); border-color: rgba(16, 185, 129, 0.4); }
.rank-number-custom { font-family: var(--font-serif); font-weight: 800; font-size: 1.6rem; color: var(--primary); width: 50px; text-align: center; flex-shrink: 0; }
.rank-item-custom:nth-child(1) .rank-number-custom { color: var(--accent); font-size: 2rem; }
.rank-item-custom:nth-child(2) .rank-number-custom { color: #c0c0c0; font-size: 1.8rem; }
.rank-item-custom:nth-child(3) .rank-number-custom { color: #cd7f32; font-size: 1.7rem; }
.rank-poster { width: 56px; height: 76px; border-radius: 4px; object-fit: cover; margin-right: 14px; flex-shrink: 0; }
.rank-info { flex: 1; min-width: 0; }
.rank-title-custom { color: var(--text-light); font-weight: 600; font-size: 1rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { color: rgba(236, 253, 245, 0.5); font-size: 0.8rem; }
.rank-rating-custom { color: var(--accent); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-left: 10px; }
.rank-rating-custom i { color: var(--accent); font-size: 0.8rem; margin-right: 2px; }
.rank-trend { color: var(--primary); font-size: 0.8rem; margin-left: 8px; flex-shrink: 0; }
.rank-trend i { margin-right: 2px; }
.rank-trend.down { color: #ef4444; }
.rank-trend.same { color: rgba(236, 253, 245, 0.4); }
.ranking-hero h1 { font-size: 1.7rem; }
.ranking-header { flex-direction: column; align-items: flex-start; gap: 6px; }
.rank-poster { width: 44px; height: 60px; }
.rank-number-custom { font-size: 1.3rem; width: 36px; }
.rank-item-custom:nth-child(1) .rank-number-custom { font-size: 1.6rem; }
.rank-item-custom:nth-child(2) .rank-number-custom { font-size: 1.4rem; }
.rank-item-custom:nth-child(3) .rank-number-custom { font-size: 1.3rem; }