/* 暗红剧场主题 CSS 变量 */
        :root {
            --primary: #dc2626;
            --accent: #fb923c;
            --bg-dark: #141013;
            --text-light: #fef2f2;
            --card-bg: #201a1e;
            --border-glow: rgba(220, 38, 38, 0.5);
            --radius-lg: 22px;
            --radius-md: 16px;
            --shadow-soft: 0 8px 24px rgba(0,0,0,0.6);
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-family: 'Source Sans 3', 'Inter', sans-serif;
            line-height: 1.7;
            overflow-x: hidden;
        }
        h1, h2, h3, h4, .font-serif {
            font-family: 'Source Serif 4', 'Inter', serif;
            font-weight: 600;
        }
        .navbar {
            background-color: rgba(20, 16, 19, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(220, 38, 38, 0.2);
            padding: 0.8rem 0;
        }
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text-light) !important;
            letter-spacing: 1px;
        }
        .navbar-brand i {
            color: var(--accent);
            margin-right: 6px;
        }
        .navbar-nav .nav-link {
            color: #f3d9d9;
            margin: 0 8px;
            font-weight: 500;
            transition: 0.2s;
            border-radius: 30px;
            padding: 6px 16px !important;
        }
        .navbar-nav .nav-link:hover {
            color: var(--accent);
            background: rgba(220,38,38,0.08);
        }
        /* 顶部进度条 */
        #scrollProgress {
            position: fixed; top: 0; left: 0; height: 4px; width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 9999; border-radius: 2px; transition: width 0.1s;
        }
        /* Hero 区渐变 */
        .hero-section {
            padding: 6rem 0 3rem;
            background: radial-gradient(circle at 20% 30%, rgba(220,38,38,0.18), transparent 50%);
            position: relative;
            text-align: center;
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fef2f2, var(--accent), var(--primary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            letter-spacing: 2px;
        }
        .hero-float {
            position: absolute; animation: floatY 5s infinite ease-in-out;
            opacity: 0.7;
        }
        .hero-float-1 { top: 20%; left: 8%; font-size: 2rem; animation-delay: 0s; }
        .hero-float-2 { bottom: 15%; right: 10%; font-size: 2.8rem; animation-delay: 1s; }
        .hero-float-3 { top: 15%; right: 20%; font-size: 1.8rem; animation-delay: 2s; }
        @keyframes floatY { 0%{transform: translateY(0)} 50%{transform: translateY(-15px)} 100%{transform: translateY(0)} }
        
        .category-pill {
            background: rgba(220,38,38,0.15);
            border: 1px solid rgba(220,38,38,0.25);
            color: #fcdada;
            border-radius: 30px;
            padding: 6px 20px;
            transition: all 0.2s;
            font-weight: 500;
            backdrop-filter: blur(5px);
            margin: 0 5px;
            display: inline-block;
            cursor: pointer;
        }
        .category-pill:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .section-title {
            border-left: 6px solid var(--primary);
            padding-left: 15px;
            margin: 2.5rem 0 1.2rem;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
        }
        .section-title i { color: var(--accent); margin-right: 10px; }
        .card-movie {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255,255,255,0.06);
            overflow: hidden;
            transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
            box-shadow: var(--shadow-soft);
            height: 100%;
            cursor: pointer;
        }
        .card-movie:hover {
            transform: scale(1.03);
            border-color: var(--border-glow);
            box-shadow: 0 15px 35px rgba(220,38,38,0.3);
        }
        .card-movie img {
            width: 100%; height: 260px; object-fit: cover;
            border-bottom: 2px solid #2a1f24;
        }
        .card-body { padding: 1rem 0.8rem; }
        .badge-score {
            background: rgba(220,38,38,0.2);
            color: var(--accent);
            border-radius: 30px;
            padding: 2px 10px;
            font-weight: 600;
        }
        .ranking-badge {
            font-size: 1.5rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
            width: 42px; height: 42px; border-radius: 12px; margin-right: 8px;
        }
        .gold { background: linear-gradient(145deg, #f5d78c, #e6b422); color: #2a2002; }
        .silver { background: linear-gradient(145deg, #d9d9d9, #a0a0a0); color: #2f2f2f; }
        .bronze { background: linear-gradient(145deg, #e0a978, #a26b3a); color: #3e2410; }
        .rank-item {
            background: #1d1519;
            border-radius: 16px;
            padding: 10px 15px;
            margin-bottom: 10px;
            border: 1px solid rgba(220,38,38,0.1);
        }
        .footer {
            background: #0f0a0d;
            padding: 2.5rem 0;
            border-top: 1px solid rgba(220,38,38,0.2);
            margin-top: 3rem;
        }
        .footer a { color: #cc9f9f; text-decoration: none; }
        .friend-links a { margin: 0 8px; color: #b88282; }
        .back-to-top {
            position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: white;
            border-radius: 50px; width: 46px; height: 46px; display: none; align-items: center; justify-content: center;
            font-size: 1.4rem; z-index: 999; box-shadow: 0 8px 20px rgba(220,38,38,0.4); border: none;
        }
        .back-to-top.show { display: flex; }
        /* 抽屉弹窗 */
        .drawer-overlay {
            position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.6);
            z-index: 1050; opacity: 0; visibility: hidden; transition: 0.3s;
        }
        .drawer-panel {
            position: fixed; bottom: 0; left: 0; width: 100%; max-height: 80vh; overflow-y: auto;
            background: #22191e; border-radius: 28px 28px 0 0; padding: 1.8rem 2rem;
            z-index: 1060; transform: translateY(100%); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            color: #fef2f2; box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
        }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-overlay.active .drawer-panel { transform: translateY(0); }
        .timeline {
            border-left: 3px solid var(--primary);
            margin-left: 15px;
            padding-left: 20px;
        }
        .timeline-item { margin-bottom: 15px; position: relative; }
        .timeline-item::before {
            content: ''; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px;
            background: var(--accent); border-radius: 50%; border: 2px solid #1a1014;
        }
        .btn-watch {
            background: var(--primary); border: none; color: white; border-radius: 30px;
            padding: 6px 18px; font-weight: 600;
        }
        .btn-watch:hover { background: #b91c1c; }

/* --- 子页面追加 --- */
.rank-hero {
            padding: 100px 0 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
.rank-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 16px;
            letter-spacing: 1px;
        }
.rank-hero p {
            color: rgba(254, 242, 242, 0.7);
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }
.rank-tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin: 40px 0 30px;
            flex-wrap: wrap;
        }
.rank-tab-btn {
            background: var(--card-bg);
            color: var(--text-light);
            border: 1px solid var(--border-glow);
            padding: 10px 28px;
            border-radius: 30px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.rank-tab-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-soft);
        }
.rank-tab-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.rank-section {
            margin-bottom: 50px;
        }
.rank-list {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 30px 30px 10px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(255,255,255,0.04);
        }
.rank-item:hover {
            background: rgba(255,255,255,0.05);
            transform: translateX(6px);
        }
.ranking-badge.gold {
            background: linear-gradient(135deg, #FFD700, #FFA500);
            color: #141013;
            border: none;
        }
.ranking-badge.silver {
            background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
            color: #141013;
            border: none;
        }
.ranking-badge.bronze {
            background: linear-gradient(135deg, #CD7F32, #B87333);
            color: #fff;
            border: none;
        }
.rank-info {
            flex: 1;
        }
.rank-info h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-light);
            margin: 0 0 4px;
        }
.rank-info p {
            font-size: 0.85rem;
            color: rgba(254, 242, 242, 0.6);
            margin: 0;
        }
.badge-trend {
            background: rgba(251, 146, 60, 0.15);
            color: var(--accent);
            font-weight: 600;
            font-size: 0.85rem;
            padding: 4px 12px;
            border-radius: 12px;
            margin-left: 8px;
            flex-shrink: 0;
        }
.rank-note {
            background: rgba(220, 38, 38, 0.06);
            border-left: 3px solid var(--primary);
            padding: 18px 22px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 30px 0;
            color: rgba(254, 242, 242, 0.8);
            font-size: 0.95rem;
        }
.rank-note i {
            color: var(--accent);
            margin-right: 8px;
        }
.section-title::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, var(--border-glow), transparent);
        }
.rank-hero { padding: 80px 0 40px; }
.rank-hero h1 { font-size: 2rem; }
.rank-list { padding: 20px 15px; }
.rank-info h3 { font-size: 0.95rem; }
.rank-tab-btn { padding: 8px 18px; font-size: 0.85rem; }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .about-hero {
            position: relative;
            padding: 60px 0 40px;
            background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1318 100%);
            border-bottom: 1px solid var(--border-glow);
        }
.about-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text-light);
            text-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
        }
.about-hero .lead {
            color: rgba(254, 242, 242, 0.75);
            max-width: 680px;
            margin: 20px auto 0;
        }
.about-section {
            padding: 50px 0;
        }
.about-section h2 {
            color: var(--text-light);
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 24px;
            position: relative;
            padding-left: 18px;
        }
.about-section h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 6px;
            width: 4px;
            height: 70%;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 4px;
        }
