:root {
            --primary: #6d5dfc;
            --accent: #22d3ee;
            --bg-dark: #0f1020;
            --text-light: #e8eaf6;
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.6);
            --shadow-glow: 0 0 20px rgba(109, 93, 252, 0.4);
        }

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

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            font-size: 14px;
            line-height: 1.5;
        }

        h1, h2, h3, h4, h5, .navbar-brand {
            font-weight: 900;
            letter-spacing: -0.02em;
        }

        .navbar {
            background: rgba(15, 16, 32, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding: 0.5rem 1rem;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }

        .navbar-brand {
            font-size: 1.8rem;
            color: var(--accent) !important;
            text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .navbar-brand i {
            color: var(--primary);
            font-size: 2rem;
        }

        .navbar-nav .nav-link {
            color: var(--text-light);
            font-weight: 500;
            margin: 0 6px;
            padding: 10px 12px;
            border-radius: 40px;
            transition: all 0.2s;
        }

        .navbar-nav .nav-link:hover {
            background: rgba(109, 93, 252, 0.25);
            color: white;
        }

        .hero-section {
            position: relative;
            padding: 4rem 0 2rem;
            overflow: hidden;
            min-height: 500px;
            display: flex;
            align-items: center;
            background: radial-gradient(circle at 20% 30%, rgba(109, 93, 252, 0.3), transparent 60%), var(--bg-dark);
        }

        .hero-backdrop {
            position: absolute;
            inset: 0;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 800 600"><g fill="none" stroke="%236d5dfc22" stroke-width="2"><circle cx="100" cy="80" r="150"/><circle cx="700" cy="300" r="220"/><circle cx="200" cy="500" r="190"/></g></svg>');
            background-size: cover;
            background-position: center;
            transform: translateY(0);
            will-change: transform;
            z-index: 0;
            opacity: 0.4;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .keyword-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 2rem;
            max-width: 700px;
        }

        .keyword-tag {
            background: rgba(109, 93, 252, 0.2);
            border: 1px solid rgba(109, 93, 252, 0.5);
            backdrop-filter: blur(6px);
            color: var(--accent);
            padding: 8px 18px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.85rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            animation: floatTag 4s infinite ease-in-out alternate;
        }

        .keyword-tag:nth-child(2n) { animation-delay: 0.6s; }
        .keyword-tag:nth-child(3n) { animation-delay: 1.2s; }
        .keyword-tag:nth-child(4n) { animation-delay: 1.8s; }

        @keyframes floatTag {
            0% { transform: translateY(0); }
            100% { transform: translateY(-8px); }
        }

        .section-title {
            font-size: 1.8rem;
            font-weight: 900;
            margin: 2.5rem 0 1.5rem;
            position: relative;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 60%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 4px;
        }

        .movie-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 18px;
        }

        .movie-card {
            background: #171a2e;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: transform 0.25s, box-shadow 0.25s;
            border: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            position: relative;
        }

        .movie-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(109, 93, 252, 0.6);
        }

        .poster-wrap {
            position: relative;
            aspect-ratio: 2 / 3;
            overflow: hidden;
            background: #252a45;
        }

        .poster-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: opacity 0.3s;
        }

        .poster-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .play-btn {
            width: 50px;
            height: 50px;
            background: rgba(109, 93, 252, 0.85);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
            box-shadow: 0 0 30px var(--primary);
            transition: transform 0.2s;
        }

        .play-btn i {
            margin-left: 4px;
        }

        .movie-info {
            padding: 12px;
        }

        .movie-title {
            font-weight: 700;
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .movie-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: #b9c0d4;
            margin-top: 6px;
        }

        .rating {
            font-family: 'Courier New', monospace;
            font-weight: 700;
            color: var(--accent);
            background: rgba(34, 211, 238, 0.1);
            padding: 2px 8px;
            border-radius: 20px;
        }

        .rank-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: var(--primary);
            color: white;
            font-weight: 800;
            font-size: 0.8rem;
            padding: 4px 10px;
            border-radius: 30px;
            z-index: 5;
            box-shadow: 0 4px 8px rgba(0,0,0,0.5);
        }

        .accordion-button {
            background: #1c1f36;
            color: var(--text-light);
            font-weight: 600;
            border-radius: var(--radius-sm) !important;
            box-shadow: none;
        }
        .accordion-button:not(.collapsed) {
            background: rgba(109, 93, 252, 0.2);
            color: white;
        }
        .accordion-item {
            background: transparent;
            border: none;
            margin-bottom: 12px;
        }

        .footer {
            background: #0a0b18;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding: 2rem 0;
            margin-top: 3rem;
        }

        .friend-links {
            background: rgba(255,255,255,0.02);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            margin-top: 2rem;
        }

        .stat-number {
            font-family: 'Courier New', monospace;
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--accent);
        }

        .theme-tags span {
            background: rgba(34, 211, 238, 0.15);
            color: var(--accent);
            padding: 8px 18px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .theme-tags span:hover {
            background: var(--primary);
            color: white;
        }

        /* 抽屉弹窗 */
        .drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(4px);
            z-index: 1050;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        .drawer-panel {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #1b1e34;
            border-radius: 28px 28px 0 0;
            padding: 2rem;
            z-index: 1051;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
            box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
            max-height: 80vh;
            overflow-y: auto;
        }
        .drawer-panel.show {
            transform: translateY(0);
        }
        .drawer-overlay.show {
            opacity: 1;
            visibility: visible;
        }
        .drawer-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.6rem;
            position: absolute;
            top: 20px;
            right: 24px;
        }

        @media (max-width: 768px) {
            .movie-grid { grid-template-columns: repeat(2, 1fr); }
            .navbar-collapse { background: rgba(15,16,32,0.95); border-radius: 20px; padding: 1rem; margin-top: 8px; }
        }

