/* 暗红剧场 主题变量 */
        :root {
            --c-primary: #dc2626;
            --c-accent: #fb923c;
            --c-bg: #141013;
            --c-text: #fef2f2;
            --c-border: #4a3b3f;
            --c-card-bg: #1d1719;
            --font-head: 'Noto Serif SC', 'Source Han Serif SC', '思源宋体', serif;
            --font-body: 'Noto Sans SC', 'Source Han Sans SC', '思源黑体', 'Inter', sans-serif;
        }
        
        body {
            background-color: var(--c-bg);
            color: var(--c-text);
            font-family: var(--font-body);
            letter-spacing: 0.2px;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, .section-title, .navbar-brand {
            font-family: var(--font-head);
            font-weight: 700;
        }
        
        .text-accent { color: var(--c-accent) !important; }
        .text-primary-c { color: var(--c-primary) !important; }
        
        /* 导航栏 */
        .navbar-zone {
            background: rgba(20, 16, 19, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 2px solid var(--c-primary);
            transition: all 0.3s ease;
        }
        .navbar-zone .nav-link {
            color: var(--c-text);
            font-weight: 500;
            margin: 0 0.8rem;
            transition: 0.2s;
        }
        .navbar-zone .nav-link:hover {
            color: var(--c-accent);
        }
        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--c-text) !important;
            letter-spacing: 2px;
        }
        .navbar-brand i {
            color: var(--c-primary);
            margin-right: 8px;
        }
        .navbar-toggler {
            border-color: var(--c-border);
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(254, 242, 242, 0.8)' stroke-width='2' linecap='round' linejoin='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        
        /* 滚动吸顶 */
        .navbar-scrolled {
            background: rgba(20, 16, 19, 0.98);
            box-shadow: 0 2px 20px rgba(0,0,0,0.7);
        }
        
        /* Hero 打字机 */
        .hero-zone {
            position: relative;
            padding: 5rem 0 3rem;
            background: radial-gradient(circle at 20% 30%, #2a1e22, #141013);
            border-bottom: 2px solid var(--c-border);
        }
        .typewriter {
            font-size: 3.8rem;
            font-weight: 900;
            font-family: var(--font-head);
            color: var(--c-text);
            border-right: 0.1em solid var(--c-accent);
            white-space: nowrap;
            overflow: hidden;
            display: inline-block;
            line-height: 1.2;
            letter-spacing: 4px;
            min-height: 1.5em;
        }
        @media (max-width: 768px) {
            .typewriter { font-size: 2.2rem; }
        }
        
        .hero-sub {
            color: #d8c7c7;
            font-size: 1.3rem;
            letter-spacing: 2px;
        }
        
        /* 通用标题 */
        .section-head {
            font-size: 2rem;
            font-weight: 800;
            border-left: 8px solid var(--c-primary);
            padding-left: 1rem;
            margin: 3rem 0 1.5rem;
            letter-spacing: 1px;
        }
        .section-head i {
            color: var(--c-accent);
            margin-right: 10px;
        }
        
        /* 卡片区：海报墙 */
        .movie-card {
            background: var(--c-card-bg);
            border: 1px solid var(--c-border);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.3s;
            height: 100%;
            position: relative;
            cursor: pointer;
            box-shadow: none;
        }
        .movie-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
            border-color: var(--c-primary);
        }
        .poster-wrap {
            position: relative;
            background: #000;
            aspect-ratio: 2 / 3;
            overflow: hidden;
        }
        .poster-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: 0.4s;
        }
        .poster-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(20,16,19,0.9) 10%, transparent 60%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 0.8rem;
            opacity: 0;
            transition: 0.3s;
        }
        .movie-card:hover .poster-overlay {
            opacity: 1;
        }
        .play-btn {
            background: var(--c-primary);
            color: white;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }
        .rating-badge {
            background: var(--c-accent);
            color: #141013;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 30px;
            font-size: 0.8rem;
            display: inline-block;
        }
        .card-body {
            padding: 0.7rem 0.9rem;
        }
        .movie-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .movie-meta {
            color: #b9a7a7;
            font-size: 0.75rem;
        }
        
        /* 翻转卡片弹窗 */
        .flip-modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        .flip-modal.show {
            display: flex;
        }
        .flip-card-inner {
            background: var(--c-card-bg);
            border: 2px solid var(--c-primary);
            max-width: 480px;
            width: 90%;
            border-radius: 16px;
            padding: 1.8rem;
            position: relative;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }
        .flip-close {
            position: absolute;
            top: 15px; right: 20px;
            font-size: 2rem;
            cursor: pointer;
            color: var(--c-text);
            background: none;
            border: none;
            line-height: 1;
        }
        .flip-close:hover { color: var(--c-primary); }
        .detail-label {
            color: var(--c-accent);
            font-weight: 600;
            margin-right: 5px;
        }
        .detail-plot {
            margin-top: 12px;
            border-top: 1px solid var(--c-border);
            padding-top: 10px;
        }
        
        /* 周榜列表 */
        .rank-list {
            border: 1px solid var(--c-border);
            border-radius: 12px;
            overflow: hidden;
            background: var(--c-card-bg);
        }
        .rank-item {
            padding: 0.8rem 1.2rem;
            border-bottom: 1px solid var(--c-border);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .rank-item:last-child { border-bottom: none; }
        .rank-num {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--c-primary);
            width: 40px;
        }
        .rank-title { flex: 1; }
        .rank-score { color: var(--c-accent); font-weight: 700; }
        
        /* 手风琴 */
        .accordion-item {
            background: transparent;
            border: 1px solid var(--c-border);
            border-radius: 8px !important;
            margin-bottom: 10px;
        }
        .accordion-button {
            background: var(--c-card-bg);
            color: var(--c-text);
            font-weight: 600;
            box-shadow: none;
            border: none;
        }
        .accordion-button:not(.collapsed) {
            background: #2a2022;
            color: var(--c-accent);
        }
        .accordion-body {
            background: var(--c-card-bg);
            color: #dcd0d0;
            border-top: 1px solid var(--c-border);
        }
        
        /* 图标列表特色 */
        .icon-list {
            list-style: none;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px;
        }
        .icon-list li {
            border: 1px solid var(--c-border);
            background: var(--c-card-bg);
            border-radius: 12px;
            padding: 1rem;
            text-align: center;
        }
        .icon-list i {
            font-size: 2rem;
            color: var(--c-primary);
            margin-bottom: 8px;
        }
        
        /* 回到顶部 */
        #backTop {
            position: fixed;
            bottom: 30px; right: 30px;
            width: 45px; height: 45px;
            background: var(--c-primary);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.3rem;
            z-index: 999;
            display: none;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        }
        
        .footer-links {
            border-top: 1px solid var(--c-border);
            padding: 2rem 0;
            margin-top: 4rem;
        }
        .friend-links {
            background: var(--c-card-bg);
            padding: 1.5rem;
            border: 1px solid var(--c-border);
            border-radius: 20px;
            margin: 2rem 0;
        }
        
        /* 通用 */
        a { text-decoration: none; color: inherit; }
        .movie-card { text-decoration: none; }
        .btn-outline-accent {
            border: 1px solid var(--c-accent);
            color: var(--c-accent);
            background: transparent;
        }
        .btn-outline-accent:hover {
            background: var(--c-accent);
            color: #141013;
        }