.about-section p {
            color: rgba(254, 242, 242, 0.82);
            line-height: 1.8;
            font-size: 1.05rem;
        }
.about-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 28px;
            height: 100%;
            border: 1px solid var(--border-glow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-soft);
        }
.about-card .icon-wrap {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }
.about-card .icon-wrap i {
            font-size: 22px;
            color: var(--text-light);
        }
.about-card h3 {
            color: var(--text-light);
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
.about-card p {
            font-size: 0.95rem;
            margin-bottom: 0;
        }
.timeline-custom {
            position: relative;
            padding-left: 30px;
            margin-top: 30px;
        }
.timeline-custom::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
        }
.timeline-item-custom {
            position: relative;
            padding: 12px 0 24px;
        }
.timeline-item-custom::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 20px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 12px var(--border-glow);
        }
.timeline-item-custom h4 {
            color: var(--text-light);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 6px;
        }
.timeline-item-custom p {
            font-size: 0.95rem;
            color: rgba(254, 242, 242, 0.75);
            margin-bottom: 4px;
        }
.timeline-item-custom .date {
            color: var(--accent);
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
.stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 40px 0 0;
        }
.stat-item {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 24px 28px;
            text-align: center;
            flex: 1;
            min-width: 140px;
            border: 1px solid var(--border-glow);
        }
