:root {
    --primary: #10b981;
    --accent: #fbbf24;
    --bg: #0a1410;
    --text: #ecfdf5;
    --border-thick: 4px;
    --card-bg: #11231b;
    --shadow-hard: 8px 8px 0 #000000;
    --shadow-hard-sm: 4px 4px 0 #000000;
}

* {
    border-radius: 0 !important;
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

h1, h2, h3, .brand-font {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Bradley Hand', 'Segoe Script', cursive;
    letter-spacing: 1px;
}

/* 滚动进度条 */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 6px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s;
}

/* 导航 */
.navbar-custom {
    background: rgba(10, 20, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-thick) solid var(--primary);
    padding: 12px 0;
    z-index: 1000;
}

.navbar-brand-custom {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text) !important;
    text-shadow: 3px 3px 0 var(--primary);
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text) !important;
    font-weight: 600;
    padding: 8px 18px;
    margin: 0 2px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    border-color: var(--accent);
    background: rgba(251, 191, 36, 0.1);
}

/* Hero标签云 */
.hero-tags {
    background: linear-gradient(135deg, #0d1f16 0%, #0a1410 50%, #0f241a 100%);
    padding: 60px 0 40px;
    border-bottom: 4px solid var(--primary);
    position: relative;
}

.hero-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.tag-item {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 22px;
    border: 3px solid var(--text);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-hard-sm);
}

.tag-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.tag-item.accent {
    border-color: var(--accent);
    color: var(--accent);
}

.tag-item.accent:hover {
    background: var(--accent);
    color: var(--bg);
}

/* 区块 */
.section-block {
    padding: 60px 0;
    border-bottom: 3px solid rgba(16, 185, 129, 0.3);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
}

.section-sub {
    color: rgba(236, 253, 245, 0.6);
    margin-bottom: 30px;
}

/* 海报卡片 */
.poster-card {
    position: relative;
    border: 3px solid var(--text);
    box-shadow: var(--shadow-hard-sm);
    background: var(--card-bg);
    transition: all 0.3s;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.poster-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 var(--primary);
    border-color: var(--primary);
}

.poster-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #1a3a2a 0%, #0d1f16 100%);
}

.poster-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

.poster-img-wrap img.loaded {
    opacity: 1;
}

.poster-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(10, 20, 16, 0.95) 0%, rgba(10, 20, 16, 0.5) 60%, transparent 100%);
    opacity: 0.8;
}

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent);
    border: 3px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bg);
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 4px 4px 0 var(--bg);
}

.poster-card:hover .poster-play {
    opacity: 1;
}

.poster-info {
    padding: 12px;
    background: var(--card-bg);
    border-top: 3px solid var(--primary);
}

.poster-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-meta {
    font-size: 0.85rem;
    color: rgba(236, 253, 245, 0.7);
    display: flex;
    justify-content: space-between;
}

.rating-badge {
    color: var(--accent);
    font-weight: 700;
}

/* 横向滚动 */
.h-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--card-bg);
}

.h-scroll::-webkit-scrollbar {
    height: 8px;
}

.h-scroll::-webkit-scrollbar-track {
    background: var(--card-bg);
}

.h-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
}

.h-scroll .col-item {
    flex: 0 0 220px;
}

/* 排行榜 */
.rank-list {
    border: 3px solid var(--text);
    box-shadow: var(--shadow-hard-sm);
    background: var(--card-bg);
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 2px solid rgba(16, 185, 129, 0.2);
    transition: background 0.3s;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item:hover {
    background: rgba(16, 185, 129, 0.1);
}

.rank-num {
    font-size: 1.8rem;
    font-weight: 900;
    width: 60px;
    color: var(--accent);
    text-shadow: 2px 2px 0 var(--bg);
}

.rank-num.top3 {
    color: var(--primary);
}

.rank-name {
    flex: 1;
    font-weight: 600;
}

.rank-score {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* 分类入口 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.category-item {
    border: 3px solid var(--text);
    background: var(--card-bg);
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-hard-sm);
}

.category-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 var(--accent);
}

.category-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.category-item:hover i {
    color: var(--bg);
}