/* --- 子页面追加 --- */
/* 排行榜专用卡片与配色覆盖 —— 遵循站点CSS变量 */
        .rank-hero {
            background: linear-gradient(145deg, rgba(109,93,252,0.12) 0%, rgba(34,211,238,0.05) 100%);
            border-radius: var(--radius-lg);
            padding: 2.2rem 1.8rem;
            border: 1px solid rgba(109,93,252,0.25);
            margin-top: 1.5rem;
        }
.rank-hero h1 {
            font-weight: 800;
            letter-spacing: -0.02em;
            background: linear-gradient(120deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: inline-block;
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1.8rem 0 1.2rem;
            border-bottom: 1px solid rgba(109,93,252,0.2);
            padding-bottom: 0.8rem;
        }
.rank-tab-btn {
            background: transparent;
            border: 1px solid rgba(109,93,252,0.3);
            color: var(--text-light);
            padding: 0.45rem 1.4rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            cursor: pointer;
        }
.rank-tab-btn:hover {
            background: rgba(109,93,252,0.15);
            border-color: var(--primary);
        }
.rank-tab-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-glow);
        }
.rank-panel {
            display: none;
        }
.rank-panel.active-panel {
            display: block;
        }
.rank-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.8rem 0.6rem;
            border-bottom: 1px solid rgba(109,93,252,0.15);
            border-radius: var(--radius-sm);
            transition: background 0.15s;
        }
.rank-item:hover {
            background: rgba(109,93,252,0.06);
        }
.rank-index {
            font-weight: 800;
            font-size: 1.5rem;
            min-width: 42px;
            text-align: center;
            color: var(--primary);
            opacity: 0.9;
        }
.rank-index.top1 { color: #ffd166; }
.rank-index.top2 { color: #a8b2c1; }
.rank-index.top3 { color: #e08d5c; }
.rank-poster {
            width: 46px;
            height: 64px;
            border-radius: 10px;
            object-fit: cover;
            background: rgba(255,255,255,0.08);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            flex-shrink: 0;
        }
.rank-info {
            flex: 1;
            min-width: 0;
        }
.rank-title {
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }
.rank-meta {
            font-size: 0.75rem;
            color: rgba(232,234,246,0.7);
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
.rank-rating {
            font-weight: 700;
            color: var(--accent);
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 3px;
        }
.rank-rating i {
            font-size: 0.8rem;
            color: #ffb800;
        }
.rank-badge-mine {
            background: rgba(109,93,252,0.2);
            border-radius: 50px;
            padding: 2px 10px;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--accent);
            border: 1px solid rgba(34,211,238,0.2);
        }
.trend-tag {
            font-size: 0.7rem;
            color: #ff6b6b;
            font-weight: 500;
        }
.note-box {
            background: rgba(0,0,0,0.25);
            border-left: 4px solid var(--primary);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            padding: 1rem 1.4rem;
            margin: 2rem 0 0.5rem;
            font-size: 0.9rem;
            color: var(--text-light);
        }
.note-box i {
            color: var(--accent);
            margin-right: 6px;
        }
/* 覆盖bootstrap潜在冲突 */
        .navbar-nav .nav-link {
            color: var(--text-light);
        }
.navbar-nav .nav-link.active,
        .navbar-nav .nav-link:hover {
            color: var(--accent);
        }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件不被默认白底干扰 —— 但我们尽量不用 .card 等组件，只用栅格 */
        /* 本页使用自定义的 .about-section, .about-card 等，避开 bootstrap 组件类 */
        .about-hero {
            background: linear-gradient(145deg, var(--bg-dark) 0%, #1b1d3a 100%);
            border-radius: var(--radius-lg);
            padding: 3rem 2rem;
            box-shadow: var(--shadow-soft);
            margin-bottom: 2.5rem;
        }
.about-hero h1 {
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.section-block {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-lg);
            padding: 2rem 2rem 2.5rem;
            margin-bottom: 2.5rem;
            backdrop-filter: blur(4px);
        }
.section-block h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            border-left: 5px solid var(--accent);
            padding-left: 1.2rem;
        }
.section-block p, .section-block li {
            color: var(--text-light);
            opacity: 0.9;
            line-height: 1.8;
        }
.feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
.feature-item {
            background: rgba(109, 93, 252, 0.08);
            border: 1px solid rgba(109, 93, 252, 0.2);
            border-radius: var(--radius-md);
            padding: 1.5rem 1rem;
            text-align: center;
            transition: all 0.2s ease;
        }
.feature-item i {
            font-size: 2.2rem;
            color: var(--accent);
            margin-bottom: 0.8rem;
        }
.feature-item h4 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-light);
        }
.feature-item p {
            font-size: 0.9rem;
            opacity: 0.7;
        }
.stat-badge {
            background: var(--primary);
            color: #fff;
            border-radius: 50px;
            padding: 0.4rem 1.2rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }
.btn-ghost-custom {
            border: 1px solid var(--accent);
            color: var(--accent);
            background: transparent;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-weight: 500;
            transition: all 0.2s;
        }
.btn-ghost-custom:hover {
            background: var(--accent);
            color: var(--bg-dark);
            border-color: var(--accent);
        }
/* 导航高亮当前页 */
        .navbar-nav .nav-link.active {
            color: var(--accent) !important;
            font-weight: 600;
        }
/* 页脚链接保持与首页一致 */
        .footer a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
        }