.stat-item .num {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.stat-item .label {
            color: rgba(254, 242, 242, 0.6);
            font-size: 0.9rem;
            margin-top: 6px;
        }
.about-hero h1 { font-size: 2rem; }
.about-section h2 { font-size: 1.5rem; }
.stat-item { min-width: 45%; }

/* --- 子页面追加 --- */
/* 隐私政策专用布局微调，完全沿用站点 CSS 变量 */
    .privacy-hero {
      background: radial-gradient(circle at 20% 30%, var(--card-bg) 0%, var(--bg-dark) 90%);
      border-bottom: 1px solid var(--border-glow);
    }
.privacy-hero h1 {
      font-size: calc(1.8rem + 1.2vw);
      font-weight: 800;
      letter-spacing: -0.02em;
    }
.privacy-section {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 2rem 2.2rem;
      margin-bottom: 1.8rem;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(220, 38, 38, 0.15);
      transition: border-color .3s;
    }
.privacy-section:hover {
      border-color: var(--border-glow);
    }
.privacy-section h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-light);
      border-left: 4px solid var(--primary);
      padding-left: 1rem;
      margin-bottom: 1.2rem;
      letter-spacing: -0.01em;
    }
.privacy-section h3 {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--accent);
      margin-top: 1.4rem;
      margin-bottom: .6rem;
    }
.privacy-section p, .privacy-section li {
      color: rgba(254, 242, 242, 0.85);
      line-height: 1.75;
    }
.privacy-section ul {
      padding-left: 1.3rem;
      list-style-type: disc;
    }
.privacy-section li::marker {
      color: var(--accent);
    }
.privacy-muted {
      color: rgba(254, 242, 242, 0.6);
      font-size: .95rem;
    }
.policy-tag {
      color: var(--accent);
      font-weight: 600;
    }
.privacy-float-icon {
      font-size: 2rem;
      color: var(--accent);
      opacity: .4;
      position: absolute;
      right: 1.5rem;
      top: 1.5rem;
    }
.privacy-section .list-group-item {
      background: transparent;
      border-color: rgba(220, 38, 38, 0.2);
    }
/* 确保所有 Bootstrap 组件被覆盖（本页用了少量卡片/列表） */
    .privacy-section, .privacy-section .card-body {
      background: var(--card-bg);
      color: var(--text-light);
    }
.privacy-section .list-group-item {
      background: rgba(0,0,0,0.2);
      color: var(--text-light);
      border: 1px solid rgba(220,38,38,0.2);
    }
.privacy-section .list-group-item:hover {
      background: rgba(0,0,0,0.3);
    }
/* 导航高亮当前页 */
    .navbar-nav .nav-link.active-privacy {
      color: var(--accent) !important;
      text-shadow: 0 0 8px rgba(251, 146, 60, 0.4);
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 卡片/表单等组件配色，与深色主题一致 */
    .card, .card-body, .card-header, .card-footer {
      background-color: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.card-title, .card-text {
      color: var(--text-light) !important;
    }
.accordion-item, .accordion-button, .accordion-body {
      background-color: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.accordion-button:not(.collapsed) {
      background-color: rgba(220,38,38,0.15) !important;
      color: var(--accent) !important;
    }
.form-control, .form-select {
      background-color: rgba(0,0,0,0.35) !important;
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.form-control::placeholder {
      color: rgba(255,255,255,0.45) !important;
    }
.modal-content, .modal-header, .modal-body, .modal-footer {
      background-color: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.dropdown-menu, .dropdown-item {
      background-color: var(--card-bg) !important;
      color: var(--text-light) !important;
    }
.dropdown-item:hover {
      background-color: rgba(220,38,38,0.2) !important;
    }
.nav-link, .navbar, .navbar-brand {
      color: var(--text-light) !important;
    }
.btn-light {
      background-color: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.btn-outline-secondary {
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.btn-outline-secondary:hover {
      background-color: var(--primary) !important;
      color: #fff !important;
    }
.table {
      --bs-table-bg: transparent;
      --bs-table-color: var(--text-light);
      --bs-table-border-color: var(--border-glow);
    }
.table th, .table td {
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
/* 手风琴/卡片微调 */
    .disclaimer-block {
      border-left: 3px solid var(--primary);
      padding-left: 1.2rem;
    }
a:hover {
      color: var(--primary);
    }