:root {
            --primary: #6d5dfc;
            --accent: #22d3ee;
            --bg: #0f1020;
            --text: #e8eaf6;
            --border-color: #2a2c4a;
            --card-bg: #1a1b32;
            --card-bg-hover: #222347;
            --shadow-hard: 6px 6px 0px 0px rgba(0,0,0,0.8);
            --font-title: 'Inter', sans-serif;
        }
        * { border-radius: 0 !important; }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: var(--font-title);
            letter-spacing: 0.3px;
        }
        h1,h2,h3,h4,h5,h6 {
            font-weight: 800;
            color: #fff;
        }
        .navbar {
            background-color: #0b0c1a;
            border-bottom: 3px solid var(--primary);
            padding: .8rem 1rem;
            box-shadow: 0 4px 0 rgba(0,0,0,.5);
            z-index: 999;
        }
        .navbar-brand {
            font-weight: 900;
            font-size: 1.8rem;
            color: var(--primary) !important;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .navbar-brand i { color: var(--accent); font-size: 2rem; }
        .nav-link {
            font-weight: 600;
            color: var(--text) !important;
            margin: 0 8px;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
            border-bottom: 2px solid transparent;
        }
        .nav-link:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
        .btn-outline-accent {
            border: 2px solid var(--accent);
            color: var(--accent);
            font-weight: 600;
        }
        .btn-outline-accent:hover { background: var(--accent); color: #000; }

        /* progress bar */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 5px;
            width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 9999;
            transition: width 0.1s;
        }

        /* hero */
        .hero-section {
            background: linear-gradient(to bottom, rgba(15,16,32,0.85), rgba(15,16,32,0.9)), url('{随机图片}') center/cover no-repeat;
            min-height: 70vh;
            display: flex;
            align-items: center;
            border-bottom: 5px solid var(--primary);
            box-shadow: inset 0 0 0 1000px rgba(15,16,32,0.55);
            padding: 3rem 0;
        }
        .hero-title {
            font-size: 4rem;
            font-weight: 900;
            line-height: 1.1;
            color: white;
            text-shadow: 6px 6px 0 var(--primary);
            letter-spacing: -0.02em;
        }
        .hero-sub {
            font-size: 1.2rem;
            max-width: 600px;
            color: #c8cce5;
            border-left: 6px solid var(--accent);
            padding-left: 1.5rem;
        }
        .hero-badge {
            display: inline-block;
            background: var(--primary);
            color: white;
            font-weight: 700;
            padding: 0.3rem 1rem;
            box-shadow: 4px 4px 0 #000;
            margin-right: 0.8rem;
        }

        /* section style */
        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            border-left: 8px solid var(--primary);
            padding-left: 1rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .section-title i { color: var(--accent); }

        /* cards */
        .movie-card {
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            box-shadow: var(--shadow-hard);
            transition: transform 0.2s, border-color 0.2s;
            height: 100%;
            cursor: pointer;
        }
        .movie-card:hover {
            transform: scale(1.03);
            border-color: var(--accent);
            box-shadow: 8px 8px 0 0 rgba(34,211,238,0.3);
        }
        .movie-card .card-img-wrapper {
            position: relative;
            overflow: hidden;
            background: #101126;
            aspect-ratio: 2/3;
        }
        .movie-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #2a2c4a;
        }
        .badge-corner {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #000;
            color: #fff;
            font-weight: 700;
            padding: 4px 10px;
            font-size: 0.75rem;
            border: 1px solid var(--accent);
            box-shadow: 2px 2px 0 var(--primary);
            z-index: 2;
            letter-spacing: 0.5px;
        }
        .rating-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0,0,0,0.8);
            color: #ffd700;
            font-weight: 800;
            padding: 2px 8px;
            font-size: 0.9rem;
            font-family: monospace;
            border: 1px solid #ffd700;
        }
        .card-body {
            padding: 0.8rem 1rem;
        }
        .card-title {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card-meta {
            font-size: 0.85rem;
            color: #9aa0c3;
            font-family: monospace;
            display: flex;
            justify-content: space-between;
        }
        .card-cat {
            font-size: 0.75rem;
            background: #2e2f50;
            padding: 2px 8px;
            display: inline-block;
            color: var(--accent);
            font-weight: 600;
            border: 1px solid #3f416a;
        }

        /* left filter sidebar */
        .filter-bar {
            background: #131429;
            border: 2px solid var(--border-color);
            box-shadow: var(--shadow-hard);
            padding: 1.5rem 1rem;
            position: sticky;
            top: 100px;
        }
        .filter-item {
            display: block;
            color: var(--text);
            font-weight: 500;
            padding: 0.4rem 0.8rem;
            border-left: 4px solid transparent;
            transition: 0.1s;
            text-decoration: none;
        }
        .filter-item:hover, .filter-item.active {
            color: var(--accent);
            border-left-color: var(--accent);
            background: #1c1e3a;
            text-decoration: none;
        }

        /* accordion */
        .accordion-item {
            background: #15162b;
            border: 2px solid var(--border-color) !important;
            margin-bottom: 1rem;
            box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
        }
        .accordion-button {
            background: #15162b;
            color: #fff;
            font-weight: 700;
            border: none;
            box-shadow: none !important;
        }
        .accordion-button:not(.collapsed) {
            background: var(--primary);
            color: #fff;
        }
        .accordion-body {
            background: #101126;
            color: #c8cce5;
        }

        /* side drawer modal */
        .drawer-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
        }
        .drawer-panel {
            position: fixed;
            top: 0; right: -550px;
            width: 450px;
            max-width: 100%;
            height: 100%;
            background: #131429;
            border-left: 6px solid var(--primary);
            box-shadow: -10px 0 30px rgba(0,0,0,0.8);
            z-index: 1001;
            transition: right 0.3s ease;
            overflow-y: auto;
            padding: 2rem 1.5rem;
        }
        .drawer-panel.open { right: 0; }
        .drawer-panel img { width: 100%; border: 3px solid var(--accent); }
        .drawer-close {
            background: none;
            border: 2px solid var(--accent);
            color: var(--accent);
            font-size: 1.5rem;
            width: 40px; height: 40px;
            line-height: 1;
            float: right;
            cursor: pointer;
        }
        .drawer-close:hover { background: var(--accent); color: #000; }

        /* footer */
        .footer {
            border-top: 4px solid var(--primary);
            background: #0b0c1a;
            padding: 2rem 0;
            margin-top: 4rem;
        }

        /* misc */
        .movie-row {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
            gap: 1.8rem;
        }
        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .mood-tag {
            border: 2px solid var(--primary);
            padding: 6px 14px;
            font-weight: 600;
            cursor: pointer;
            color: #fff;
        }
        .mood-tag:hover { background: var(--primary); color: black; }
        .data-list { font-family: monospace; }
        .list-item { display: flex; gap: 15px; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px dashed #343759; }
        .rank-num { font-weight: 900; font-size: 1.8rem; color: var(--accent); min-width: 50px; }
        .view-enter { opacity: 0; transform: translateY(30px); transition: 0.6s; }
        .view-enter.visible { opacity: 1; transform: translateY(0); }
        @media (max-width: 992px) {
            .hero-title { font-size: 2.8rem; }
            .drawer-panel { width: 100%; }
        }

/* --- 子页面追加 --- */
.about-hero { padding: 100px 0 60px; background: linear-gradient(135deg, rgba(109,93,252,0.15) 0%, rgba(34,211,238,0.05) 100%); border-bottom: 1px solid var(--border-color); }
.about-hero h1 { font-size: 2.8rem; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.about-hero h1 span { color: var(--primary); }
.about-hero .lead { font-size: 1.2rem; color: rgba(232,234,246,0.8); max-width: 800px; margin: 0 auto; }
.about-section { padding: 70px 0; border-bottom: 1px solid rgba(42,44,74,0.5); }
.about-section:last-of-type { border-bottom: none; }
.about-section h2 { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.about-section h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--primary); border-radius: 2px; }
.about-section h2 i { color: var(--accent); margin-right: 12px; }
.about-section h3 { font-size: 1.4rem; font-weight: 600; color: var(--text); margin: 25px 0 15px; }
.about-section p { color: rgba(232,234,246,0.85); line-height: 1.8; margin-bottom: 20px; }
.about-section .text-muted { color: rgba(232,234,246,0.6) !important; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; height: 100%; transition: all 0.3s ease; box-shadow: var(--shadow-hard); }
.feature-card:hover { background: var(--card-bg-hover); transform: translateY(-5px); }
.feature-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; display: block; }
.feature-card h4 { font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 15px; }
.feature-card p { font-size: 0.95rem; color: rgba(232,234,246,0.75); margin-bottom: 0; line-height: 1.7; }
.value-item { display: flex; gap: 20px; margin-bottom: 30px; }
.value-item .num { font-size: 2rem; font-weight: 800; color: var(--primary); min-width: 60px; text-align: center; }
.value-item h4 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.value-item p { font-size: 0.95rem; color: rgba(232,234,246,0.75); margin-bottom: 0; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--primary); opacity: 0.3; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -30px; top: 5px; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.timeline-item .year { font-size: 1.1rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 10px; }
.timeline-item p { margin-bottom: 0; }
.source-note { background: rgba(109,93,252,0.1); border-left: 3px solid var(--primary); padding: 20px 25px; border-radius: 0 8px 8px 0; margin: 30px 0; }
.source-note p { margin-bottom: 0; font-size: 0.95rem; }
.stat-item { text-align: center; padding: 30px 20px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 30px; transition: all 0.3s ease; }
.stat-item:hover { background: var(--card-bg-hover); }
.stat-item .stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 10px; }
.stat-item .stat-label { font-size: 0.95rem; color: rgba(232,234,246,0.7); }
.about-cta { background: linear-gradient(135deg, rgba(109,93,252,0.2) 0%, rgba(34,211,238,0.1) 100%); border-radius: 16px; padding: 50px; text-align: center; margin: 50px 0; border: 1px solid var(--border-color); }
.about-cta h3 { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.about-cta p { color: rgba(232,234,246,0.8); margin-bottom: 30px; }
.about-hero h1 { font-size: 2rem; }
.about-section h2 { font-size: 1.5rem; }
.feature-card { padding: 20px; }
.value-item .num { font-size: 1.5rem; min-width: 45px; }
.about-cta { padding: 30px; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
