:root {
    --primary: #6d5dfc;
    --accent: #22d3ee;
    --bg: #0f1020;
    --text: #e8eaf6;
    --card-bg: #1a1b2e;
    --border-line: #2a2c4a;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-weight: 400;
    line-height: 1.6;
}
h1,h2,h3,h4,h5,.display-title { font-weight: 900; letter-spacing: -0.02em; }
.mono { font-family: 'Courier New', monospace; font-weight: 700; }
.navbar-main {
    background: rgba(15,16,32,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-line);
    padding: 12px 0;
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 1000;
}
.navbar-main.scrolled {
    background: rgba(15,16,32,0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}
.navbar-brand i { color: var(--accent); }
.navbar-brand .brand-icon { color: var(--primary); }
.nav-link {
    color: rgba(232,234,246,0.75) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.nav-link:hover { color: var(--accent) !important; background: rgba(109,93,252,0.1); }
.navbar-toggler { border-color: var(--border-line); color: var(--text); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232,234,246,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

.hero-section {
    background: linear-gradient(135deg, #0f1020 0%, #1a1b3e 50%, #0f1020 100%);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-line);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109,93,252,0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle { font-size: 1.1rem; color: rgba(232,234,246,0.7); margin-bottom: 32px; max-width: 600px; }
.btn-hero {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-hero::after {
    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-hero:hover::after { left: 100%; }
.btn-hero:hover { background: #5a4ce0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(109,93,252,0.4); }
.btn-outline-hero {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-hero:hover { background: var(--accent); color: #0f1020; }

.section-block { padding: 48px 0; border-bottom: 1px solid var(--border-line); }
.section-header { margin-bottom: 24px; }
.section-title { font-size: 1.6rem; font-weight: 900; }
.section-title i { color: var(--primary); margin-right: 8px; }
.section-sub { color: rgba(232,234,246,0.6); font-size: 0.9rem; }

.pill-tag {
    display: inline-block;
    background: rgba(109,93,252,0.15);
    color: var(--primary);
    border: 1px solid rgba(109,93,252,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 6px;
    transition: all 0.2s;
}
.pill-tag:hover { background: var(--primary); color: #fff; cursor: pointer; }

.movie-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-line);
    height: 100%;
    cursor: pointer;
    position: relative;
}
.movie-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.movie-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    background: #1e2035;
}
.movie-info { padding: 12px 14px; }
.movie-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-meta { color: rgba(232,234,246,0.6); font-size: 0.8rem; display: flex; justify-content: space-between; }
.movie-rating { color: #ffb547; font-weight: 700; }
.movie-year { font-size: 0.75rem; color: rgba(232,234,246,0.4); }

.scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
.scroll-row::-webkit-scrollbar { height: 4px; }
.scroll-row::-webkit-scrollbar-track { background: transparent; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.scroll-row .movie-card { min-width: 160px; max-width: 160px; }

.tab-pane { animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.rank-list { list-style: none; padding: 0; }
.rank-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 8px;
    border: 1px solid var(--border-line);
    transition: all 0.2s;
}
.rank-item:hover { border-color: var(--primary); background: rgba(109,93,252,0.05); }
.rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    margin-right: 12px;
    flex-shrink: 0;
}
.rank-gold { background: linear-gradient(135deg, #f5d76e, #e6b800); color: #333; }
.rank-silver { background: linear-gradient(135deg, #bdc3c7, #95a5a6); color: #333; }
.rank-bronze { background: linear-gradient(135deg, #e67e22, #d35400); color: #fff; }
.rank-normal { background: var(--border-line); color: var(--text); }
.rank-title { font-weight: 600; font-size: 0.9rem; flex: 1; }
.rank-rating { color: #ffb547; font-weight: 700; font-size: 0.85rem; margin-left: 8px; }

.friend-links { padding: 40px 0; border-bottom: 1px solid var(--border-line); }
.friend-links h4 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.friend-links a { color: rgba(232,234,246,0.6); margin-right: 16px; text-decoration: none; font-size: 0.85rem; }
.friend-links a:hover { color: var(--accent); }

.footer { padding: 32px 0; background: #0a0b16; color: rgba(232,234,246,0.6); font-size: 0.85rem; }
.footer a { color: rgba(232,234,246,0.6); text-decoration: none; }
.footer a:hover { color: var(--accent); }

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(109,93,252,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #5a4ce0; transform: translateY(-3px); }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-card {
    background: #fff;
    color: #1a1b2e;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    animation: modalIn 0.3s;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.2); transform: rotate(90deg); }
.modal-poster { width: 40%; object-fit: cover; }
.modal-body { padding: 28px; flex: 1; overflow-y: auto; }
.modal-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.modal-tags { margin-bottom: 12px; }
.modal-tag { background: rgba(109,93,252,0.1); color: var(--primary); padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 600; margin-right: 6px; display: inline-block; }
.modal-info { font-size: 0.9rem; color: #555; margin-bottom: 6px; }
.modal-info strong { color: #222; }
.modal-plot { font-size: 0.95rem; color: #444; margin-top: 12px; line-height: 1.7; }
.modal-actors { font-size: 0.85rem; color: #777; margin-top: 8px; }
.modal-footer-text { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; font-size: 0.85rem; color: #888; }

.faq-item { margin-bottom: 12px; }
.faq-question { font-weight: 700; cursor: pointer; padding: 14px 18px; background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border-line); display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { border-color: var(--primary); }
.faq-answer { padding: 14px 18px; background: rgba(109,93,252,0.05); border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--border-line); border-top: none; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-question i { transition: transform 0.3s; }

.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--border-line); }
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-item::before { content: ''; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg); }
.timeline-date { font-size: 0.75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.timeline-text { font-size: 0.95rem; margin-top: 2px; }

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .modal-card { flex-direction: column; max-height: 80vh; }
    .modal-poster { width: 100%; max-height: 240px; object-fit: cover; }
    .hero-section { padding: 60px 0 40px; }
    .scroll-row .movie-card { min-width: 140px; max-width: 140px; }
}

/* --- 子页面追加 --- */
/* 页面专属微调 —— 排行榜卡片条纹、标签等 */
        .rank-table-row {
            display: flex;
            align-items: center;
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 0.8rem 1rem;
            margin-bottom: 0.75rem;
            border: 1px solid var(--border-line);
            transition: background 0.2s ease;
        }
.rank-table-row:hover {
            background: #222347;
            border-color: var(--primary);
        }
.rank-badge.top-1 { background: #f5c542; color: #0f1020; border-color: #f5c542; }
.rank-badge.top-2 { background: #b0b7c3; color: #0f1020; border-color: #b0b7c3; }
.rank-badge.top-3 { background: #cd7f4b; color: #0f1020; border-color: #cd7f4b; }
.rank-genre {
            font-size: 0.75rem;
            color: var(--accent);
            background: rgba(34,211,238,0.12);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            margin-right: 1rem;
            white-space: nowrap;
        }
.rank-trend {
            margin-left: 1rem;
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.7;
        }
.rank-trend i {
            color: var(--accent);
            margin-right: 0.2rem;
        }
.rank-trend .up { color: #4ade80; }
.rank-trend .down { color: #f87171; }
.rank-header-line {
            border-bottom: 1px solid var(--border-line);
            padding-bottom: 0.5rem;
            margin-bottom: 1.2rem;
        }
.rank-cat-title {
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--text);
            margin-bottom: 0.25rem;
        }
.rank-cat-sub {
            color: var(--text);
            opacity: 0.65;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }
.rank-top-container {
            background: rgba(0,0,0,0.15);
            border-radius: var(--radius);
            padding: 1.5rem 1.2rem;
            border: 1px solid var(--border-line);
        }
/* 覆盖 bootstrap 可能的卡片样式 */
        .card, .card-body {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--border-line);
        }

/* --- 子页面追加 --- */
/* 确保所有卡片、表单等组件与深色站风格一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-line) !important;
        }
.form-control::placeholder, .form-select::placeholder {
            color: rgba(255,255,255,0.45) !important;
        }
.accordion-button:not(.collapsed) {
            background: rgba(109, 93, 252, 0.15) !important;
            color: var(--accent) !important;
        }
/* 覆盖默认白色背景的卡片阴影，保持统一 */
        .card, .list-group-item, .accordion-item {
            box-shadow: var(--shadow) !important;
        }
/* 本页专属小优化 */
        .about-section {
            background: rgba(0,0,0,0.1);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 2.5rem;
        }
.about-section h2, .about-section h3 {
            color: var(--accent);
            font-weight: 700;
            letter-spacing: -0.01em;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary);
            padding-left: 1rem;
        }
.about-highlight {
            color: var(--primary);
            font-weight: 600;
        }
.about-icon {
            color: var(--primary);
            margin-right: 0.5rem;
        }
.badge-soft {
            background: rgba(109, 93, 252, 0.15);
            color: var(--accent);
            border-radius: 20px;
            padding: 0.35rem 1rem;
            font-weight: 500;
            font-size: 0.8rem;
        }
.about-list li {
            margin-bottom: 0.75rem;
            color: var(--text);
        }
.about-list i {
            color: var(--primary);
            margin-right: 0.5rem;
        }
.guide-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.2s;
        }
.guide-card:hover {
            transform: translateY(-3px);
            border-color: var(--primary);
        }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .update-hero {
            background: linear-gradient(135deg, rgba(109, 93, 252, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
            border-bottom: 1px solid var(--border-line);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.update-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(109, 93, 252, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
.update-hero .container {
            position: relative;
            z-index: 2;
        }
.update-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(109, 93, 252, 0.2);
            border: 1px solid rgba(109, 93, 252, 0.4);
            color: var(--accent);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }
.update-badge i {
            font-size: 0.9rem;
        }
.update-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 16px;
            background: linear-gradient(135deg, var(--text) 40%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.update-hero .hero-subtitle {
            font-size: 1.15rem;
            color: rgba(232, 234, 246, 0.7);
            max-width: 640px;
            margin-bottom: 0;
        }
.date-nav {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 16px 20px;
            margin: 40px 0 30px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }
.date-nav .date-label {
            font-weight: 600;
            color: var(--text);
            font-size: 0.95rem;
            white-space: nowrap;
        }
.date-nav .date-item {
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            cursor: pointer;
            border: 1px solid transparent;
            transition: all 0.2s ease;
            background: transparent;
            color: rgba(232, 234, 246, 0.6);
            text-decoration: none;
            display: inline-block;
        }
.date-nav .date-item:hover {
            color: var(--text);
            border-color: var(--border-line);
            background: rgba(109, 93, 252, 0.1);
        }
.date-nav .date-item.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            font-weight: 500;
        }
.update-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 20px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            height: 100%;
        }
.update-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
            border-color: rgba(109, 93, 252, 0.5);
        }
.update-card .card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }
.update-card .tag-group {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
.update-card .tag {
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 50px;
            letter-spacing: 0.3px;
        }
.tag-new {
            background: rgba(34, 211, 238, 0.15);
            color: var(--accent);
            border: 1px solid rgba(34, 211, 238, 0.3);
        }
.tag-hot {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }
.tag-update {
            background: rgba(109, 93, 252, 0.15);
            color: var(--primary);
            border: 1px solid rgba(109, 93, 252, 0.3);
        }
.update-card .time {
            font-size: 0.8rem;
            color: rgba(232, 234, 246, 0.5);
            white-space: nowrap;
        }
.update-card .update-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text);
        }
.update-card .update-desc {
            font-size: 0.9rem;
            color: rgba(232, 234, 246, 0.7);
            line-height: 1.6;
            margin-bottom: 16px;
        }
.update-card .update-meta {
            display: flex;
            gap: 20px;
            font-size: 0.8rem;
            color: rgba(232, 234, 246, 0.5);
            border-top: 1px solid var(--border-line);
            padding-top: 14px;
        }
.update-card .update-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }
.update-card .update-meta i {
            color: var(--accent);
            font-size: 0.75rem;
        }
.update-card .btn-play {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: #fff;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
            border: none;
            margin-top: 4px;
        }
.update-card .btn-play:hover {
            background: var(--accent);
            color: var(--bg);
            transform: translateY(-2px);
        }
.update-card .btn-play i {
            font-size: 0.8rem;
        }
.section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 3px;
        }
.schedule-table {
            width: 100%;
            border-collapse: collapse;
        }
.schedule-table th {
            text-align: left;
            padding: 12px 16px;
            font-size: 0.8rem;
            font-weight: 600;
            color: rgba(232, 234, 246, 0.5);
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 1px solid var(--border-line);
        }
.schedule-table td {
            padding: 14px 16px;
            font-size: 0.9rem;
            color: var(--text);
            border-bottom: 1px solid rgba(42, 44, 74, 0.5);
        }
.schedule-table tr:last-child td {
            border-bottom: none;
        }
.schedule-table tr:hover td {
            background: rgba(109, 93, 252, 0.05);
        }
.schedule-table .status-badge {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
        }
.status-on {
            background: rgba(34, 211, 238, 0.15);
            color: var(--accent);
        }
.status-soon {
            background: rgba(109, 93, 252, 0.15);
            color: var(--primary);
        }
.status-done {
            background: rgba(232, 234, 246, 0.1);
            color: rgba(232, 234, 246, 0.5);
        }
.schedule-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 24px;
            height: 100%;
        }
.schedule-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.schedule-card h3 i {
            color: var(--accent);
            font-size: 1rem;
        }
.schedule-card .day-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.schedule-card .day-list li {
            padding: 8px 0;
            border-bottom: 1px dashed rgba(42, 44, 74, 0.5);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
        }
.schedule-card .day-list li:last-child {
            border-bottom: none;
        }
.schedule-card .day-list .day-name {
            color: rgba(232, 234, 246, 0.7);
            font-weight: 500;
        }
.schedule-card .day-list .day-count {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.8rem;
        }
.schedule-card .day-list .day-count i {
            font-size: 0.7rem;
            margin-right: 4px;
        }
.subscribe-box {
            background: linear-gradient(135deg, rgba(109, 93, 252, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
            border: 1px solid rgba(109, 93, 252, 0.3);
            border-radius: var(--radius);
            padding: 40px;
            text-align: center;
            margin-top: 20px;
        }
.subscribe-box h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.subscribe-box p {
            color: rgba(232, 234, 246, 0.7);
            max-width: 500px;
            margin: 0 auto 24px;
            font-size: 0.95rem;
        }
.update-hero h1 {
                font-size: 2rem;
            }
.update-hero .hero-subtitle {
                font-size: 1rem;
            }
.date-nav {
                padding: 12px;
                gap: 8px;
            }
.date-nav .date-item {
                padding: 5px 12px;
                font-size: 0.8rem;
            }
.subscribe-box {
                padding: 30px 20px;
            }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .hot-hero { background: linear-gradient(135deg, rgba(109,93,252,0.15) 0%, rgba(34,211,238,0.08) 50%, rgba(15,16,32,0) 100%); border-bottom: 1px solid var(--border-line); }
.hot-badge { background: var(--primary); color: #fff; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 20px; }
.rank-num { color: var(--accent); font-size: 1.2rem; font-weight: 700; }
.hot-desc { color: rgba(232,234,246,0.7); }
.genre-tag { display: inline-block; background: rgba(109,93,252,0.15); color: var(--primary); border: 1px solid rgba(109,93,252,0.3); padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.75rem; margin-right: 0.3rem; }
.hot-feature-card { background: var(--card-bg); border: 1px solid var(--border-line); border-radius: var(--radius); padding: 1.2rem; transition: transform 0.2s; }
.hot-feature-card:hover { transform: translateY(-4px); }
.trend-up { color: #34d399; }
.trend-down { color: #f87171; }
.hot-section-title { color: var(--text); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.hot-section-title i { color: var(--accent); margin-right: 0.5rem; }
.hot-section-title span { color: var(--primary); }

/* --- 子页面追加 --- */
/* 本页专属样式 - 高分剧集页 */
        .tv-hero {
            background: linear-gradient(135deg, rgba(109, 93, 252, 0.2) 0%, rgba(34, 211, 238, 0.1) 50%, rgba(15, 16, 32, 0.9) 100%);
            padding: 80px 0 60px;
            border-bottom: 1px solid var(--border-line);
        }
.tv-hero .page-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
            line-height: 1.2;
        }
.tv-hero .page-title span {
            color: var(--primary);
        }
.tv-hero .page-subtitle {
            color: rgba(232, 234, 246, 0.7);
            font-size: 1.1rem;
            max-width: 700px;
            margin-bottom: 24px;
        }
.tv-stats {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
.tv-stats .stat-item {
            text-align: center;
        }
.tv-stats .stat-num {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
        }
.tv-stats .stat-label {
            font-size: 0.85rem;
            color: rgba(232, 234, 246, 0.6);
        }
.tv-filter-bar {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 40px;
            margin-top: -30px;
            position: relative;
            z-index: 2;
        }
.filter-group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }
.filter-group:last-child {
            margin-bottom: 0;
        }
.filter-label {
            font-size: 0.85rem;
            color: var(--accent);
            font-weight: 600;
            min-width: 60px;
        }
.filter-btn {
            padding: 6px 16px;
            border: 1px solid var(--border-line);
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--text);
            background: transparent;
            cursor: pointer;
            transition: all 0.3s;
        }
.filter-btn:hover, .filter-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.tv-section {
            padding: 50px 0;
        }
.tv-section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.tv-section-title i {
            color: var(--accent);
            font-size: 1.4rem;
        }
.tv-section-desc {
            color: rgba(232, 234, 246, 0.6);
            font-size: 0.95rem;
            margin-bottom: 30px;
        }
.tv-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 24px;
            height: 100%;
        }
.tv-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 30px rgba(109, 93, 252, 0.15);
            border-color: var(--primary);
        }
.tv-card-poster {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
.tv-card-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
.tv-card:hover .tv-card-poster img {
            transform: scale(1.05);
        }
.tv-card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(109, 93, 252, 0.9);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            z-index: 1;
        }
.tv-card-rating {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(15, 16, 32, 0.85);
            color: #ffc107;
            font-size: 0.9rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            z-index: 1;
        }
.tv-card-body {
            padding: 16px;
        }
.tv-card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.tv-card-meta {
            font-size: 0.82rem;
            color: rgba(232, 234, 246, 0.5);
            margin-bottom: 8px;
        }
.tv-card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
.tv-card-tags span {
            font-size: 0.72rem;
            padding: 2px 10px;
            background: rgba(109, 93, 252, 0.15);
            color: var(--accent);
            border-radius: 12px;
        }
.tv-featured {
            background: linear-gradient(135deg, rgba(109, 93, 252, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
            border: 1px solid rgba(109, 93, 252, 0.3);
        }
.tv-featured .tv-card-poster {
            height: 280px;
        }
.tv-featured .tv-card-title {
            font-size: 1.3rem;
        }
.tv-note-box {
            background: var(--card-bg);
            border-left: 4px solid var(--accent);
            padding: 20px 24px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 40px 0;
        }
.tv-note-box h4 {
            color: var(--text);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
.tv-note-box p {
            color: rgba(232, 234, 246, 0.7);
            font-size: 0.95rem;
            margin-bottom: 0;
        }
.tv-hero .page-title {
                font-size: 1.8rem;
            }
.tv-stats {
                gap: 20px;
            }
.tv-featured .tv-card-poster {
                height: 200px;
            }

/* --- 子页面追加 --- */
/* 与首页完全一致的变量——确保复用，不重定义，只做少量扩展 */
        :root {
            --primary: #6d5dfc;
            --accent: #22d3ee;
            --bg: #0f1020;
            --text: #e8eaf6;
            --card-bg: #1a1b2e;
            --border-line: #2a2c4a;
            --radius: 8px;
            --shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
/* 动漫页专属：新番表格、标签、小卡片 */
        .anime-season-tag {
            background: rgba(109, 93, 252, 0.15);
            color: var(--accent);
            border: 1px solid rgba(34, 211, 238, 0.3);
            padding: 0.2rem 0.9rem;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            display: inline-block;
        }
.anime-char-item {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 1.2rem 1rem;
            height: 100%;
            transition: 0.2s;
        }
.anime-char-item:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow);
        }
.anime-char-icon {
            font-size: 1.8rem;
            color: var(--accent);
            margin-bottom: 0.6rem;
        }
.anime-list-group {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
        }
.anime-list-item {
            background: transparent;
            border-bottom: 1px solid var(--border-line);
            color: var(--text);
            padding: 0.9rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
.anime-list-item:last-child {
            border-bottom: none;
        }
.anime-rank-badge {
            background: rgba(109, 93, 252, 0.2);
            color: var(--accent);
            border-radius: 6px;
            padding: 0.2rem 0.7rem;
            font-weight: 600;
            font-size: 0.85rem;
            margin-right: 1rem;
        }
.anime-score {
            color: var(--accent);
            font-weight: 600;
        }
.anime-link-dummy {
            color: var(--text);
            text-decoration: none;
            transition: 0.2s;
        }
.anime-link-dummy:hover {
            color: var(--accent);
        }
/* 覆盖 Bootstrap 可能出现的白底类（保险起见） */
        .card, .card-body, .list-group-item, .form-control {
            background: var(--card-bg) !important;
            color: var(--text) !important;
            border-color: var(--border-line) !important;
        }
.navbar, .navbar-brand, .nav-link {
            background: transparent !important;
            color: var(--text) !important;
        }

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .doc-hero {
            background: linear-gradient(135deg, rgba(109,93,252,0.15) 0%, rgba(34,211,238,0.1) 50%, rgba(15,16,32,0.9) 100%);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }
content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url(' {随机图片}
.doc-hero-content {
            position: relative;
            z-index: 1;
        }
.doc-category-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 24px;
            transition: all 0.3s ease;
            height: 100%;
        }
.doc-category-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
            border-color: var(--primary);
        }
.doc-category-icon {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 12px;
        }
.doc-category-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }
.doc-category-desc {
            font-size: 0.9rem;
            color: rgba(232,234,246,0.7);
            line-height: 1.6;
        }
.doc-feature-item {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 16px;
            transition: border-color 0.3s ease;
        }
.doc-feature-item:hover {
            border-color: var(--accent);
        }
.doc-quote {
            border-left: 4px solid var(--primary);
            padding-left: 20px;
            font-style: italic;
            color: rgba(232,234,246,0.8);
            margin: 20px 0;
        }
.doc-badge {
            display: inline-block;
            background: rgba(109,93,252,0.2);
            color: var(--accent);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-right: 8px;
            margin-bottom: 8px;
            border: 1px solid rgba(109,93,252,0.3);
        }
.doc-update-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.doc-update-list li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-line);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
.doc-update-list li:last-child {
            border-bottom: none;
        }
.doc-update-title {
            color: var(--text);
            font-size: 0.95rem;
        }
.doc-update-date {
            color: rgba(232,234,246,0.5);
            font-size: 0.8rem;
            white-space: nowrap;
            margin-left: 12px;
        }
.doc-feature-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(34,211,238,0.15);
            color: var(--accent);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            margin-left: 8px;
        }
.doc-nav-active {
            color: var(--accent) !important;
        }

/* --- 子页面追加 --- */
.contact-hero {
            background: linear-gradient(135deg, rgba(109,93,252,.15) 0%, rgba(34,211,238,.1) 100%);
            border-bottom: 1px solid var(--border-line);
            padding: 80px 0 60px;
        }
.contact-card {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 30px;
            height: 100%;
            transition: transform .3s, box-shadow .3s;
        }
.contact-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.contact-card .icon-circle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: rgba(109,93,252,.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: var(--primary);
            margin-bottom: 20px;
        }
.contact-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
.contact-card p {
            font-size: 14px;
            color: rgba(232,234,246,.7);
            line-height: 1.7;
            margin-bottom: 0;
        }
.contact-card .contact-link {
            color: var(--accent);
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            margin-top: 12px;
            font-size: 15px;
        }
.contact-card .contact-link:hover {
            color: var(--primary);
        }
.faq-section {
            padding: 80px 0;
        }
.faq-item h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }
.faq-item p {
            font-size: 14px;
            color: rgba(232,234,246,.7);
            line-height: 1.7;
            margin-bottom: 0;
        }
.faq-item i {
            color: var(--primary);
            margin-right: 8px;
        }
.form-box {
            background: var(--card-bg);
            border: 1px solid var(--border-line);
            border-radius: var(--radius);
            padding: 40px;
        }
.form-label {
            color: var(--text);
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 8px;
        }
.form-control, .form-select {
            background: rgba(0,0,0,.3);
            border: 1px solid var(--border-line);
            color: var(--text);
            border-radius: 6px;
            padding: 12px 16px;
            font-size: 14px;
        }
.form-control:focus, .form-select:focus {
            background: rgba(0,0,0,.4);
            border-color: var(--primary);
            color: var(--text);
            box-shadow: 0 0 0 .2rem rgba(109,93,252,.15);
        }
.form-control::placeholder {
            color: rgba(232,234,246,.4);
        }
.form-select option {
            background: var(--card-bg);
            color: var(--text);
        }
.btn-submit {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 12px 32px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 15px;
            transition: background .3s, transform .2s;
        }
.btn-submit:hover {
            background: #5a4ae0;
            transform: translateY(-2px);
        }
.response-time {
            background: rgba(34,211,238,.1);
            border: 1px solid rgba(34,211,238,.3);
            border-radius: var(--radius);
            padding: 16px 20px;
            margin-top: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.response-time i {
            color: var(--accent);
            font-size: 20px;
        }
.response-time span {
            color: var(--text);
            font-size: 14px;
        }
.contact-hero { padding: 60px 0 40px; }
.faq-section { padding: 60px 0; }
.form-box { padding: 24px; }