:root {
            --primary: #2563eb;
            --accent: #06b6d4;
            --bg: #f4f8ff;
            --text: #0f1e3d;
            --card-shadow: 0 12px 30px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.1);
            --heavy-shadow: 0 20px 40px rgba(2, 32, 71, 0.25);
            --radius: 18px;
        }
        body {
            background: var(--bg);
            color: var(--text);
            font-family: 'Inter', sans-serif;
            font-weight: 400;
        }
        h1,h2,h3,.navbar-brand,.display-5,.fs-3 {
            font-weight: 800;
            letter-spacing: -0.02em;
        }
        .navbar {
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 6px 20px rgba(0,0,0,0.03);
            padding: 12px 0;
        }
        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary) !important;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .navbar-nav .nav-link {
            font-weight: 600;
            color: var(--text);
            opacity: 0.75;
            margin: 0 10px;
        }
        .navbar-nav .nav-link:hover { opacity: 1; color: var(--primary); }

        .hero {
            background: linear-gradient(135deg, #0a1a3a 0%, #142850 100%), var(--primary);
            padding: 60px 0 80px;
            box-shadow: inset 0 -40px 60px -30px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
        }
        .hero-overlay {
            position: absolute;
            inset: 0;
            background: url('{随机图片}') center/cover no-repeat;
            opacity: 0.25;
            mix-blend-mode: overlay;
        }
        .hero .container { position: relative; z-index: 2; }
        .hero h1 {
            color: #fff;
            font-size: calc(2.6rem + 1.8vw);
            font-weight: 900;
            text-shadow: 0 8px 25px rgba(0,0,0,0.7);
            letter-spacing: -0.03em;
        }
        .hero .lead {
            color: #d7e6ff;
            font-weight: 400;
            font-size: 1.2rem;
            max-width: 700px;
        }

        .section-title {
            font-weight: 800;
            font-size: 1.8rem;
            color: var(--text);
            margin: 35px 0 20px;
            border-left: 6px solid var(--accent);
            padding-left: 15px;
        }

        .movie-card {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: all .3s ease;
            position: relative;
            cursor: pointer;
            border: 1px solid rgba(0,0,0,0.04);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .movie-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--heavy-shadow);
        }
        .poster-wrapper {
            position: relative;
            overflow: hidden;
            aspect-ratio: 2 / 3;
            background: #e8eef7;
        }
        .poster-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
            filter: saturate(0.9) contrast(1.05);
        }
        .movie-card:hover .poster-wrapper img {
            transform: scale(1.08);
        }
        .badge-corner {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0,0,0,0.75);
            backdrop-filter: blur(4px);
            color: #fff;
            padding: 4px 10px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            z-index: 3;
        }
        .badge-hot {
            background: #ff4d4d;
            color: #fff;
            font-weight: 700;
        }
        .rating-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(3px);
            color: #ffd166;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 20px;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 3px;
            z-index: 3;
        }
        .movie-info {
            padding: 12px 14px 14px;
            background: linear-gradient(145deg, #ffffff, #f8fafc);
            flex: 1;
        }
        .movie-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 3px;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .movie-meta {
            font-size: 0.8rem;
            color: #4a5f7a;
            display: flex;
            gap: 6px;
            align-items: center;
        }
        .movie-type {
            background: #eef4ff;
            color: var(--primary);
            padding: 2px 6px;
            border-radius: 30px;
            font-weight: 500;
            font-size: 0.7rem;
        }

        /* 时间线风格 */
        .timeline-block {
            background: #fff;
            padding: 25px;
            border-radius: 24px;
            box-shadow: var(--card-shadow);
        }
        .timeline-item {
            display: flex;
            gap: 20px;
            position: relative;
            padding-bottom: 28px;
        }
        .timeline-item:before {
            content: '';
            position: absolute;
            left: 12px;
            top: 28px;
            bottom: -2px;
            width: 2px;
            background: linear-gradient(to bottom, var(--accent), transparent);
        }
        .timeline-dot {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary);
            border: 3px solid #fff;
            box-shadow: 0 2px 12px rgba(37,99,235,0.4);
            flex-shrink: 0;
            z-index: 2;
        }
        .timeline-content {
            background: #f4f9ff;
            padding: 14px 18px;
            border-radius: 16px;
            flex: 1;
        }

        /* 特色标签页 */
        .feature-tabs .nav-pills .nav-link {
            background: #eaf0ff;
            color: var(--text);
            font-weight: 600;
            margin-right: 8px;
            border-radius: 40px;
            padding: 8px 20px;
        }
        .feature-tabs .nav-pills .nav-link.active {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 15px rgba(37,99,235,0.3);
        }

        .footer {
            background: #0b152b;
            color: #a0b8d9;
            padding: 40px 0 20px;
        }
        .footer a {
            color: #c9dcff;
            text-decoration: none;
            font-weight: 500;
        }
        .footer a:hover { color: white; }

        /* 侧边详情栏 */
        .detail-panel {
            position: fixed;
            top: 0; right: -420px;
            width: 400px;
            max-width: 100vw;
            height: 100vh;
            background: #fff;
            box-shadow: -10px 0 40px rgba(0,0,0,0.2);
            z-index: 9999;
            transition: right .35s ease;
            overflow-y: auto;
            padding: 28px;
        }
        .detail-panel.open { right: 0; }
        .detail-panel img { width: 100%; border-radius: 18px; box-shadow: var(--card-shadow); }
        .detail-panel .close-btn {
            position: sticky;
            top: 0;
            float: right;
            background: #eef2f8;
            border: none;
            width: 38px; height: 38px;
            border-radius: 50%;
            font-weight: bold;
            cursor: pointer;
        }
        .overlay-panel {
            position: fixed; inset: 0;
            background: rgba(5, 15, 35, 0.7);
            backdrop-filter: blur(2px);
            z-index: 9998;
            opacity: 0; visibility: hidden;
            transition: opacity .3s;
        }
        .overlay-panel.show { opacity: 1; visibility: visible; }

        /* 标签页内容 */
        .tab-content .row { margin-top: 20px; }

        /* 等宽数据 */
        .mono-data {
            font-family: 'SF Mono', 'JetBrains Mono', monospace;
            font-weight: 600;
            color: #0f2d5e;
        }

        @media (max-width: 768px) {
            .detail-panel { width: 100%; right: -100vw; }
        }
        /* 懒加载渐显 */
        img.loaded {
            animation: fadeIn .4s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(.96); }
            to { opacity: 1; transform: scale(1); }
        }
        .card-enter {
            opacity: 0;
            transform: translateY(20px);
        }
        .card-enter.visible {
            opacity: 1;
            transform: translateY(0);
            transition: opacity .5s, transform .5s;
        }