.footer a:hover {
            color: var(--accent);
        }
/* 品牌名连续，不允许拆分 */
        .navbar-brand, .footer .brand {
            white-space: nowrap;
        }

/* --- 子页面追加 --- */
/* 本页专属小调整——仅针对免责声明排版 */
        .disclaimer-hero {
            background: linear-gradient(145deg, var(--bg-dark) 0%, #1b1d3a 100%);
            padding: 4rem 0 2.5rem;
            border-bottom: 1px solid rgba(109, 93, 252, 0.15);
        }
.disclaimer-content {
            background: rgba(20, 22, 45, 0.6);
            backdrop-filter: blur(8px);
            border-radius: var(--radius-lg);
            padding: 2rem 2.2rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(109, 93, 252, 0.25);
        }
.disclaimer-content h3 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 1rem;
            border-left: 4px solid var(--accent);
            padding-left: 1rem;
        }
.disclaimer-content h3:first-of-type {
            margin-top: 0.5rem;
        }
.disclaimer-content p, .disclaimer-content li {
            color: var(--text-light);
            opacity: 0.92;
            line-height: 1.8;
        }
.disclaimer-content ul {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
.disclaimer-content li {
            margin-bottom: 0.6rem;
        }
.disclaimer-content strong {
            color: var(--accent);
        }
.disclaimer-footer-note {
            margin-top: 2.5rem;
            padding-top: 1.5rem;
            border-top: 1px dashed rgba(255,255,255,0.15);
            font-size: 0.95rem;
            color: rgba(232, 234, 246, 0.7);
        }
.disclaimer-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            letter-spacing: -0.5px;
        }
.disclaimer-hero h1 i {
            color: var(--accent);
            margin-right: 0.6rem;
        }
.disclaimer-hero h1 { font-size: 1.8rem; }
.disclaimer-content { padding: 1.5rem; }

/* --- 子页面追加 --- */
/* 排行榜专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(109, 93, 252, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
            border-radius: var(--radius-lg);
            padding: 3rem 2rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(109, 93, 252, 0.2);
        }
.rank-tab {
            padding: 0.6rem 1.4rem;
            border-radius: 50px;
            background: rgba(109, 93, 252, 0.1);
            color: var(--text-light);
            border: 1px solid rgba(109, 93, 252, 0.3);
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }
.rank-tab:hover, .rank-tab.active {
            background: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-glow);
        }
.rank-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            min-width: 60px;
            text-align: center;
            font-style: italic;
        }
.rank-item:nth-child(1) .rank-number { color: #ffd700; }
.rank-item:nth-child(2) .rank-number { color: #c0c0c0; }
.rank-item:nth-child(3) .rank-number { color: #cd7f32; }
.rank-score {
            font-weight: 700;
            color: var(--accent);
            font-size: 1.2rem;
            min-width: 50px;
            text-align: right;
        }
.trend-up { color: #4ade80; font-size: 0.8rem; }
.trend-down { color: #f87171; font-size: 0.8rem; }
.trend-flat { color: #facc15; font-size: 0.8rem; }
.rank-section-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.rank-section-title i {
            color: var(--primary);
            font-size: 1.3rem;
        }
.view-more-link {
            color: var(--accent);
            text-decoration: none;
            font-size: 0.9rem;
            margin-left: auto;
        }
.view-more-link:hover { text-decoration: underline; }
.rank-number { min-width: 40px; font-size: 1.4rem; }
.rank-score { min-width: 40px; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.list-group-item { background:rgba(255,255,255,.04) !important; color:#e8eaf6 !important; border-color:rgba(255,255,255,.12) !important; }
.accordion-body { background:transparent !important; color:#e8eaf6 !important; }
.accordion-header { background:transparent !important; }
