:root {
            --primary: #6d5dfc;
            --accent: #22d3ee;
            --bg: #0f1020;
            --text: #e8eaf6;
            --card-bg: #1a1c2e;
            --card-border: #2a2d44;
            --gold: #ffd700;
            --silver: #c0c0c0;
            --bronze: #cd7f32;
        }

        * { box-sizing: border-box; }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', system-ui, sans-serif;
            line-height: 1.7;
            overflow-x: hidden;
        }

        /* 标题字体圆润手写感 */
        h1, h2, h3, h4, .brand-font {
            font-family: 'Inter', 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .navbar {
            background: rgba(15, 16, 32, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(109, 93, 252, 0.2);
            padding: 0.8rem 1rem;
            z-index: 1030;
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent) !important;
            text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
            letter-spacing: 1px;
        }
        .navbar-brand i {
            color: var(--primary);
            margin-right: 6px;
        }

        .nav-link {
            color: var(--text) !important;
            font-weight: 500;
            margin: 0 0.2rem;
            border-radius: 50rem;
            padding: 0.5rem 1rem !important;
            transition: all 0.2s;
        }
        .nav-link:hover {
            background: rgba(109, 93, 252, 0.15);
            color: var(--accent) !important;
        }
        .navbar-toggler {
            border: none;
            color: var(--accent);
            font-size: 1.8rem;
        }

        .hero-section {
            padding: 4rem 0 3rem;
            background: radial-gradient(circle at 20% 20%, rgba(109, 93, 252, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
        }

        .keyword-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem 1rem;
            justify-content: center;
            margin: 2.5rem 0 1rem;
        }
        .keyword-tag {
            background: rgba(109, 93, 252, 0.1);
            border: 1px solid rgba(109, 93, 252, 0.3);
            color: var(--text);
            padding: 0.4rem 1.2rem;
            border-radius: 50rem;
            font-size: 0.95rem;
            backdrop-filter: blur(4px);
            transition: all 0.2s;
        }
        .keyword-tag:hover {
            background: var(--primary);
            border-color: var(--primary);
            transform: scale(1.05);
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1.8rem;
            position: relative;
            display: inline-block;
            padding-bottom: 0.4rem;
        }
        .section-title i {
            color: var(--accent);
            margin-right: 10px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 3px;
        }

        .movie-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 18px;
            overflow: hidden;
            transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.2s;
            height: 100%;
            cursor: pointer;
            box-shadow: 0 6px 16px rgba(0,0,0,0.3);
        }
        .movie-card:hover {
            transform: scale(1.02);
            border-color: var(--primary);
            box-shadow: 0 8px 25px rgba(109, 93, 252, 0.25);
        }

        .movie-card img {
            width: 100%;
            aspect-ratio: 2 / 3;
            object-fit: cover;
            display: block;
            background: #2a2d44;
        }

        .movie-info {
            padding: 0.9rem 1rem 1rem;
        }
        .movie-title {
            font-weight: 600;
            font-size: 1.05rem;
            margin-bottom: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .movie-meta {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.85rem;
            color: #a5a9c0;
        }
        .rating {
            color: var(--gold);
            font-weight: 600;
            background: rgba(255, 215, 0, 0.1);
            padding: 0.1rem 0.6rem;
            border-radius: 50rem;
        }

        .horizontal-scroll {
            display: flex;
            overflow-x: auto;
            gap: 1.2rem;
            padding-bottom: 1.2rem;
            scroll-snap-type: x mandatory;
        }
        .horizontal-scroll .movie-card {
            min-width: 160px;
            flex: 0 0 160px;
            scroll-snap-align: start;
        }

        .rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-weight: 700;
            font-size: 0.9rem;
            margin-right: 8px;
        }
        .rank-1 { background: var(--gold); color: #1a1a1a; }
        .rank-2 { background: var(--silver); color: #1a1a1a; }
        .rank-3 { background: var(--bronze); color: #fff; }
        .rank-other { background: #33384a; color: #c3c8dd; }

        .pill-category {
            display: inline-block;
            background: rgba(34, 211, 238, 0.1);
            color: var(--accent);
            border: 1px solid rgba(34, 211, 238, 0.3);
            border-radius: 50rem;
            padding: 0.2rem 0.9rem;
            font-size: 0.8rem;
            margin: 0.2rem;
        }

        .footer-links {
            background: #0b0c1a;
            padding: 2rem 0;
            margin-top: 3rem;
            border-top: 1px solid rgba(109, 93, 252, 0.2);
        }
        .footer-links h6 {
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: none;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(109, 93, 252, 0.4);
            z-index: 1050;
            transition: opacity 0.2s;
        }

        /* 沉浸式弹窗 */
        .movie-modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: 2000;
            background: rgba(10, 10, 25, 0.85);
            backdrop-filter: blur(12px);
            overflow-y: auto;
        }
        .modal-content-area {
            max-width: 700px;
            margin: 5vh auto;
            background: rgba(30, 32, 55, 0.9);
            border-radius: 28px;
            padding: 2rem;
            border: 1px solid rgba(109, 93, 252, 0.4);
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .modal-close {
            position: absolute;
            top: 15px; right: 20px;
            font-size: 1.8rem;
            color: var(--text);
            cursor: pointer;
            background: none;
            border: none;
            z-index: 5;
        }
        .modal-backdrop-img {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            object-fit: cover;
            opacity: 0.12;
            border-radius: 28px;
            pointer-events: none;
        }
        .modal-content-detail {
            position: relative;
            z-index: 2;
        }
        .modal-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent);
        }
        .modal-rating {
            font-size: 2rem;
            font-weight: 800;
            color: var(--gold);
        }

        .accordion-button:not(.collapsed) {
            background: rgba(109, 93, 252, 0.1);
            color: var(--accent);
        }

        .feature-icon-list i {
            color: var(--primary);
            margin-right: 12px;
            font-size: 1.1rem;
        }

        /* 滚动显现 */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 分类胶囊 */
        .genre-pill {
            background: rgba(109, 93, 252, 0.15);
            border-radius: 50rem;
            padding: 0.3rem 1rem;
            display: inline-block;
            margin: 0.25rem;
            border: 1px solid rgba(109, 93, 252, 0.2);
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .navbar-nav {
                background: rgba(15, 16, 32, 0.95);
                border-radius: 20px;
                padding: 1rem;
                margin-top: 0.5rem;
            }
            .hero-section { padding-top: 2rem; }
            .modal-content-area { margin: 10vh 1rem; }
        }