:root {
    --main: #10b981;
    --accent: #fbbf24;
    --bg: #0a1410;
    --text: #ecfdf5;
    --main-dim: rgba(16, 185, 129, 0.2);
    --accent-dim: rgba(251, 191, 36, 0.2);
    --text-dim: rgba(236, 253, 245, 0.6);
    --card-bg: #0f1f18;
    --border-color: rgba(16, 185, 129, 0.3);
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}
a { text-decoration: none; color: var(--main); }
a:hover { color: var(--accent); }
.bg-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url('{随机图片}');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.bg-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 20, 16, 0.75);
    backdrop-filter: blur(8px);
}
.hero-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    padding: 20px;
}
.hero-tags span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text);
    border: 2px solid var(--border-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 20px;
    border-radius: 40px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.hero-tags span:hover { background: var(--main); color: var(--bg); border-color: var(--main); transform: translateY(-3px); }
.navbar {
    background-color: rgba(10, 20, 16, 0.95) !important;
    border-bottom: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
    z-index: 1050;
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text) !important;
    letter-spacing: 1px;
}
.navbar-brand i { color: var(--main); margin-right: 8px; }
.navbar-nav .nav-link {
    color: var(--text) !important;
    font-weight: 600;
    margin: 0 6px;
    padding: 8px 16px;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.navbar-nav .nav-link:hover { color: var(--accent) !important; border-bottom: 2px solid var(--accent); }
.section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.section-header p {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header h2 span { color: var(--accent); border-bottom: 4px solid var(--main); }
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 30px;
}
.movie-card {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s;
}
.movie-card:hover {
    transform: translateY(-10px);
    border-color: var(--main);
}
.movie-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}
.movie-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,20,16,0) 0%, rgba(10,20,16,0.9) 80%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.3s;
}
.movie-card:hover .overlay { opacity: 1; }
.movie-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 70px;
    height: 70px;
    background: rgba(251, 191, 36, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border: 3px solid var(--text);
    color: var(--bg);
    font-size: 1.8rem;
}
.movie-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.movie-card .info {
    padding: 15px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}
.movie-card .info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-card .info .meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
}
.movie-card .info .rating { color: var(--accent); font-weight: 800; font-family: 'Courier New', monospace; font-size: 1rem; }
.movie-card .badge-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--main);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 3px 12px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}
.genre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 30px;
}
.genre-card {
    text-align: center;
    padding: 30px 10px;
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}
.genre-card:hover { background: var(--main-dim); border-color: var(--main); transform: scale(1.03); }
.genre-card i { font-size: 2.5rem; color: var(--main); margin-bottom: 12px; }
.genre-card h4 { font-weight: 800; font-size: 1.2rem; color: var(--text); margin-bottom: 4px; }
.genre-card p { font-size: 0.8rem; color: var(--text-dim); }
.rank-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}
.rank-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    background: rgba(16, 185, 129, 0.05);
    transition: background 0.2s, border-color 0.2s;
}
.rank-item:hover { background: var(--main-dim); border-color: var(--main); }
.rank-num {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    width: 60px;
    text-align: center;
    border-right: 3px solid var(--accent);
    padding-right: 15px;
}
.rank-content h4 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.rank-content p { font-size: 0.85rem; color: var(--text-dim); margin: 0; }
.rank-info { margin-left: auto; text-align: right; }
.rank-info .hot { color: var(--accent); font-weight: 800; }
.rank-info .views { font-size: 0.8rem; color: var(--text-dim); }
.rank-badge { font-size: 0.7rem; font-weight: 700; background: var(--main); color: var(--bg); padding: 2px 10px; border-radius: 12px; }
.faq-section { max-width: 900px; margin: 0 auto; padding: 0 30px; }
.accordion-item { background: transparent; border: 2px solid var(--border-color); border-radius: 12px !important; margin-bottom: 16px; }
.accordion-button { background: var(--card-bg); color: var(--text); font-weight: 600; border-radius: 12px !important; }
.accordion-button:not(.collapsed) { background: var(--main-dim); color: var(--main); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--text-dim); }
.topic-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.topic-item {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}
.topic-item:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.friendship-links { background: rgba(16, 185, 129, 0.05); padding: 40px 0; border-top: 2px solid var(--border-color); border-bottom: 2px solid var(--border-color); }
.footer {
    background: var(--bg);
    padding: 40px 0 20px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}
