:root {
            --primary: #06b6d4;
            --accent: #ec4899;
            --bg-dark: #0c0a1a;
            --text-light: #e0f2fe;
            --border-line: rgba(6, 182, 212, 0.2);
            --card-bg: #131225;
        }
        * { 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-weight: 400;
            line-height: 1.6;
        }
        h1, h2, h3, h4, .display-1, .display-2, .display-3 {
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
        }
        a { text-decoration: none; color: var(--primary); }
        .navbar {
            background: rgba(12, 10, 26, 0.7);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-line);
            padding: 0.8rem 0;
        }
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 900;
            color: #fff !important;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .navbar-brand i { color: var(--accent); }
        .nav-link {
            color: var(--text-light) !important;
            font-weight: 500;
            margin: 0 0.6rem;
            border-radius: 30px;
            padding: 0.3rem 0.9rem !important;
            border: 1px solid transparent;
            transition: 0.2s;
        }
        .nav-link:hover { border-color: var(--primary); color: #fff !important; }
        .btn-accent {
            background: var(--accent);
            border: none;
            color: white;
            font-weight: 600;
            border-radius: 40px;
            padding: 0.4rem 1.4rem;
        }
        .hero-section {
            position: relative;
            height: 480px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDQwIiBoZWlnaHQ9IjUwMCIgdmlld0JveD0iMCAwIDE0NDAgNTAwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjMTMxMjI1Ii8+PHBvbHlsaW5lIHBvaW50cz0iMCw1MDAgMTAwLDQwMCAyMDAsNDUwIDQwMCwzMDAgNjAwLDM4MCA4MDAsMjUwIDkwMCwzMjAgMTA1MCwyMDAgMTIwMCwzMDAgMTQ0MCwxMDAgMTQ0MCw1MDAgMCw1MDAiIGZpbGw9IiMwNmI2ZDQiIG9wYWNpdHk9IjAuMSIvPjwvc3ZnPg==') no-repeat center/cover;
            border-bottom: 1px solid var(--border-line);
            overflow: hidden;
        }
        .hero-content { position: relative; z-index: 3; }
        .hero-title {
            font-size: clamp(2.2rem, 6vw, 4.5rem);
            font-weight: 900;
            color: white;
            display: inline-block;
            white-space: pre;
        }
        .hero-sub { font-size: 1.2rem; color: #b5d5e7; margin-top: 1rem; max-width: 700px; margin-inline: auto; }
        .hero-scroll-indicator { margin-top: 2.4rem; color: var(--primary); animation: bounce 2s infinite; }
        @keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1.6rem;
            border-left: 6px solid var(--accent);
            padding-left: 1rem;
        }
        .border-line { border-bottom: 1px solid var(--border-line); }
        .movie-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: 0.5rem;
            overflow: hidden;
            transition: transform 0.2s, border-color 0.2s;
            height: 100%;
            cursor: pointer;
            perspective: 800px;
            position: relative;
        }
        .movie-card-inner {
            transition: transform 0.5s;
            transform-style: preserve-3d;
            position: relative;
            height: 100%;
        }
        .movie-card.flipped .movie-card-inner { transform: rotateY(180deg); }
        .card-front, .card-back {
            backface-visibility: hidden;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0; left: 0;
        }
        .card-front { display: flex; flex-direction: column; }
        .card-back {
            transform: rotateY(180deg);
            background: #0d1c2e;
            padding: 1rem;
            color: #d6f0ff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            font-size: 0.9rem;
            border: 1px solid var(--primary);
        }
        .card-back strong { color: var(--accent); }
        .card-back .close-back {
            position: absolute; top: 10px; right: 14px;
            cursor: pointer; font-size: 1.4rem; color: #fff;
        }
        .movie-poster {
            background: #1a1c2c;
            aspect-ratio: 2 / 3;
            width: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }
        .movie-info { padding: 0.8rem; }
        .movie-title { font-weight: 700; color: white; font-size: 1.05rem; }
        .movie-meta { color: #9ab8d0; font-size: 0.8rem; }
        .badge-score {
            background: var(--accent);
            color: white;
            font-weight: 700;
            font-size: 0.8rem;
            padding: 0.2rem 0.5rem;
            border-radius: 30px;
        }
        .rank-badge {
            width: 30px; height: 30px;
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 50%;
            font-weight: 800;
            background: #333;
        }
        .rank-gold { background: #fbbf24; color: black; }
        .rank-silver { background: #c0c0c0; color: black; }
        .rank-bronze { background: #cd7f32; color: black; }
        .category-pill {
            border: 1px solid var(--primary);
            color: var(--text-light);
            border-radius: 50rem;
            padding: 0.3rem 1.1rem;
            background: transparent;
            transition: 0.2s;
            font-weight: 500;
            margin: 0.2rem;
        }
        .category-pill.active, .category-pill:hover { background: var(--primary); color: #0a0a1a; }
        .accordion-button { background: transparent; color: var(--text-light); border-bottom: 1px solid var(--border-line); }
        .accordion-button:not(.collapsed) { background: rgba(6,182,212,0.1); color: white; }
        .accordion-item { background: transparent; border: 1px solid var(--border-line); }
        .guide-box {
            border: 1px solid var(--primary);
            padding: 1.8rem;
            border-radius: 8px;
            background: rgba(6,182,212,0.05);
            margin: 2rem 0;
        }
        .friend-links a { color: var(--text-light); margin: 0 0.8rem; font-size: 0.9rem; }
        footer { border-top: 1px solid var(--border-line); padding: 2rem 0; }
        .footer-links a { margin: 0 1rem; color: #90a5b8; font-size: 0.9rem; }
        .fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
        .fade-up.visible { opacity: 1; transform: none; }
        .movie-card:hover img { transform: scale(1.06); }
        .movie-card:hover { border-color: var(--accent); }
        .no-shadow { box-shadow: none !important; }
        .poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.2rem; }
        @media (max-width: 768px) {
            .poster-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
            .hero-section { height: 360px; }
        }

/* --- 子页面追加 --- */
/* 排行榜页专属样式 */
        .ranking-hero {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
            border-bottom: 1px solid var(--border-line);
            padding: 4rem 0 3rem;
            position: relative;
            overflow: hidden;
        }
.ranking-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
.ranking-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
.ranking-hero h1 span {
            background: linear-gradient(90deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.ranking-hero p {
            font-size: 1.1rem;
            color: var(--text-light);
            opacity: 0.8;
            max-width: 600px;
            position: relative;
            z-index: 1;
        }
.rank-tabs {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--border-line);
            padding-bottom: 1rem;
        }
.rank-tab {
            padding: 0.5rem 1.5rem;
            border-radius: 30px;
            background: rgba(6, 182, 212, 0.08);
            border: 1px solid var(--border-line);
            color: var(--text-light);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
.rank-tab:hover, .rank-tab.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
        }
.rank-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.rank-list li {
            display: flex;
            align-items: center;
            padding: 1rem 1.25rem;
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: 12px;
            margin-bottom: 0.75rem;
            transition: all 0.3s ease;
            gap: 1.25rem;
        }
.rank-list li:hover {
            transform: translateX(5px);
            border-color: var(--primary);
            box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
        }
.rank-number {
            font-size: 1.5rem;
            font-weight: 900;
            min-width: 3rem;
            text-align: center;
            color: var(--text-light);
            opacity: 0.5;
        }
.rank-list li:nth-child(1) .rank-number {
            color: #FFD700;
            opacity: 1;
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
        }
.rank-list li:nth-child(2) .rank-number {
            color: #C0C0C0;
            opacity: 1;
            text-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
        }
.rank-list li:nth-child(3) .rank-number {
            color: #CD7F32;
            opacity: 1;
            text-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-weight: 700;
            font-size: 1.05rem;
            margin-bottom: 0.25rem;
        }
.rank-meta {
            font-size: 0.85rem;
            color: var(--text-light);
            opacity: 0.6;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
.rank-score {
            font-weight: 800;
            font-size: 1.1rem;
            color: var(--primary);
            background: rgba(6, 182, 212, 0.1);
            padding: 0.25rem 0.75rem;
            border-radius: 8px;
            border: 1px solid var(--border-line);
            white-space: nowrap;
        }
.rank-trend {
            color: var(--accent);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
.badge-hot {
            background: rgba(236, 72, 153, 0.2);
            color: var(--accent);
        }
.badge-new {
            background: rgba(6, 182, 212, 0.2);
            color: var(--primary);
        }
.badge-rising {
            background: rgba(255, 215, 0, 0.2);
            color: #FFD700;
        }
.section-desc {
            color: var(--text-light);
            opacity: 0.7;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
.ranking-hero h1 {
                font-size: 2rem;
            }
.rank-list li {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
.rank-score {
                font-size: 0.95rem;
            }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字 —— 确保卡片、表格等与深色主题一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
            background-color: var(--card-bg) !important;
            color: var(--text-light) !important;
            border-color: var(--border-line) !important;
        }
.form-control::placeholder {
            color: rgba(255,255,255,0.45) !important;
        }
/* 自定义本页卡片（若用 .card 已覆盖） */
        .about-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: 1.25rem;
            padding: 1.5rem;
            height: 100%;
            transition: transform .2s ease, border-color .2s;
        }
.about-card:hover {
            border-color: var(--primary);
            transform: translateY(-3px);
        }
.about-icon {
            color: var(--primary);
            font-size: 2rem;
            margin-bottom: .75rem;
        }
.feature-tag {
            background: rgba(6, 182, 212, 0.12);
            color: var(--primary);
            border-radius: 30px;
            padding: 2px 14px;
            font-size: 0.85rem;
            display: inline-block;
            border: 1px solid var(--border-line);
        }
/* 小标题带品牌风格 */
        .section-subtitle {
            font-size: 1.1rem;
            color: var(--accent);
            letter-spacing: .3px;
        }
/* 页脚友链区域颜色 */
        .footer-links a {
            color: var(--text-light);
            opacity: .8;
            text-decoration: none;
        }
.footer-links a:hover {
            color: var(--primary);
            opacity: 1;
        }
/* 导航当前页高亮 */
        .navbar .nav-link.active {
            color: var(--primary) !important;
            font-weight: 600;
        }
/* 调整hero与其他区块的间距 */
        .about-hero {
            padding: 5rem 0 2.5rem;
        }
.about-section {
            padding: 2.5rem 0;
        }

/* --- 子页面追加 --- */
.disclaimer-section {
            padding: 80px 0;
        }
.disclaimer-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: 16px;
            padding: 40px;
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }
.disclaimer-card:hover {
            border-color: var(--primary);
            box-shadow: 0 8px 30px rgba(6, 182, 212, 0.1);
        }
.disclaimer-card h2 {
            color: var(--primary);
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.disclaimer-card h2 i {
            color: var(--accent);
            font-size: 1.4rem;
        }
.disclaimer-card p, .disclaimer-card li {
            color: var(--text-light);
            opacity: 0.85;
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-card ul {
            padding-left: 20px;
            margin-top: 12px;
        }
.disclaimer-card li {
            margin-bottom: 8px;
        }
.highlight-box {
            background: rgba(6, 182, 212, 0.08);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 12px 12px 0;
            margin: 20px 0;
        }
.highlight-box p {
            margin: 0;
            opacity: 0.9;
        }
.last-updated {
            text-align: center;
            color: var(--text-light);
            opacity: 0.5;
            font-size: 0.85rem;
            margin-top: 40px;
            letter-spacing: 1px;
        }
.active-nav {
            color: var(--accent) !important;
            font-weight: 700;
        }
.disclaimer-section {
                padding: 50px 0;
            }
.disclaimer-card {
                padding: 24px;
            }
.disclaimer-card h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 本页专用：轻微补充，保证组件配色一致 */
        .guide-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: 1rem;
            padding: 1.5rem;
            height: 100%;
            transition: transform .2s ease, border-color .2s;
        }
.guide-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
        }
.guide-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }
.guide-step {
            background: rgba(6, 182, 212, 0.08);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.25rem;
            border-radius: 0 1rem 1rem 0;
            margin-bottom: 1rem;
        }
.guide-step h4 {
            color: var(--text-light);
            font-weight: 600;
            font-size: 1.15rem;
            margin-bottom: .35rem;
        }
.guide-step p {
            color: rgba(224, 242, 254, 0.8);
            margin-bottom: 0;
            font-size: 0.95rem;
        }
.list-bullet {
            list-style: none;
            padding-left: 0;
        }
.list-bullet li {
            padding: 0.4rem 0;
            display: flex;
            align-items: baseline;
            gap: 0.6rem;
            color: var(--text-light);
            border-bottom: 1px dashed rgba(6,182,212,0.15);
        }
.list-bullet li i {
            color: var(--accent);
            width: 1.25rem;
            font-size: 0.9rem;
        }
.section-subhead {
            color: var(--primary);
            font-weight: 600;
            letter-spacing: 0.02em;
        }
.guide-highlight {
            color: var(--accent);
            font-weight: 600;
        }
/* 覆盖bootstrap潜在白底 */
        .accordion-item, .accordion-button, .card, .list-group-item {
            background: transparent !important;
            color: var(--text-light) !important;
        }

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