:root {
            --primary: #06b6d4;
            --accent: #ec4899;
            --bg: #0c0a1a;
            --text: #e0f2fe;
            --card-bg: #151229;
            --border-light: rgba(6, 182, 212, 0.15);
            --shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
            --radius: 8px;
        }
        * { scroll-behavior: smooth; }
        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            overflow-x: hidden;
        }
        h1, h2, h3, .title-font {
            font-family: 'Noto Serif SC', 'Times New Roman', serif;
        }
        /* 思源宋体/黑体模拟 */
        @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&family=Noto+Sans+SC:wght@300;400;500&display=swap');
        * { font-family: 'Noto Sans SC', 'Inter', sans-serif; }
        h1,h2,h3,.title-font { font-family: 'Noto Serif SC', serif; }

        /* 导航 */
        .navbar-muya {
            background: rgba(12, 10, 26, 0.7);
            backdrop-filter: blur(12px);
            transition: all 0.3s ease;
            border-bottom: 1px solid var(--border-light);
        }
        .navbar-muya.scrolled {
            background: rgba(12, 10, 26, 0.95);
            box-shadow: 0 4px 20px rgba(0,0,0,0.6);
        }
        .navbar-muya .navbar-brand {
            font-weight: 800;
            color: var(--text);
            font-size: 1.5rem;
            letter-spacing: 1px;
        }
        .navbar-muya .navbar-brand i { color: var(--primary); margin-right: 6px; }
        .navbar-muya .nav-link {
            color: rgba(224, 242, 254, 0.85);
            font-weight: 500;
            margin: 0 6px;
        }
        .navbar-muya .nav-link:hover { color: var(--primary); }
        .navbar-toggler { border: 1px solid var(--primary); color: var(--primary); }

        /* hero */
        .hero-glow {
            background: radial-gradient(circle at 30% 20%, rgba(6,182,212,0.15) 0%, transparent 60%);
            position: relative;
            padding: 4rem 0 2rem;
            text-align: center;
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: inline-block;
            position: relative;
            animation: floatText 4s ease-in-out infinite;
        }
        .hero-sub { color: rgba(224,242,254,0.8); font-size: 1.2rem; }
        .floating-deco {
            position: absolute;
            font-size: 2rem;
            opacity: 0.2;
            animation: float 6s infinite;
        }
        .deco1 { top: 20px; left: 10%; }
        .deco2 { top: 60px; right: 15%; animation-delay: 1s; }
        .deco3 { bottom: 10px; left: 25%; animation-delay: 2s; }
        @keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-15px);} }
        @keyframes floatText { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-5px);} }

        /* 分类入口 */
        .category-chip {
            background: rgba(6,182,212,0.1);
            border: 1px solid var(--border-light);
            border-radius: 50rem;
            padding: 0.4rem 1rem;
            margin: 0.2rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
            display: inline-block;
            transition: all 0.2s;
            cursor: default;
        }
        .category-chip:hover { background: rgba(236,73,153,0.15); border-color: var(--accent); }

        /* 区块标题 */
        .section-title {
            border-left: 6px solid var(--primary);
            padding-left: 1rem;
            margin: 2.5rem 0 1.5rem;
            font-weight: 700;
            font-size: 1.8rem;
        }
        .section-title i { color: var(--accent); margin-right: 0.5rem; }

        /* 海报卡片 */
        .movie-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.05);
            transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
            height: 100%;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            position: relative;
        }
        .movie-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 30px rgba(0,0,0,0.8);
            border-color: var(--primary);
        }
        .poster-wrap {
            position: relative;
            overflow: hidden;
            background: #1f1b33;
        }
        .poster-wrap img {
            width: 100%;
            aspect-ratio: 2/3;
            object-fit: cover;
            display: block;
            transition: transform 0.4s;
        }
        .movie-card:hover .poster-wrap img { transform: scale(1.05); }
        .badge-quality {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0,0,0,0.6);
            color: #ffd966;
            font-size: 0.7rem;
            padding: 2px 6px;
            border-radius: 4px;
            backdrop-filter: blur(4px);
        }
        .play-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .movie-card:hover .play-overlay { opacity: 1; }
        .play-icon {
            width: 48px;
            height: 48px;
            background: rgba(6,182,212,0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: #fff;
            padding-left: 4px;
        }
        .card-body {
            padding: 0.75rem;
        }
        .card-title {
            font-weight: 700;
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 0.95rem;
        }
        .meta-text {
            font-size: 0.75rem;
            color: rgba(224,242,254,0.6);
            display: flex;
            justify-content: space-between;
        }

        /* 横向滚动 */
        .h-scroll {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) transparent;
        }
        .h-scroll::-webkit-scrollbar { height: 6px; }
        .h-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
        .h-scroll .col-custom { flex: 0 0 160px; }

        /* 排行榜 */
        .rank-list {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 1.2rem;
        }
        .rank-item {
            display: flex;
            align-items: center;
            padding: 0.6rem 0.4rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .rank-num {
            font-size: 1.8rem;
            font-weight: 900;
            width: 40px;
            color: var(--primary);
            font-family: serif;
        }
        .rank-info { flex: 1; }
        .rank-info h6 { margin: 0; font-weight: 600; }
        .rank-info span { font-size: 0.8rem; color: rgba(224,242,254,0.5); }

        /* 专题 */
        .topic-card {
            background: linear-gradient(145deg, rgba(6,182,212,0.1), rgba(236,73,153,0.05));
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 1.5rem;
            text-align: center;
            transition: 0.2s;
        }
        .topic-card i { font-size: 2rem; color: var(--accent); }

        /* 时间线 */
        .timeline-item {
            display: flex;
            gap: 1rem;
            padding: 0.8rem 0;
            border-bottom: 1px dashed rgba(255,255,255,0.1);
        }
        .timeline-item .time { color: var(--primary); font-weight: 700; width: 80px; }

        /* FAQ */
        .faq-box { background: var(--card-bg); border-radius: var(--radius); padding: 1.2rem; margin-top: 1.5rem; }
        .faq-q { font-weight: 700; color: var(--primary); }
        .faq-a { margin-bottom: 1rem; color: rgba(224,242,254,0.8); }

        /* 今天看什么 */
        .random-pick-box { background: rgba(236,73,153,0.1); border: 1px solid var(--accent); border-radius: var(--radius); padding: 2rem; text-align: center; }
        .random-pick-box button { background: var(--accent); border: none; }

        /* 页脚 */
        footer {
            background: #0d0b1c;
            border-top: 1px solid var(--border-light);
            padding: 2rem 0;
            margin-top: 4rem;
            color: rgba(224,242,254,0.7);
        }
        footer a { color: var(--text); text-decoration: none; }
        footer a:hover { color: var(--primary); }

        /* 回到顶部 */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 45px;
            height: 45px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            cursor: pointer;
            border: none;
            z-index: 100;
        }
        #backToTop.show { opacity: 1; visibility: visible; }

        /* 弹窗 */
        .modal-detail {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(10px);
            z-index: 200;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }
        .modal-detail.show { display: flex; }
        .modal-detail .modal-content {
            background: var(--card-bg);
            max-width: 650px;
            width: 100%;
            border-radius: 16px;
            padding: 2rem;
            position: relative;
            border: 1px solid var(--primary);
        }
        .modal-detail .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 2rem;
            color: var(--text);
            background: none;
            border: none;
            cursor: pointer;
        }
        .modal-detail .close-btn:hover { color: var(--accent); }
        .rating-big { color: #ffb347; font-size: 1.8rem; font-weight: 800; }

/* --- 子页面追加 --- */
/* 页面专属微调 */
        .legal-section {
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 1.8rem;
            box-shadow: var(--shadow);
        }
.legal-section h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            border-left: 4px solid var(--accent);
            padding-left: 1rem;
        }