.footer-brand { font-size: 2rem; font-weight: 900; color: var(--text); }
.footer-brand i { color: var(--main); }
.footer-links a { margin: 0 15px; color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }
#backTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    transition: all 0.3s;
}
#backTop:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6); }
.drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 4px solid var(--main);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1100;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
}
.drawer.show { transform: translateY(0); }
.drawer-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--text); font-size: 2rem; cursor: pointer; }
.drawer-content h3 { font-weight: 800; font-size: 1.8rem; color: var(--text); margin-bottom: 15px; }
.drawer-content .detail-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.drawer-content .detail-item { padding: 8px 0; border-bottom: 1px solid rgba(16,185,129,0.2); }
.drawer-content .detail-item span { color: var(--accent); font-weight: 700; margin-right: 10px; }
.drawer-content .detail-item p { color: var(--text); margin: 0; }
.drawer-content .plot { margin-top: 15px; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10,20,16,0.8); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.accordion-button::after { filter: invert(1); }
.list-section { display: flex; gap: 30px; padding: 0 30px; flex-wrap: wrap; justify-content: center; }
.list-item { flex: 1 1 400px; max-width: 550px; border-left: 4px solid var(--main); padding-left: 20px; margin-bottom: 20px; }
.list-item h4 { font-weight: 700; color: var(--accent); margin-bottom: 5px; }
.list-item p { color: var(--text-dim); font-size: 0.9rem; }
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 2rem; }
    .movie-grid { grid-template-columns: repeat(2, 1fr); padding: 0 15px; gap: 15px; }
    .movie-card img { height: 220px; }
    .genre-grid { grid-template-columns: repeat(2, 1fr); padding: 0 15px; gap: 10px; }
    .rank-item { flex-direction: column; text-align: center; }
    .rank-num { border-right: none; border-bottom: 2px solid var(--accent); padding-right: 0; padding-bottom: 5px; margin-bottom: 8px; width: 100%; }
    .rank-info { margin: 0; text-align: center; }
    .drawer-content .detail-grid { grid-template-columns: 1fr; }
    .navbar-nav { background: rgba(10,20,16,0.95); padding: 10px; border-radius: 12px; }
}