/* --- 子页面追加 --- */
/* 关于页专属样式——尽量复用站点现有类,这里只补充必要的布局微调 */
        .about-hero {
            padding: 80px 0 40px;
            position: relative;
        }
.about-hero .container {
            max-width: 900px;
        }
.about-section {
            background: var(--c-card-bg);
            border: 1px solid var(--c-border);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
            transition: transform .3s ease;
        }
.about-section:hover {
            transform: translateY(-4px);
        }
.about-section h2 {
            font-family: var(--font-head);
            color: var(--c-primary);
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.6rem;
        }
.about-section h2 i {
            color: var(--c-accent);
            margin-right: 10px;
        }
.about-section p {
            color: var(--c-text);
            line-height: 1.9;
            font-size: 1rem;
            opacity: .92;
        }
.about-section .lead {
            font-size: 1.05rem;
            border-left: 3px solid var(--c-accent);
            padding-left: 15px;
            font-style: italic;
        }
.feature-list {
            list-style: none;
            padding: 0;
            margin: 15px 0 0;
        }
.feature-list li {
            padding: 10px 0;
            border-bottom: 1px dashed var(--c-border);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: var(--c-text);
        }
.feature-list li:last-child {
            border-bottom: none;
        }
.feature-list li i {
            color: var(--c-accent);
            margin-top: 4px;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
.stat-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 25px 0;
        }