.legal-section p, .legal-section li {
            color: var(--text);
            opacity: 0.9;
            line-height: 1.8;
        }
.legal-section a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
.legal-section a:hover {
            color: var(--accent);
        }
.highlight-badge {
            display: inline-block;
            background: rgba(236, 72, 153, 0.15);
            color: var(--accent);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
            border: 1px solid rgba(236, 72, 153, 0.3);
        }
.list-legal {
            padding-left: 1.5rem;
            list-style-type: square;
        }
.list-legal li {
            margin-bottom: 0.6rem;
        }
.footer-note {
            border-top: 1px solid var(--border-light);
            padding-top: 1.5rem;
            margin-top: 2rem;
            color: var(--text);
            opacity: 0.7;
            font-size: 0.9rem;
        }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件在深色主题下不会出现白块 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .form-control, .form-select {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-light) !important;
        }
.accordion-button:not(.collapsed) {
            background: rgba(6, 182, 212, 0.15) !important;
            color: var(--text) !important;
        }
.accordion-button::after {
            filter: invert(0.8);
        }
.list-group-item {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-light) !important;
        }
/* 导航高亮当前页 (隐私) */
        .navbar-nav .nav-link.active {
            color: var(--primary) !important;
            font-weight: 600;
            border-bottom: 2px solid var(--primary);
        }
/* 隐私页特有卡片微调 */
        .privacy-block {
            background: var(--card-bg);
            border-radius: var(--radius);
            border: 1px solid var(--border-light);
            padding: 1.8rem;
            box-shadow: var(--shadow);
            height: 100%;
            transition: transform .2s;
        }
.privacy-block:hover {
            transform: translateY(-4px);
        }
.section-title-muya {
            margin-bottom: 2rem;
        }
.muted-text {
            color: rgba(224, 242, 254, 0.7);
        }
.policy-list li {
            margin-bottom: 0.6rem;
        }
.highlight-cyan {
            color: var(--primary);
            font-weight: 600;
        }