.category-item span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* 抽屉弹窗 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 4px solid var(--primary);
    box-shadow: 0 -8px 0 rgba(16, 185, 129, 0.3);
    padding: 30px 30px 40px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    max-height: 70vh;
    overflow-y: auto;
}

.drawer-panel.active {
    transform: translateY(0);
}

.drawer-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.drawer-close:hover {
    color: var(--accent);
}

.drawer-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.drawer-poster {
    width: 200px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.drawer-info {
    flex: 1;
    min-width: 250px;
}

.drawer-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.drawer-info .meta-line {
    margin-bottom: 8px;
    font-size: 1rem;
}

.drawer-info .meta-line strong {
    color: var(--primary);
    margin-right: 10px;
}

.drawer-plot {
    margin-top: 15px;
    line-height: 1.8;
    color: rgba(236, 253, 245, 0.9);
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

/* 按钮光泽 */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* 时间线 */
.timeline {
    border-left: 4px solid var(--primary);
    margin-left: 20px;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding: 15px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: 3px solid var(--bg);
}

.timeline-item h4 {
    color: var(--primary);
    font-weight: 700;
}

.timeline-item p {
    color: rgba(236, 253, 245, 0.8);
}

/* 标签页 */
.nav-tabs-custom {
    border-bottom: 3px solid var(--primary);
    margin-bottom: 20px;
}

.nav-tabs-custom .nav-link {
    color: var(--text);
    border: 2px solid transparent;
    border-bottom: none;
    padding: 12px 24px;
    font-weight: 700;
    background: transparent;
    margin-right: 5px;
}

.nav-tabs-custom .nav-link:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.nav-tabs-custom .nav-link.active {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

/* 页脚 */
.footer-custom {
    background: #08120c;
    border-top: 4px solid var(--accent);
    padding: 40px 0 20px;
}

.footer-link {
    color: rgba(236, 253, 245, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    margin-right: 15px;
}

.footer-link:hover {
    color: var(--accent);
}

/* 友情链接 */
.friend-links {
    border: 3px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
}

/* 图片懒加载渐显 */
.poster-img-wrap img {
    transition: opacity 0.5s ease;
}

/* 响应式 */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
    .poster-card {
        margin-bottom: 15px;
    }
    .h-scroll .col-item {
        flex: 0 0 170px;
    }
    .drawer-content {
        flex-direction: column;
    }
    .drawer-poster {
        width: 100%;
        max-width: 200px;
    }
}

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .about-hero { background: linear-gradient(135deg, var(--bg) 0%, #0f2a1f 100%); padding: 60px 0 40px; border-bottom: 3px solid var(--primary); }
.about-hero h1 { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.about-hero h1 span { color: var(--primary); }
.about-hero .lead { color: rgba(236, 253, 245, 0.75); max-width: 680px; margin: 16px auto 0; font-size: 1.1rem; }
.about-section { padding: 50px 0; }
.about-section:nth-child(even) { background: rgba(17, 35, 27, 0.5); }
.about-card { background: var(--card-bg); border: 2px solid rgba(16, 185, 129, 0.2); border-radius: 12px; padding: 28px; height: 100%; box-shadow: var(--shadow-hard-sm); transition: transform .2s; }
.about-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.about-card .icon-wrap { width: 52px; height: 52px; border-radius: 10px; background: rgba(16, 185, 129, 0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about-card .icon-wrap i { font-size: 1.5rem; color: var(--primary); }
.about-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.about-card p { color: rgba(236, 253, 245, 0.7); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }
.about-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: rgba(236, 253, 245, 0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.about-quote { background: rgba(251, 191, 36, 0.08); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 30px 0; }
.about-quote p { font-size: 1.05rem; font-style: italic; color: rgba(236, 253, 245, 0.85); margin: 0; }
.about-list { list-style: none; padding: 0; margin: 16px 0 0; }
.about-list li { padding: 8px 0 8px 28px; position: relative; color: rgba(236, 253, 245, 0.8); font-size: 0.95rem; }
.about-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); position: absolute; left: 0; top: 8px; font-size: 0.9rem; }
.about-hero h1 { font-size: 2rem; }
.about-hero { padding: 40px 0 30px; }
.about-card { padding: 20px; }
.about-stats { gap: 24px; }
.stat-num { font-size: 1.6rem; }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .disclaimer-section {
            padding: 3rem 0;
        }
.disclaimer-card {
            background: var(--card-bg);
            border: 2px solid var(--primary);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-hard-sm);
        }
.disclaimer-card h2 {
            color: var(--accent);
            font-weight: 800;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            position: relative;
            padding-left: 1.2rem;
        }
.disclaimer-card h2::before {
            content: "▶";
            position: absolute;
            left: -0.5rem;
            color: var(--primary);
            font-size: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
        }
.disclaimer-card p {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
            margin-bottom: 0.8rem;
        }
.disclaimer-card ul {
            list-style: none;
            padding-left: 0;
        }
.disclaimer-card ul li {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
            padding-left: 1.5rem;
            position: relative;
            margin-bottom: 0.5rem;
        }
.disclaimer-card ul li::before {
            content: "✦";
            position: absolute;
            left: 0;
            color: var(--primary);
        }
.highlight-box {
            background: rgba(16, 185, 129, 0.1);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }
.highlight-box p {
            margin-bottom: 0;
            font-weight: 500;
            color: var(--accent);
        }
.page-header {
            background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg) 100%);
            border-bottom: 4px solid var(--primary);
            padding: 3rem 0 2rem;
            margin-bottom: 2rem;
        }
.page-header h1 {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
.page-header h1 span {
            color: var(--primary);
        }
.page-header .subtitle {
            color: rgba(236, 253, 245, 0.7);
            font-size: 1rem;
        }
.last-updated {
            display: inline-block;
            background: var(--primary);
            color: var(--bg);
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 1rem;
        }
.back-home-btn {
            display: inline-block;
            background: var(--primary);
            color: var(--bg);
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-top: 2rem;
            box-shadow: var(--shadow-hard-sm);
        }
.back-home-btn:hover {
            transform: translate(-2px, -2px);
            box-shadow: 6px 6px 0 #000;
            color: var(--bg);
        }
.notice-badge {
            display: inline-block;
            background: var(--accent);
            color: var(--bg);
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            margin-right: 0.5rem;
        }
.disclaimer-card {
                padding: 1.5rem;
            }
.page-header h1 {
                font-size: 1.6rem;
            }

/* --- 子页面追加 --- */
/* 本页专属少量样式 */
        .privacy-section { padding: 4rem 0; }
.privacy-content { max-width: 900px; margin: 0 auto; }
.privacy-card { background: var(--card-bg); border: 2px solid var(--primary); border-radius: 12px; padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-hard-sm); }
.privacy-card h2 { color: var(--primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.2rem; }
.privacy-card h3 { color: var(--accent); font-size: 1.15rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.8rem; }
.privacy-card p, .privacy-card li { color: var(--text); font-size: 0.95rem; line-height: 1.8; opacity: 0.9; }
.privacy-card ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.privacy-card ul li { margin-bottom: 0.5rem; }
.privacy-card .highlight { color: var(--accent); font-weight: 600; }
.privacy-updated { color: var(--text); opacity: 0.7; font-size: 0.9rem; text-align: center; margin-bottom: 2rem; }
.privacy-nav { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 3rem; }
.privacy-nav a { color: var(--text); text-decoration: none; padding: 0.5rem 1.2rem; border: 2px solid var(--primary); border-radius: 8px; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; }
.privacy-nav a:hover { background: var(--primary); color: #000; box-shadow: var(--shadow-hard-sm); }
.privacy-nav a.active { background: var(--primary); color: #000; }
.privacy-highlight-box { background: rgba(16, 185, 129, 0.1); border-left: 4px solid var(--primary); padding: 1.2rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0; }
.privacy-highlight-box p { margin-bottom: 0; color: var(--text); }
.privacy-contact { background: linear-gradient(135deg, var(--primary) 0%, #0d9668 100%); border: none; box-shadow: var(--shadow-hard); }
.privacy-contact h2, .privacy-contact p { color: #000; }
.privacy-contact p { font-weight: 500; }
.privacy-card { padding: 1.5rem; }
.privacy-card h2 { font-size: 1.3rem; }
.privacy-nav { gap: 0.5rem; }
.privacy-nav a { padding: 0.4rem 0.8rem; font-size: 0.8rem; }