.stat-item {
            text-align: center;
            background: rgba(220, 38, 38, .08);
            border: 1px solid var(--c-border);
            border-radius: 8px;
            padding: 20px 10px;
        }
.stat-item .number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--c-primary);
            font-family: var(--font-head);
        }
.stat-item .label {
            color: var(--c-text);
            opacity: .7;
            font-size: .9rem;
            margin-top: 5px;
        }
.stat-grid {
                grid-template-columns: repeat(2, 1fr);
            }
.about-hero {
                padding: 50px 0 20px;
            }
.about-section {
                padding: 20px;
            }
/* 导航高亮当前页 */
        .nav-link.active-page {
            color: var(--c-primary) !important;
            font-weight: 600;
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不会出现白底黑字 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer { background: var(--c-card-bg); color: var(--c-text); border-color: var(--c-border); }
.form-control, .form-select { background: rgba(0,0,0,.35); color: var(--c-text); border-color: var(--c-border); }
.form-control::placeholder { color: rgba(255,255,255,.45); }
.list-group-item { background: var(--c-card-bg); color: var(--c-text); border-color: var(--c-border); }
.accordion-item, .accordion-button { background: var(--c-card-bg); color: var(--c-text); border-color: var(--c-border); }
.modal-content { background: var(--c-card-bg); color: var(--c-text); border-color: var(--c-border); }
.dropdown-menu, .dropdown-item { background: var(--c-card-bg); color: var(--c-text); }
.navbar, .nav-link { background: transparent; }
.nav-link.active { color: var(--c-primary); font-weight: 600; }
.btn-outline-light { border-color: var(--c-border); color: var(--c-text); }
.btn-outline-light:hover { background: var(--c-primary); border-color: var(--c-primary); }
/* 免责声明专属排版 */
        .disclaimer-wrap { padding: 2rem 0 4rem; }
.disclaimer-title { font-family: var(--font-head); color: var(--c-text); border-left: 4px solid var(--c-primary); padding-left: 1.2rem; margin: 2.5rem 0 1.2rem; font-weight: 700; }
.disclaimer-box { background: var(--c-card-bg); border: 1px solid var(--c-border); border-radius: 12px; padding: 1.8rem 1.8rem; margin-bottom: 1.8rem; }
.disclaimer-box p { line-height: 1.9; color: rgba(254, 242, 242, .85); }
.disclaimer-box strong { color: var(--c-accent); }
.disclaimer-icon { color: var(--c-primary); margin-right: 10px; }
.disclaimer-list li { margin-bottom: .7rem; }
.disclaimer-footer-note { border-top: 1px solid var(--c-border); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .95rem; color: rgba(254,242,242,.6); }
.disclaimer-footer-note a { color: var(--c-accent); }
/* 页面主标题 */
        .page-hero { padding: 3rem 0 1rem; text-align: center; }
.page-hero h1 { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; letter-spacing: 1px; }
.page-hero h1 span { color: var(--c-primary); }
.page-hero .sub { color: rgba(254,242,242,.6); max-width: 700px; margin: .8rem auto 0; }

/* --- 子页面追加 --- */
/* 确保所有卡片背景与深色主题一致 */
        .guide-card, .guide-card .card-body { background: var(--c-card-bg); color: var(--c-text); border: 1px solid var(--c-border); border-radius: 12px; }
.guide-card .card-title { color: var(--c-primary); font-weight: 700; }
.guide-card .card-text { color: var(--c-text); opacity: .9; }
.guide-step { border-left: 4px solid var(--c-accent); padding-left: 1.2rem; margin: 1.5rem 0; }
.guide-step h3 { color: var(--c-accent); font-family: var(--font-head); font-weight: 600; }
.guide-step p, .guide-step li { color: var(--c-text); opacity: .92; }
.guide-tip { background: rgba(220, 38, 38, .08); border: 1px dashed var(--c-primary); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.8rem 0; }
.guide-tip i { color: var(--c-accent); margin-right: 8px; }
.table-guide { background: var(--c-card-bg); color: var(--c-text); border-radius: 12px; overflow: hidden; }
.table-guide th { background: rgba(220, 38, 38, .2); color: #fde8e8; font-weight: 600; border-bottom: 1px solid var(--c-border); }
.table-guide td { border-bottom: 1px solid var(--c-border); }
.table-guide tr:last-child td { border-bottom: none; }
.badge-accent { background: var(--c-accent); color: #1a0e0e; font-weight: 600; }

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