:root {
            --primary: #dc2626;
            --accent: #fb923c;
            --bg: #141013;
            --text: #fef2f2;
            --card-bg: #1f1a1e;
            --card-hover: #2a2226;
            --font-title: 'Inter', sans-serif;
        }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
        }
        /* 自定义滚动条 */
        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: var(--bg); }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
        
        .navbar-brand, .navbar-nav .nav-link, .footer-brand {
            font-weight: 800;
            letter-spacing: 0.5px;
        }
        .navbar-dark { background-color: rgba(20, 16, 19, 0.9) !important; backdrop-filter: blur(6px); }

        .btn-rounded { border-radius: 50px; }
        .card-capsule { border-radius: 20px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.3s ease; }
        .card-capsule:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 15px 30px rgba(220,38,38,0.25); }
        .badge-hd { background-color: rgba(0,0,0,0.6); font-size: 0.6rem; backdrop-filter: blur(2px); }

        /* 光扫效果按钮 */
        .btn-sheen { position: relative; overflow: hidden; }
        .btn-sheen::after {
            content: '';
            position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }
        .btn-sheen:hover::after { left: 100%; }

        /* 滚动显现动画 */
        .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .fade-up.visible { opacity: 1; transform: translateY(0); }

        /* 回到顶部按钮 */
        #backTop { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: none; border-radius: 50%; width: 50px; height: 50px; background: var(--primary); border: none; color: white; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
        #backTop.show { display: block; animation: popIn 0.3s; }
        @keyframes popIn { from {opacity:0; transform: scale(0.8);} to {opacity:1; transform: scale(1);} }

        /* 打字机动画 */
        .typewriter { display: inline-block; overflow: hidden; white-space: nowrap; animation: typing 3s steps(30, end); }
        @keyframes typing { from { width: 0; } to { width: 100%; } }
        
        .hero-title {
            font-weight: 900;
            font-size: clamp(2rem, 6vw, 4rem);
            background: linear-gradient(120deg, var(--accent), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* 角标 */
        .quality-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); border-radius: 12px; padding: 2px 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; }
        .rating-badge { position: absolute; bottom: 10px; right: 10px; background: rgba(220,38,38,0.85); border-radius: 12px; padding: 2px 8px; font-size: 0.8rem; font-weight: 700; }
        
        /* 分区标题 */
        .section-title { font-weight: 800; letter-spacing: -0.02em; border-left: 6px solid var(--primary); padding-left: 14px; margin: 2.5rem 0 1.5rem; }
        .genre-chip { background: #2b2226; border-radius: 40px; padding: 8px 20px; font-weight: 600; transition: all 0.2s; }
        .genre-chip:hover, .genre-chip.active { background: var(--primary); }

        /* 弹窗沉浸式 */
        .film-modal { display: none; position: fixed; inset: 0; z-index: 1080; background: rgba(10,8,10,0.85); backdrop-filter: blur(12px); justify-content: center; align-items: center; padding: 20px; }
        .film-modal .modal-content { max-width: 720px; background: rgba(20,16,19,0.85); border-radius: 28px; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
        .film-modal.show { display: flex; }
        .film-modal .poster-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(18px) brightness(0.3); z-index: -1; transform: scale(1.2); }
        .modal-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.1); border: none; width: 40px; height: 40px; border-radius: 50%; color: white; font-size: 1.4rem; }

        footer { background: #0b090b; }
        .footer-links a { color: #a3a0a3; text-decoration: none; margin-right: 15px; }
        .footer-links a:hover { color: var(--primary); }

        .stat-number { font-family: 'Inter', monospace; font-size: 2rem; font-weight: 800; }

/* --- 子页面追加 --- */
.guide-hero { background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(20,16,19,.8) 60%), var(--bg); padding: 80px 0 60px; }
.guide-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 32px; height: 100%; transition: all .3s ease; }
.guide-card:hover { background: var(--card-hover); transform: translateY(-4px); }
.guide-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(220,38,38,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.guide-icon i { font-size: 24px; color: var(--accent); }
.step-number { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; color: var(--text); font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.faq-a { color: rgba(254,242,242,.7); padding-left: 48px; line-height: 1.8; }
.tip-badge { display: inline-block; background: rgba(251,146,60,.12); color: var(--accent); border-radius: 20px; padding: 4px 14px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.section-spacer { padding: 70px 0; }
.guide-hero { padding: 50px 0 40px; }
.guide-card { padding: 24px; }
.section-spacer { padding: 50px 0; }

/* --- 子页面追加 --- */
.disclaimer-page { padding-top: 140px; padding-bottom: 80px; }
.disclaimer-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.disclaimer-hero { background: linear-gradient(135deg, rgba(220,38,38,.15), rgba(251,146,60,.08)); border: 1px solid rgba(220,38,38,.25); border-radius: 20px; padding: 50px 40px; margin-bottom: 50px; text-align: center; position: relative; overflow: hidden; }
.disclaimer-hero::before { content: ''; position: absolute; top: -50%; right: -30%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(220,38,38,.2), transparent 70%); border-radius: 50%; }
.disclaimer-hero h1 { font-size: 2.6rem; font-weight: 800; color: var(--text); margin-bottom: 15px; position: relative; z-index: 1; }
.disclaimer-hero h1 span { color: var(--accent); }
.disclaimer-hero p { color: rgba(254,242,242,.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.disclaimer-section { background: var(--card-bg); border-radius: 16px; padding: 35px 35px; margin-bottom: 30px; border: 1px solid rgba(255,255,255,.06); transition: all .3s ease; }
.disclaimer-section:hover { border-color: rgba(220,38,38,.35); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.disclaimer-section h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.disclaimer-section h2 i { color: var(--primary); font-size: 1.3rem; }
.disclaimer-section h2 .accent-text { color: var(--accent); }
.disclaimer-section p { color: rgba(254,242,242,.75); line-height: 1.8; font-size: 1rem; margin-bottom: 15px; }
.disclaimer-section p:last-child { margin-bottom: 0; }
.disclaimer-section ul { padding-left: 20px; margin-bottom: 15px; }
.disclaimer-section ul li { color: rgba(254,242,242,.75); line-height: 1.9; font-size: .98rem; position: relative; padding-left: 8px; }
.disclaimer-section ul li::marker { color: var(--primary); }
.disclaimer-section .highlight-box { background: rgba(220,38,38,.08); border-left: 3px solid var(--primary); padding: 15px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.disclaimer-section .highlight-box p { color: rgba(254,242,242,.85); margin-bottom: 0; }
.disclaimer-section .highlight-box strong { color: var(--accent); }
.notice-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(220,38,38,.15); color: var(--accent); padding: 6px 16px; border-radius: 30px; font-size: .85rem; font-weight: 500; margin-bottom: 20px; }
.notice-badge i { font-size: .8rem; }
.last-updated { text-align: center; color: rgba(254,242,242,.45); font-size: .9rem; margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08); }
.last-updated i { margin-right: 6px; color: var(--accent); }
.disclaimer-hero { padding: 35px 20px; }
.disclaimer-hero h1 { font-size: 2rem; }
.disclaimer-section { padding: 25px 20px; }
.disclaimer-section h2 { font-size: 1.3rem; }

/* --- 子页面追加 --- */
/* 排行榜专属样式 */
        .rank-table { width: 100%; border-collapse: collapse; }
.rank-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.3s; }
.rank-table tr:hover { background: rgba(255,255,255,0.03); }
.rank-table td { padding: 14px 12px; vertical-align: middle; }
.rank-num { font-size: 1.3rem; font-weight: 800; width: 50px; text-align: center; }
.rank-num.top1 { color: #ffd700; }
.rank-num.top2 { color: #c0c0c0; }
.rank-num.top3 { color: #cd7f32; }
.rank-title { font-weight: 600; }
.rank-score { color: var(--accent); font-weight: 700; text-align: right; width: 60px; }
.rank-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-left: 10px; vertical-align: middle; }
.tag-hot { background: rgba(220,38,38,0.2); color: var(--primary); border: 1px solid rgba(220,38,38,0.4); }
.tag-new { background: rgba(251,146,60,0.2); color: var(--accent); border: 1px solid rgba(251,146,60,0.4); }
.tag-bd { background: rgba(255,255,255,0.1); color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.rank-category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.rank-cat-btn { padding: 8px 22px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: var(--text); font-weight: 500; cursor: pointer; transition: all 0.3s; }
.rank-cat-btn:hover, .rank-cat-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.rank-cat-btn i { margin-right: 6px; }
.rank-section { margin-bottom: 50px; }
.rank-section h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.rank-section h2 i { color: var(--accent); }
.trend-up { color: #4ade80; font-size: 0.8rem; margin-left: 8px; }
.trend-down { color: #f87171; font-size: 0.8rem; margin-left: 8px; }
.trend-flat { color: #9ca3af; font-size: 0.8rem; margin-left: 8px; }
.rank-filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.rank-update-time { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.rank-update-time i { margin-right: 6px; }
.rank-progress { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 8px; width: 100%; }
.rank-progress-bar { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card { background:rgba(255,255,255,.04) !important; color:#fef2f2 !important; border-color:rgba(255,255,255,.12) !important; }
.card-body { background:transparent !important; color:#fef2f2 !important; }
.card-title { color:#fef2f2 !important; }
.card-text { color:#fef2f2 !important; }
.list-group-item { background:rgba(255,255,255,.04) !important; color:#fef2f2 !important; border-color:rgba(255,255,255,.12) !important; }
.accordion-item { background:rgba(255,255,255,.04) !important; color:#fef2f2 !important; border-color:rgba(255,255,255,.12) !important; }
.accordion-button { background:rgba(255,255,255,.04) !important; color:#fef2f2 !important; }
.accordion-body { background:transparent !important; color:#fef2f2 !important; }
.accordion-header { background:transparent !important; }
.accordion-button::after { filter: invert(1) grayscale(1) brightness(2); }