/* --- 子页面追加 --- */
/* 本页专属微调 */
        .about-hero {
            padding: 80px 0 50px;
            border-bottom: 1px solid var(--border-color);
            background: linear-gradient(135deg, var(--main-dim) 0%, rgba(0,0,0,0) 60%);
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid var(--border-color);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-section h2 {
            color: var(--accent);
            font-weight: 700;
            font-size: 1.6rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.about-section h2 i {
            color: var(--main);
            font-size: 1.4rem;
        }
.about-section p {
            color: var(--text);
            line-height: 1.9;
            margin-bottom: 18px;
            font-size: 1rem;
        }
.about-section p strong {
            color: var(--accent);
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 28px;
            height: 100%;
            transition: all 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            border-color: var(--main);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
        }
.about-card .icon {
            font-size: 2.2rem;
            color: var(--main);
            margin-bottom: 15px;
        }
.about-card h3 {
            color: var(--text);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
.about-card p {
            color: var(--text-dim);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.about-stats {
            background: var(--main-dim);
            border-radius: 12px;
            padding: 30px;
            margin-top: 30px;
        }
.about-stats .stat-item {
            text-align: center;
            padding: 10px;
        }
.about-stats .stat-num {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--main);
        }
.about-stats .stat-label {
            color: var(--text-dim);
            font-size: 0.9rem;
            margin-top: 5px;
        }
.about-list {
            list-style: none;
            padding: 0;
            margin: 20px 0 0;
        }
.about-list li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(16, 185, 129, 0.15);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: var(--text);
        }
.about-list li:last-child {
            border-bottom: none;
        }
.about-list li i {
            color: var(--main);
            margin-top: 4px;
            font-size: 0.9rem;
        }
.highlight {
            color: var(--accent);
            font-weight: 600;
        }
.about-hero {
                padding: 50px 0 30px;
            }
.about-section {
                padding: 40px 0;
            }
.about-section h2 {
                font-size: 1.3rem;
            }
.about-card {
                padding: 20px;
                margin-bottom: 15px;
            }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .disclaimer-hero { padding: 4rem 0 2.5rem; }
.disclaimer-section { margin-bottom: 2.2rem; }
.disclaimer-section h2 { color: var(--main); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; padding-left: 0.9rem; border-left: 4px solid var(--accent); }
.disclaimer-section h3 { color: var(--accent); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.7rem; }
.disclaimer-section p, .disclaimer-section li { color: var(--text-dim); line-height: 1.8; font-size: 0.96rem; }
.disclaimer-section ul { padding-left: 1.4rem; }
.disclaimer-section li { margin-bottom: 0.4rem; }
.disclaimer-note { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
.disclaimer-note p { margin: 0; color: var(--text); font-size: 0.95rem; }
.disclaimer-note i { color: var(--accent); margin-right: 0.5rem; }
.disclaimer-box { background: rgba(16,185,129,0.08); border: 1px solid var(--border-color); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.disclaimer-box p { color: var(--text); font-weight: 500; margin: 0; }
.disclaimer-box i { color: var(--main); margin-right: 0.4rem; }
.update-date { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.nav-link.active { color: var(--accent) !important; font-weight: 600; }
.disclaimer-content-wrap { max-width: 900px; margin: 0 auto; }
.disclaimer-hero { padding: 2.5rem 0 1.5rem; }
.disclaimer-section h2 { font-size: 1.25rem; }

/* --- 子页面追加 --- */
/* 隐私政策页面专属样式 */
        .privacy-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            transition: box-shadow 0.3s ease;
        }
.privacy-section:hover {
            box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
        }
.privacy-section h2 {
            color: var(--main);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.privacy-section h2 i {
            color: var(--accent);
            font-size: 1.25rem;
        }
.privacy-section h3 {
            color: var(--text);
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 1rem;
            margin-top: 1.5rem;
        }
.privacy-section p {
            color: var(--text-dim);
            line-height: 1.8;
            margin-bottom: 1rem;
        }
.privacy-section ul, .privacy-section ol {
            color: var(--text-dim);
            line-height: 1.8;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.privacy-section li {
            margin-bottom: 0.5rem;
        }
.privacy-section strong {
            color: var(--text);
        }
.privacy-badge {
            display: inline-block;
            background: var(--main-dim);
            color: var(--main);
            padding: 0.25rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
.privacy-update {
            color: var(--text-dim);
            font-size: 0.9rem;
            text-align: center;
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }
.privacy-update a {
            color: var(--main);
            text-decoration: none;
            transition: color 0.3s ease;
        }
.privacy-update a:hover {
            color: var(--accent);
        }
.privacy-section {
                padding: 1.5rem;
            }
.privacy-section h2 {
                font-size: 1.25rem;
            }

/* --- 子页面追加 --- */
.rank-hero {
            padding: 3rem 0 1.5rem;
        }
.rank-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
.rank-hero p {
            color: var(--text-dim);
            font-size: 1.05rem;
            max-width: 720px;
        }
.rank-section-title {
            margin: 2.5rem 0 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.rank-section-title .icon-wrap {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--main-dim);
            color: var(--main);
            font-size: 1.1rem;
        }
.rank-section-title h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            margin: 0;
        }
.rank-section-title .sub-badge {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--accent);
            background: var(--accent-dim);
            padding: 0.2rem 0.7rem;
            border-radius: 20px;
            margin-left: 0.5rem;
        }
.rank-item:nth-child(1) .rank-num,
        .rank-item:nth-child(2) .rank-num,
        .rank-item:nth-child(3) .rank-num {
            color: var(--accent);
        }
.rank-info .title {
            font-weight: 600;
            font-size: 1.02rem;
            color: var(--text);
            margin-bottom: 0.15rem;
        }
.rank-info .meta {
            font-size: 0.85rem;
            color: var(--text-dim);
        }
.rank-badge.hot {
            background: var(--accent-dim);
            color: var(--accent);
        }
.rank-badge.up {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
        }
.rank-badge.down {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
        }
.note-box {
            background: var(--card-bg);
            border: 1px dashed var(--border-color);
            border-radius: 10px;
            padding: 1.2rem 1.4rem;
            margin-top: 2rem;
            color: var(--text-dim);
            font-size: 0.95rem;
        }
.note-box i {
            color: var(--accent);
            margin-right: 0.5rem;
        }

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