/* ===== 全局变量与基础 ===== */
        :root {
            --primary: #f97316;
            --accent: #facc15;
            --bg-dark: #1a1410;
            --text-light: #fff7ed;
            --card-bg: #2a2119;
            --soft-shadow: 0 12px 28px rgba(0,0,0,0.6);
            --radius-lg: 22px;
            --radius-md: 16px;
        }
        * { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.5;
        }
        h1,h2,h3,h4,h5,h6 { color: #fff; font-weight: 700; }
        a { text-decoration: none; color: inherit; }
        .bg-dark-custom { background-color: var(--bg-dark); }

        /* 滚动条样式 */
        ::-webkit-scrollbar { width: 8px; background: #2d241d; }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 8px; }

        /* 导航吸顶 + 透明背景变化 */
        .navbar-transparent {
            background: rgba(26, 20, 16, 0.75);
            backdrop-filter: blur(10px);
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }
        .navbar-solid {
            background: rgba(20, 14, 10, 0.95);
            backdrop-filter: blur(12px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.7);
        }
        .navbar .nav-link {
            color: #e7d9c8 !important;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 30px;
        }
        .navbar .nav-link:hover {
            color: var(--primary) !important;
            background: rgba(255,255,255,0.05);
        }

        /* 品牌LOGO */
        .brand-logo {
            font-size: 1.6rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            color: var(--accent) !important;
            text-shadow: 0 2px 12px rgba(250, 204, 21, 0.4);
        }

        /* Hero 统计区 */
        .hero-stats {
            background: radial-gradient(circle at 70% 20%, rgba(249,115,22,0.25), transparent 40%);
            padding: 3.2rem 0 2.2rem;
            position: relative;
            overflow: hidden;
        }
        .hero-stats .stat-num {
            font-size: 3.8rem;
            font-weight: 900;
            color: var(--primary);
            line-height: 1;
        }
        .hero-stats .stat-label {
            color: #ccc0af;
            letter-spacing: 1px;
            font-weight: 500;
        }
        .hero-bg-parallax {
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%23f97316" stroke-width="0.5" opacity="0.3"/><circle cx="60" cy="40" r="20" fill="none" stroke="%23facc15" stroke-width="0.4" opacity="0.3"/></svg>');
            background-size: cover;
            opacity: 0.2;
            transform: translateY(20px);
            z-index: 0;
        }
        .hero-content { position: relative; z-index: 3; }

        /* 区块通用 */
        .section-title {
            font-weight: 800;
            font-size: 1.5rem;
            border-left: 6px solid var(--primary);
            padding-left: 0.9rem;
            margin: 2rem 0 1.2rem;
        }
        .section-title i { color: var(--primary); margin-right: 0.3rem; }

        /* 卡片设计 - 大圆角弥散阴影 */
        .poster-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            position: relative;
            box-shadow: 0 8px 18px rgba(0,0,0,0.5);
            transition: transform 0.25s ease, box-shadow 0.3s ease;
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .poster-card:hover {
            transform: scale(1.02) translateY(-5px);
            box-shadow: 0 18px 35px rgba(0,0,0,0.8);
        }
        .poster-card .poster-img {
            width: 100%;
            aspect-ratio: 2/3;
            object-fit: cover;
            background: #3d2f24;
        }
        .poster-card .card-info {
            padding: 0.6rem 0.8rem 0.8rem;
        }
        .poster-card .card-title {
            font-weight: 700;
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 0.2rem;
        }
        .poster-card .card-meta {
            font-size: 0.75rem;
            color: #c9b9a8;
        }
        /* 角标 */
        .badge-quality {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0,0,0,0.65);
            backdrop-filter: blur(4px);
            color: var(--accent);
            font-weight: 700;
            font-size: 0.7rem;
            padding: 0.2rem 0.6rem;
            border-radius: 30px;
            border: 1px solid rgba(250,204,21,0.3);
            z-index: 2;
        }
        /* 海报hover中央播放按钮 */
        .play-overlay {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.25s;
            z-index: 3;
            backdrop-filter: blur(2px);
        }
        .poster-card:hover .play-overlay {
            opacity: 1;
        }
        .play-overlay i {
            font-size: 3rem;
            color: rgba(255,255,255,0.9);
            text-shadow: 0 0 25px rgba(249,115,22,0.7);
        }

        /* 分类筛选栏（左侧） */
        .filter-sidebar {
            background: #211a14;
            border-radius: var(--radius-lg);
            padding: 1rem 0.8rem;
            position: sticky;
            top: 100px;
            box-shadow: var(--soft-shadow);
        }
        .filter-sidebar .filter-item {
            padding: 0.45rem 1rem;
            border-radius: 40px;
            color: #d8cbbd;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 5px;
            transition: 0.15s;
        }
        .filter-sidebar .filter-item:hover, .filter-sidebar .active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 10px rgba(249,115,22,0.4);
        }
        .filter-sidebar .filter-item i { width: 22px; text-align: center; }

        /* 排行榜 */
        .rank-list {
            background: #241c16;
            border-radius: var(--radius-lg);
            padding: 1rem;
        }
        .rank-item {
            display: flex;
            align-items: center;
            padding: 0.6rem 0.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: 0.2s;
        }
        .rank-item:last-child { border-bottom: none; }
        .rank-item:hover { background: rgba(249,115,22,0.1); border-radius: 40px; }
        .rank-num {
            width: 2rem; 
            font-weight: 900;
            color: var(--primary);
        }
        .rank-item .rank-title { flex: 1; font-weight: 500; font-size: 0.9rem; }
        .rank-score { color: var(--accent); font-weight: 700; }

        /* 手风琴 */
        .accordion-item {
            background: #241c16;
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-md) !important;
            margin-bottom: 10px;
        }
        .accordion-button {
            background: #241c16;
            color: var(--text-light);
            font-weight: 600;
            box-shadow: none;
            border-radius: var(--radius-md) !important;
        }
        .accordion-button:not(.collapsed) {
            background: #32281f;
            color: var(--accent);
        }
        .accordion-body { color: #ddd0c2; }

        /* 页脚 */
        footer {
            background: #120e0b;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding: 2.2rem 0;
            margin-top: 3rem;
        }
        .footer-links a {
            color: #c3b6a7;
            margin: 0 0.8rem;
        }
        .footer-links a:hover { color: var(--primary); }
        .friend-links {
            background: #1e1812;
            border-radius: 60px;
            padding: 0.8rem 1.5rem;
            margin: 1rem 0;
        }

        /* 海报翻转卡片样式 */
        .flip-card {
            perspective: 1000px;
        }
        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.7s;
            transform-style: preserve-3d;
            border-radius: var(--radius-lg);
        }
        .flip-card.flipped .flip-card-inner {
            transform: rotateY(180deg);
        }
        .flip-card-front, .flip-card-back {
            position: absolute;
            width: 100%; height: 100%;
            backface-visibility: hidden;
            border-radius: var(--radius-lg);
            overflow: hidden;
        }
        .flip-card-back {
            background: #31261d;
            transform: rotateY(180deg);
            padding: 1.2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: var(--text-light);
            box-shadow: var(--soft-shadow);
        }
        .flip-card-back .detail-plot {
            font-size: 0.8rem;
            opacity: 0.8;
            overflow-y: auto;
            max-height: 8rem;
            margin-top: 0.5rem;
        }
        .flip-card-back h5 { font-weight: 700; }
        .flip-card-back p { margin-bottom: 0.2rem; }
        .close-flip {
            position: absolute;
            top: 5px; right: 8px;
            background: transparent;
            border: none;
            color: var(--accent);
            font-size: 1.4rem;
            cursor: pointer;
            z-index: 9;
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不破坏深色风格 */
        .card, .card-body, .card-title, .card-text, .list-group-item, .accordion-item, .accordion-button, .accordion-body {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: #3a2f26;
        }
.accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
        }
