:root {
            --primary: #dc2626;
            --accent: #fb923c;
            --bg-dark: #141013;
            --text-light: #fef2f2;
            --card-bg: #1f1a1f;
            --shadow-soft: 0 10px 30px -10px rgba(220, 38, 38, 0.25);
            --radius-lg: 24px;
            --radius-md: 18px;
            --radius-sm: 12px;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-family: 'Inter', '思源黑体', 'Noto Sans SC', sans-serif;
            line-height: 1.75;
            letter-spacing: 0.02em;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6, .nav-link, .display-5, .brand-font {
            font-family: 'Inter', '思源宋体', 'Noto Serif SC', serif;
            font-weight: 700;
        }

        /* 导航栏 */
        .custom-navbar {
            background: rgba(20, 16, 19, 0.7);
            backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(254, 242, 242, 0.08);
            transition: all 0.3s ease;
            padding: 0.8rem 0;
        }
        .custom-navbar.scrolled {
            background: rgba(20, 16, 19, 0.95);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .navbar-brand {
            font-size: 1.9rem;
            font-weight: 900;
            color: var(--text-light) !important;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .navbar-brand i {
            color: var(--accent);
        }
        .navbar-nav .nav-link {
            color: rgba(254, 242, 242, 0.8) !important;
            font-weight: 500;
            margin: 0 0.3rem;
            border-radius: 50px;
            padding: 0.4rem 1rem !important;
            transition: all 0.2s;
        }
        .navbar-nav .nav-link:hover {
            color: var(--accent) !important;
            background: rgba(251, 146, 60, 0.1);
        }

        /* 区块标题 */
        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            position: relative;
            display: inline-block;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 4px solid var(--accent);
            border-radius: 4px;
        }
        .section-title i {
            color: var(--accent);
            margin-right: 12px;
        }

        /* 卡片设计 */
        .movie-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(254, 242, 242, 0.06);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
            transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
            height: 100%;
            position: relative;
        }
        .movie-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 18px 35px -8px rgba(220, 38, 38, 0.3);
            border-color: rgba(251, 146, 60, 0.3);
        }
        .card-img-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 2/3;
            background: #1a1519;
        }
        .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }
        .movie-card:hover .card-img-wrap img {
            transform: scale(1.1);
        }
        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(20,16,19,0.9) 0%, rgba(20,16,19,0.2) 60%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.2rem;
        }
        .movie-card:hover .card-overlay {
            opacity: 1;
        }
        .overlay-text {
            transform: translateY(10px);
            transition: transform 0.3s;
        }
        .movie-card:hover .overlay-text {
            transform: translateY(0);
        }
        .card-body {
            padding: 1rem 0.8rem 0.8rem;
            background: var(--card-bg);
        }
        .movie-title {
            font-weight: 700;
            font-size: 1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .movie-meta {
            font-size: 0.8rem;
            color: rgba(254, 242, 242, 0.6);
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .badge-type {
            background: rgba(251, 146, 60, 0.15);
            color: var(--accent);
            border-radius: 50px;
            padding: 0.2rem 0.8rem;
            font-size: 0.7rem;
            font-weight: 500;
        }
        .rating {
            color: var(--accent);
            font-weight: 700;
            background: rgba(220, 38, 38, 0.2);
            padding: 0.1rem 0.6rem;
            border-radius: 50px;
            font-size: 0.8rem;
        }

        /* 左侧分类栏 */
        .category-sidebar {
            position: sticky;
            top: 90px;
            background: rgba(20,16,19,0.5);
            border-radius: var(--radius-lg);
            padding: 1.2rem 0.8rem;
            border: 1px solid rgba(254,242,242,0.05);
            backdrop-filter: blur(8px);
        }
        .category-sidebar .cat-item {
            display: block;
            padding: 0.7rem 1.2rem;
            margin-bottom: 0.5rem;
            border-radius: 50px;
            color: rgba(254,242,242,0.75);
            font-weight: 500;
            transition: all 0.2s;
            text-decoration: none;
        }
        .category-sidebar .cat-item i {
            width: 24px;
            color: var(--accent);
        }
        .category-sidebar .cat-item:hover, .category-sidebar .cat-item.active {
            background: linear-gradient(90deg, rgba(220,38,38,0.3), rgba(251,146,60,0.2));
            color: white;
            padding-left: 1.5rem;
        }

        /* 榜单奖牌 */
        .rank-badge {
            font-weight: 800;
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            margin-right: 12px;
        }
        .rank-1 { background: gold; color: #333; box-shadow: 0 4px 12px rgba(255,215,0,0.3); }
        .rank-2 { background: silver; color: #222; }
        .rank-3 { background: #cd7f32; color: white; }
        .rank-other { background: rgba(255,255,255,0.1); color: #ccc; }

        /* 手风琴风格 */
        .accordion-item {
            background: transparent;
            border: 1px solid rgba(254,242,242,0.08);
            border-radius: var(--radius-md) !important;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        .accordion-button {
            background: rgba(220,38,38,0.15);
            color: var(--text-light);
            font-weight: 600;
            border: none;
            box-shadow: none;
        }
        .accordion-button:not(.collapsed) {
            background: rgba(251,146,60,0.2);
            color: var(--accent);
        }
        .accordion-body {
            background: rgba(20,16,19,0.7);
            color: rgba(254,242,242,0.8);
        }

        /* 按钮和Hero */
        .hero-section {
            background: radial-gradient(circle at 20% 30%, rgba(220,38,38,0.15), transparent 50%);
            padding: 4rem 0 2rem;
        }
        .btn-glow {
            border-radius: 50px;
            padding: 0.6rem 2rem;
            font-weight: 600;
            transition: all 0.3s;
        }
        .btn-primary-custom {
            background: var(--primary);
            border: none;
            box-shadow: 0 8px 20px rgba(220,38,38,0.3);
        }
        .btn-primary-custom:hover {
            background: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(220,38,38,0.4);
        }
        .btn-outline-custom {
            border: 2px solid var(--accent);
            color: var(--accent);
            background: transparent;
        }
        .btn-outline-custom:hover {
            background: var(--accent);
            color: #141013;
        }

        /* 回到顶部 */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: none;
            font-size: 1.4rem;
            box-shadow: 0 6px 18px rgba(220,38,38,0.4);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
        }
        #backToTop.show {
            opacity: 1;
            visibility: visible;
        }

        /* 分类胶囊 */
        .pill-tag {
            display: inline-block;
            padding: 0.4rem 1rem;
            background: rgba(251,146,60,0.12);
            color: var(--accent);
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            margin: 0.2rem;
            border: 1px solid rgba(251,146,60,0.3);
            transition: all 0.2s;
        }
        .pill-tag:hover {
            background: var(--accent);
            color: #141013;
            border-color: var(--accent);
        }

        /* 影视弹窗 */
        .modal-movie {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(12px);
            padding: 2rem;
        }
        .modal-movie-content {
            max-width: 600px;
            margin: 8vh auto;
            background: rgba(20,16,19,0.95);
            border: 1px solid rgba(251,146,60,0.2);
            border-radius: 30px;
            padding: 2rem;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        }
        .modal-movie.open {
            display: block;
        }
        .close-modal {
            float: right;
            background: none;
            border: none;
            color: var(--accent);
            font-size: 2rem;
            line-height: 1;
            cursor: pointer;
        }

        footer {
            background: #1c161b;
            border-top: 1px solid rgba(254,242,242,0.05);
        }
        .friend-links a {
            color: rgba(254,242,242,0.6);
            margin: 0 0.8rem;
            text-decoration: none;
        }
        .friend-links a:hover { color: var(--accent); }

/* --- 子页面追加 --- */
/* 关于页专属微调：保证与站点整体氛围一致 */
        .about-hero {
            background: linear-gradient(135deg, rgba(20,16,19,0.92) 0%, rgba(31,26,31,0.96) 100%), var(--bg-dark);
            border-bottom: 1px solid rgba(220, 38, 38, 0.2);
            padding: 4rem 0 3rem;
        }
.about-hero .section-title {
            margin-bottom: 0.5rem;
        }
.about-section {
            padding: 3.5rem 0;
            border-bottom: 1px solid rgba(251, 146, 60, 0.12);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-highlight {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 1.8rem 1.8rem;
            box-shadow: var(--shadow-soft);
            border-left: 4px solid var(--accent);
        }
.about-highlight p {
            margin-bottom: 0.6rem;
            color: var(--text-light);
        }
.about-highlight p:last-child {
            margin-bottom: 0;
        }
.feature-icon {
            color: var(--accent);
            margin-right: 8px;
            width: 24px;
            text-align: center;
        }
.about-list {
            list-style: none;
            padding-left: 0;
        }
.about-list li {
            padding: 0.5rem 0;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            display: flex;
            align-items: flex-start;
        }
.about-list li i {
            color: var(--accent);
            margin-right: 12px;
            margin-top: 4px;
        }
.about-list li:last-child {
            border-bottom: none;
        }
.about-stat {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            padding: 1.2rem 0.8rem;
            text-align: center;
            box-shadow: 0 4px 14px rgba(0,0,0,0.3);
            border: 1px solid rgba(220, 38, 38, 0.15);
        }
.about-stat .number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.about-stat .label {
            font-size: 0.85rem;
            color: rgba(254, 242, 242, 0.7);
            letter-spacing: 0.5px;
        }
/* 确保没有白底组件 */
        .card, .card-body {
            background: var(--card-bg);
            color: var(--text-light);
            border: 1px solid rgba(220,38,38,0.15);
        }

/* --- 子页面追加 --- */
/* 本页专属微调 — 仅覆盖个别组件在深色下的可读性 */
        .guide-section h2 {
            border-left: 4px solid var(--primary);
            padding-left: 1rem;
            margin-top: 2.5rem;
            margin-bottom: 1.2rem;
        }
.guide-card {
            background: var(--card-bg);
            border: 1px solid rgba(220, 38, 38, 0.15);
            border-radius: var(--radius-md);
            padding: 1.5rem 1.5rem 1.8rem;
            transition: box-shadow .2s;
        }
.guide-card:hover {
            box-shadow: var(--shadow-soft);
        }
.guide-card i {
            color: var(--accent);
            margin-right: 0.5rem;
            font-size: 1.4rem;
        }
.guide-list li {
            margin-bottom: 0.7rem;
            color: rgba(254, 242, 242, 0.9);
        }
.guide-list li strong {
            color: var(--text-light);
        }
.guide-step {
            background: rgba(220, 38, 38, 0.06);
            border-radius: var(--radius-sm);
            padding: 0.8rem 1rem;
            margin-bottom: 1rem;
            border-left: 2px solid var(--primary);
        }
.guide-step .step-num {
            color: var(--accent);
            font-weight: 700;
            margin-right: 0.6rem;
        }
.badge-tip {
            background: rgba(251, 146, 60, 0.15);
            color: var(--accent);
            font-weight: 500;
            padding: 0.25rem 0.8rem;
            border-radius: 30px;
            font-size: 0.85rem;
            display: inline-block;
        }
.accordion-button::after {
            filter: invert(0.8);
        }
/* 导航高亮当前页 */
        .navbar-nav .nav-link.active-guide {
            color: var(--accent) !important;
            font-weight: 600;
        }

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