/* --- 子页面追加 --- */
/* 页面专属补充样式 */
        .about-hero { padding: 80px 0 50px; text-align: center; }
.about-hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; }
.about-hero .lead { font-size: 1.15rem; opacity: .85; max-width: 720px; margin: 0 auto; }
.about-section { padding: 50px 0; border-bottom: 1px solid rgba(15, 30, 61, .08); }
.about-section:last-child { border-bottom: none; }
.about-section h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.about-section h2 i { color: var(--accent); font-size: 1.4rem; }
.about-section p, .about-section li { font-size: 1.02rem; line-height: 1.8; opacity: .92; }
.about-section ul, .about-section ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.about-section li { margin-bottom: 8px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 16px; }
.about-feature { background: rgba(255,255,255,.6); border: 1px solid rgba(15,30,61,.06); border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow); }
.about-feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.about-feature h3 i { color: var(--accent); }
.about-feature p { font-size: .95rem; margin-bottom: 0; }
.about-stat { display: flex; gap: 20px; flex-wrap: wrap; margin: 20px 0; }
.about-stat .stat-item { background: rgba(255,255,255,.6); border-radius: var(--radius); padding: 18px 24px; text-align: center; flex: 1; min-width: 130px; box-shadow: var(--card-shadow); }
.about-stat .stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.about-stat .stat-label { font-size: .9rem; opacity: .8; margin-top: 4px; }
.timeline-about { padding-left: 24px; border-left: 3px solid var(--accent); }
.timeline-about .timeline-item { margin-bottom: 24px; position: relative; }
.timeline-about .timeline-item::before { content: ''; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline-about .timeline-time { font-size: .85rem; font-weight: 700; color: var(--primary); }
.timeline-about .timeline-text { margin-top: 4px; font-size: .97rem; }
.about-hero { padding: 50px 0 30px; }
.about-hero h1 { font-size: 2rem; }
.about-section { padding: 36px 0; }

/* --- 子页面追加 --- */
/* 确保卡片、表单等Bootstrap组件跟随站点深色/浅色风格，这里我们使用浅色变量 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--bg);
            color: var(--text);
            border-color: #d8e2f0;
            box-shadow: var(--card-shadow);
        }
.form-control, .form-select {
            background: #ffffff;
            color: var(--text);
            border-color: #cbd5e1;
        }
.form-control::placeholder {
            color: #6b7a99;
        }
.list-group-item, .accordion-item, .accordion-button, .accordion-body, .modal-content {
            background: var(--bg);
            color: var(--text);
            border-color: #d8e2f0;
        }
.nav-link, .navbar, .navbar-brand {
            color: var(--text) !important;
        }
/* 本页额外细节 */
        .disclaimer-title {
            font-weight: 800;
            color: var(--primary);
            border-left: 6px solid var(--accent);
            padding-left: 1rem;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }
.legal-block {
            background: rgba(255,255,255,0.6);
            border-radius: var(--radius);
            padding: 2rem 2rem 1.5rem;
            box-shadow: var(--card-shadow);
            margin-bottom: 2rem;
        }
.legal-block h3 {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text);
            margin-bottom: 1rem;
        }
