/* 全局变量——暖橙放映厅(深色) */
        :root {
            --main: #f97316;
            --accent: #facc15;
            --bg-dark: #1a1410;
            --text-light: #fff7ed;
            --card-shadow: 0 12px 30px rgba(0,0,0,0.9);
            --hover-shadow: 0 20px 40px rgba(249, 115, 22, 0.4);
            --font-serif: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
            --font-sans: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-family: var(--font-sans);
            letter-spacing: 0.2px;
        }

        h1, h2, h3, .brand-font, .serif-title {
            font-family: var(--font-serif);
            font-weight: 700;
        }

        /* 导航吸顶 + 背景透明度变化 */
        .navbar-custom {
            background: rgba(26, 20, 16, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(249, 115, 22, 0.25);
            transition: background 0.3s ease, box-shadow 0.3s ease;
            padding-top: 8px;
            padding-bottom: 8px;
        }
        .navbar-custom.scrolled {
            background: rgba(26, 20, 16, 0.75);
            box-shadow: 0 6px 16px rgba(0,0,0,0.7);
        }
        .navbar-brand i {
            color: var(--main);
        }
        .navbar-brand span {
            color: var(--text-light);
            font-weight: 700;
        }
        .nav-link-custom {
            color: var(--text-light) !important;
            font-weight: 500;
            margin: 0 10px;
        }
        .nav-link-custom:hover {
            color: var(--main) !important;
        }
        .mobile-toggler {
            border: 1px solid var(--main);
        }

        /* Hero 剧照区域 */
        .hero-section {
            background: linear-gradient(145deg, #251d17, #1a1410);
            padding: 3rem 0 2.5rem;
            position: relative;
            border-bottom: 2px solid rgba(249, 115, 22, 0.5);
            background-image: radial-gradient(circle at 30% 30%, #6b4423 0%, #1a1410 100%);
        }
        .keyword-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-top: 1.2rem;
        }
        .keyword-badge {
            background: rgba(249, 115, 22, 0.2);
            border: 1px solid var(--main);
            border-radius: 30px;
            padding: 0.35rem 1.2rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: #ffe8d9;
            transition: all 0.2s;
        }
        .keyword-badge:hover {
            background: var(--main);
            color: #1a1410;
            transform: translateY(-2px);
        }
        .hero-title {
            font-size: 2.8rem;
            font-weight: 800;
            color: #ffe7cc;
            text-shadow: 4px 4px 8px rgba(0,0,0,0.6);
            margin-bottom: 0.3rem;
        }

        /* 区块标题 */
        .section-title {
            border-left: 6px solid var(--main);
            padding-left: 16px;
            font-size: 2.1rem;
            font-weight: 700;
            margin-top: 2.2rem;
            margin-bottom: 1.4rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .section-title i {
            color: var(--accent);
        }

        /* 海报卡片——拟物厚重 */
        .poster-card {
            background: #2a211b;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            transition: all 0.35s ease;
            border: 1px solid rgba(255, 255, 255, 0.03);
            height: 100%;
            cursor: pointer;
        }
        .poster-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 26px 45px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--main);
            z-index: 10;
        }
        .poster-img {
            position: relative;
            overflow: hidden;
            aspect-ratio: 2 / 3;
            background-color: #2b211a;
        }
        .poster-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s;
        }
        .poster-card:hover .poster-img img {
            transform: scale(1.06);
        }
        .badge-hd {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0,0,0,0.7);
            color: var(--accent);
            font-weight: 700;
            font-size: 0.7rem;
            padding: 3px 10px;
            border-radius: 30px;
            backdrop-filter: blur(2px);
            border: 1px solid var(--accent);
        }
        .play-hover {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.2);
            opacity: 0;
            transition: opacity 0.25s;
        }
        .poster-card:hover .play-hover {
            opacity: 1;
        }
        .play-hover i {
            font-size: 3rem;
            color: #fff;
            background: rgba(249, 115, 22, 0.85);
            border-radius: 50%;
            padding: 20px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.6);
        }
        .card-body {
            padding: 12px 12px 8px;
        }
        .film-title {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-light);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .film-meta {
            font-size: 0.85rem;
            color: #b8a99a;
            display: flex;
            justify-content: space-between;
        }
        .rating {
            color: var(--accent);
            font-weight: 700;
        }

        /* 表格风格——对比表格 */
        .table-compare {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }
        .table-compare th, .table-compare td {
            border: 1px solid #4b3f35;
            padding: 12px 15px;
            background: #2b211b;
        }
        .table-compare th {
            background: #3a2d24;
            color: var(--accent);
            font-weight: 600;
        }

        /* 编号清单 */
        .tips-list {
            counter-reset: tips-counter;
            list-style: none;
            padding-left: 0;
        }
        .tips-list li {
            counter-increment: tips-counter;
            position: relative;
            padding-left: 2.5rem;
            margin-bottom: 1rem;
            font-size: 1rem;
            border-bottom: 1px dashed #3d2e24;
            padding-bottom: 0.8rem;
        }
        .tips-list li::before {
            content: counter(tips-counter) ".";
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--main);
            background: transparent;
        }

        /* 抽屉弹窗 */
        .drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.65);
            z-index: 2000;
            display: none;
            align-items: flex-end;
            justify-content: center;
        }
        .drawer-panel {
            background: #211913;
            width: 100%;
            max-height: 70vh;
            border-radius: 24px 24px 0 0;
            padding: 1.5rem 1.8rem 2rem;
            box-shadow: 0 -8px 30px rgba(0,0,0,0.7);
            border-top: 2px solid var(--main);
            animation: slideUp 0.3s ease;
            overflow-y: auto;
        }
        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }
        .drawer-panel h3 {
            color: var(--accent);
            font-weight: 700;
        }
        .drawer-close {
            font-size: 1.8rem;
            color: #aaa;
            cursor: pointer;
        }
        .drawer-close:hover {
            color: var(--main);
        }

        /* 回到顶部 */
        .to-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--main);
            color: #1a1410;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.4);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            border: 2px solid #ffc58a;
        }
        .to-top-btn.show {
            opacity: 1;
            visibility: visible;
        }

        footer {
            background: #100d0a;
            padding: 2rem 0;
            border-top: 2px solid var(--main);
        }

        .friend-links {
            background: #241b15;
            padding: 1.2rem 1.5rem;
            border-radius: 50px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 20px;
            margin: 1.5rem 0;
        }

        /* 随机种子微调 */
        .bg-accent-light { background: rgba(250, 204, 21, 0.1); }