.form-control, .form-select {
            background: rgba(0,0,0,0.35);
            color: var(--text-light);
            border: 1px solid #3a2f26;
        }
.form-control::placeholder {
            color: rgba(255, 247, 237, 0.5);
        }
.navbar-nav .nav-link.active {
            color: var(--primary) !important;
        }
/* 页面微调 */
        .about-hero {
            background: linear-gradient(145deg, #1f1913 0%, #2a2119 100%);
            border-radius: var(--radius-lg);
            padding: 2.5rem 2rem;
            margin-bottom: 2.5rem;
            box-shadow: var(--soft-shadow);
        }
.about-section {
            background: rgba(42, 33, 25, 0.7);
            border-radius: var(--radius-md);
            padding: 1.8rem 1.8rem;
            margin-bottom: 2rem;
            border-left: 4px solid var(--primary);
        }
.about-section h2 {
            color: var(--accent);
            font-weight: 700;
            font-size: 1.6rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.about-section p {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 1.05rem;
        }
.about-highlight {
            color: var(--primary);
            font-weight: 600;
        }
.stat-badge {
            background: rgba(249, 115, 22, 0.15);
            border-radius: 40px;
            padding: 0.4rem 1.2rem;
            font-weight: 600;
            color: var(--accent);
            border: 1px solid rgba(250, 204, 21, 0.3);
        }
.friend-links a {
            color: var(--text-light);
            opacity: 0.8;
            transition: 0.2s;
        }
.friend-links a:hover {
            opacity: 1;
            color: var(--primary);
        }

/* --- 子页面追加 --- */
/* 免责声明页专属补充样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #2d1f14 100%);
            padding: 100px 0 60px;
            position: relative;
            overflow: hidden;
        }
.disclaimer-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.disclaimer-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 60px 0 80px;
        }
.disclaimer-section {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 35px 40px;
            margin-bottom: 30px;
            box-shadow: var(--soft-shadow);
            border: 1px solid rgba(255,255,255,0.06);
        }
.disclaimer-section h2 {
            color: var(--primary);
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.disclaimer-section h2 i {
            font-size: 1.4rem;
        }
.disclaimer-section p {
            color: var(--text-light);
            opacity: 0.85;
            line-height: 1.8;
            margin-bottom: 15px;
            font-size: 0.95rem;
        }
.disclaimer-section ul {
            color: var(--text-light);
            opacity: 0.85;
            padding-left: 20px;
            margin-bottom: 15px;
        }
.disclaimer-section ul li {
            line-height: 1.8;
            margin-bottom: 8px;
        }
.disclaimer-highlight {
            background: rgba(249, 115, 22, 0.08);
            border-left: 3px solid var(--primary);
            padding: 15px 20px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 20px 0;
        }
.disclaimer-highlight p {
            margin-bottom: 0;
        }
.last-updated {
            text-align: center;
            color: var(--text-light);
            opacity: 0.6;
            font-size: 0.85rem;
            margin-top: 30px;
            padding: 20px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
.disclaimer-hero {
                padding: 80px 0 40px;
            }
.disclaimer-content {
                padding: 40px 0 60px;
            }
.disclaimer-section {
                padding: 25px 20px;
            }
.disclaimer-section h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 确保卡片/列表背景与深色主题融合 */
        .rank-card, .list-group-item, .rank-item {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: #3e3127;
        }
.rank-card .card-header, .rank-card .card-footer {
            background: rgba(0,0,0,0.2);
            color: var(--text-light);
            border-bottom: 1px solid #3e3127;
        }
.rank-card .card-title, .rank-card .card-text {
            color: var(--text-light);
        }
/* 覆盖bootstrap的列表组、下拉等，以防白底 */
        .list-group-item {
            background-color: var(--card-bg);
            color: var(--text-light);
            border-color: #3e3127;
        }
.form-select, .form-control {
            background-color: rgba(0,0,0,0.35);
            color: var(--text-light);
            border-color: #4a3d30;
        }
.form-select option {
            background-color: #2a2119;
            color: #fff7ed;
        }
.accordion-item, .accordion-button {
            background-color: var(--card-bg);
            color: var(--text-light);
            border-color: #3e3127;
        }
.nav-link, .navbar {
            color: var(--text-light);
        }
.navbar-dark .navbar-nav .nav-link {
            color: rgba(255,247,237,0.85);
        }
.navbar-dark .navbar-nav .nav-link.active {
            color: #f97316;
        }
.rank-badge {
            background: var(--primary);
            color: #1a1410;
            font-weight: 700;
        }
/* 榜单小标 */
        .section-subtitle {
            color: var(--accent);
            font-weight: 600;
            letter-spacing: 0.02em;
        }

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