.legal-block p {
            line-height: 1.8;
            color: #2a3b5e;
        }
.legal-block a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
.legal-block a:hover {
            color: var(--accent);
        }
.badge-legal {
            background: var(--primary);
            color: #fff;
            font-size: 0.8rem;
            padding: 0.3rem 0.9rem;
            border-radius: 40px;
            display: inline-block;
            margin-bottom: 0.8rem;
            letter-spacing: 0.3px;
        }
hr.sep {
            border: 0;
            border-top: 2px dashed var(--accent);
            opacity: 0.3;
            margin: 2rem 0;
        }
/* 导航高亮当前页 */
        .navbar-nav .nav-link.active {
            font-weight: 700;
            color: var(--primary) !important;
            border-bottom: 2px solid var(--accent);
        }

/* --- 子页面追加 --- */
/* 本页专属：排行榜卡片、榜单行、评分徽章等覆盖，保证与首页视觉统一 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(37,99,235,.12) 0%, rgba(6,182,212,.06) 100%);
            border-radius: var(--radius);
            padding: 2rem 1.5rem;
            margin-bottom: 2.5rem;
            box-shadow: var(--card-shadow);
        }
.rank-hero h1 {
            color: var(--text);
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.rank-hero p {
            color: #3a4a6b;
            font-weight: 400;
            max-width: 800px;
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: .5rem 1rem;
            margin: 2rem 0 1.5rem;
            border-bottom: 2px solid rgba(37,99,235,.15);
            padding-bottom: .8rem;
        }
.rank-tab {
            background: transparent;
            border: none;
            padding: .4rem 1.2rem;
            border-radius: 30px;
            font-weight: 600;
            color: #3a4a6b;
            transition: .2s;
        }
.rank-tab i {
            margin-right: .3rem;
        }
.rank-tab.active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 6px 14px rgba(37,99,235,.3);
        }
.rank-tab:hover {
            background: rgba(37,99,235,.08);
        }
.rank-tab.active:hover {
            background: var(--primary);
        }
.rank-card {
            background: rgba(255,255,255,.7);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(37,99,235,.15);
            border-radius: var(--radius);
            box-shadow: var(--card-shadow);
            transition: transform .2s;
            height: 100%;
        }
.rank-card:hover {
            transform: translateY(-4px);
        }
.rank-badge {
            background: var(--accent);
            color: #fff;
            font-weight: 700;
            font-size: .8rem;
            padding: .3rem .8rem;
            border-radius: 30px;
            display: inline-block;
            letter-spacing: .02em;
        }
.rank-badge.gold { background: #f59e0b; }
.rank-badge.silver { background: #94a3b8; }
.rank-badge.bronze { background: #b45309; }
.rank-list-item {
            background: rgba(255,255,255,.6);
            border-radius: 14px;
            padding: 1rem 1.2rem;
            margin-bottom: .8rem;
            border: 1px solid rgba(37,99,235,.1);
            box-shadow: 0 4px 12px rgba(0,0,0,.04);
            display: flex;
            align-items: center;
            gap: 1rem;
        }
.rank-num {
            font-size: 1.6rem;
            font-weight: 900;
            color: var(--primary);
            min-width: 2.5rem;
            text-align: center;
            opacity: .8;
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text);
        }
.rank-meta {
            font-size: .85rem;
            color: #4a5a7a;
        }
.rank-score {
            background: var(--primary);
            color: #fff;
            font-weight: 800;
            padding: .2rem .8rem;
            border-radius: 30px;
            font-size: .9rem;
        }
.rank-score.hot {
            background: #ef4444;
        }
.rank-score.top {
            background: var(--accent);
        }
.editors-pick {
            background: rgba(6,182,212,.08);
            border-radius: var(--radius);
            padding: 1.5rem;
            margin-top: 2.5rem;
            border: 1px solid rgba(6,182,212,.2);
        }
.editors-pick h3 {
            color: var(--text);
            font-weight: 800;
        }
.pick-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding: .8rem 0;
            border-bottom: 1px dashed rgba(37,99,235,.2);
        }
.pick-item:last-child {
            border-bottom: none;
        }
.pick-quote {
            font-size: 1.5rem;
            color: var(--accent);
            line-height: 1;
        }
.pick-text {
            font-weight: 500;
            color: #1e2f4e;
        }
.pick-tag {
            background: var(--primary);
            color: #fff;
            border-radius: 20px;
            padding: .15rem .8rem;
            font-size: .7rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-left: .6rem;
        }
.trending-tag {
            color: var(--primary);
            font-weight: 600;
        }
/* 覆盖Bootstrap .card (如果误用) */
        .card, .card-body { background: transparent; color: var(--text); border-color: rgba(37,99,235,.1); }