/* --- 子页面追加 --- */
/* 确保卡片/表单等组件不被Bootstrap白底影响 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--card-bg, #241d17);
            color: var(--text-light);
            border-color: var(--border-color, #3d2e23);
        }
.list-group-item {
            background: var(--card-bg, #241d17);
            color: var(--text-light);
            border-color: var(--border-color, #3d2e23);
        }
.accordion-item, .accordion-button {
            background: var(--card-bg, #241d17);
            color: var(--text-light);
            border-color: var(--border-color, #3d2e23);
        }
.accordion-button:not(.collapsed) {
            background: rgba(249, 115, 22, 0.15);
            color: var(--text-light);
        }
.nav-link-custom.active {
            color: var(--main) !important;
            font-weight: 700;
        }
/* 关于页特有 */
        .about-hero {
            background: linear-gradient(145deg, #2a1d14 0%, #1a1410 100%);
            border-bottom: 2px solid rgba(249, 115, 22, 0.3);
            padding: 3rem 0 2rem;
        }
.about-avatar {
            width: 56px;
            height: 56px;
            background: var(--main);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: #1a1410;
            box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
        }
.feature-icon {
            background: rgba(249, 115, 22, 0.12);
            color: var(--main);
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
        }
.story-card {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 18px;
            transition: transform .2s, box-shadow .2s;
        }
.story-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--hover-shadow);
        }
.chip-badge {
            background: rgba(249, 115, 22, 0.18);
            color: var(--accent);
            padding: .25rem .9rem;
            border-radius: 40px;
            font-size: .8rem;
            font-weight: 500;
            display: inline-block;
        }

/* --- 子页面追加 --- */
/* 沿用首页变量，避免白块 */
        :root {
            --main: #f97316;
            --accent: #facc15;
            --bg-dark: #1a1410;
            --text-light: #fff7ed;
            --card-shadow: 0 12px 30px rgba(0,0,0,0.9);
            --hover-shadow: 0 20px 40px rgba(249, 115, 22, 0.4);
            --font-serif: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
            --font-sans: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
/* 覆盖Bootstrap卡片等组件，确保深色一致 */
        .card, .card-body, .card-header, .card-footer, .list-group-item, .accordion-item, .accordion-button, .accordion-body, .modal-content, .form-control, .form-select {
            background-color: #241e18 !important;
            color: var(--text-light) !important;
            border-color: #3a2e24 !important;
        }
/* 本页专属 */
        .disclaimer-title {
            font-family: var(--font-serif);
            color: var(--accent);
            border-left: 5px solid var(--main);
            padding-left: 1rem;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
.disclaimer-content {
            background: rgba(0,0,0,0.25);
            border-radius: 16px;
            padding: 1.5rem 2rem;
            border: 1px solid rgba(249,115,22,0.2);
            box-shadow: var(--card-shadow);
        }
.highlight-badge {
            background: var(--main);
            color: #1a1410;
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.85rem;
            display: inline-block;
        }
.friend-links a {
            color: var(--text-light);
            text-decoration: none;
            border-bottom: 1px dotted var(--main);
        }
.friend-links a:hover {
            color: var(--accent);
        }
.btn-outline-custom {
            border-color: var(--main);
            color: var(--main);
        }
.btn-outline-custom:hover {
            background-color: var(--main);
            color: #1a1410;
        }
.fa-ul li {
            margin-bottom: 0.5rem;
        }

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