:root {
    --primary: #dc2626;
    --accent: #fb923c;
    --bg: #141013;
    --text: #fef2f2;
    --card-bg: rgba(30, 22, 28, 0.85);
    --border: rgba(254, 242, 242, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(220, 38, 38, 0.25);
    --radius: 8px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg);
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 146, 60, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23141013"/><circle cx="20" cy="20" r="1" fill="%23dc2626" opacity="0.15"/><circle cx="80" cy="40" r="1.5" fill="%23fb923c" opacity="0.1"/><circle cx="50" cy="80" r="1" fill="%23dc2626" opacity="0.12"/></svg>');
    background-attachment: fixed;
    background-size: cover, cover, 100px 100px;
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--accent);
}
img {
    max-width: 100%;
    display: block;
}
::selection {
    background: var(--primary);
    color: white;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

/* 导航栏 */
.navbar {
    background: rgba(20, 16, 19, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}
.navbar .container {
    max-width: 1400px;
    padding: 0 24px;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.navbar-brand i {
    color: var(--primary);
    font-size: 1.3rem;
}
.navbar-toggler {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    font-size: 1rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-nav .nav-link {
    color: rgba(254, 242, 242, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.navbar-nav .nav-link:hover {
    color: var(--accent);
    background: rgba(251, 146, 60, 0.08);
}
.navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 700;
}
.navbar .btn-search {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.navbar .btn-search:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero 区块 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 60px;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('{随机图片}');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    filter: blur(2px);
    animation: kenburns 20s infinite alternate;
}
@keyframes kenburns {
    0% { transform: scale(1); opacity: 0.12; }
    100% { transform: scale(1.05); opacity: 0.2; }
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 80px rgba(220, 38, 38, 0.3);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(254, 242, 242, 0.7);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), #b91c1c);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
    color: white;
}
.btn-hero-secondary {
    background: rgba(254, 242, 242, 0.08);
    border: 1px solid rgba(254, 242, 242, 0.2);
    color: var(--text);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.btn-hero-secondary:hover {
    background: rgba(254, 242, 242, 0.15);
    color: var(--accent);
    transform: translateY(-3px);
}
.hero-decor {
    position: absolute;
    z-index: 1;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}
.hero-decor-1 {
    top: 20%;
    left: 10%;
    font-size: 3rem;
    animation-delay: 0s;
}
.hero-decor-2 {
    bottom: 25%;
    right: 15%;
    font-size: 2.5rem;
    animation-delay: 1.5s;
}
.hero-decor-3 {
    top: 60%;
    left: 20%;
    font-size: 2rem;
    animation-delay: 3s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* 区块通用 */
.section {
    padding: 80px 0;
    position: relative;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-left: 16px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.section-link {
    color: rgba(254, 242, 242, 0.6);
    font-size: 0.9rem;
    transition: all 0.2s;
}
.section-link:hover {
    color: var(--accent);
}

/* 分类入口 */
.category-strip {
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.category-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}
.category-card .cat-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

/* 海报卡片 */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}
.movie-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(8px);
}
.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(220, 38, 38, 0.4);
}
.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(251, 146, 60, 0.05));
}
.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}
.movie-poster .badge-hd {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary), #b91c1c);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}
.movie-poster .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.movie-card:hover .play-overlay {
    opacity: 1;
}
.movie-poster .play-overlay i {
    font-size: 3rem;
    color: white;
    background: rgba(220, 38, 38, 0.7);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    transition: transform 0.3s ease;
}
.movie-card:hover .play-overlay i {
    transform: scale(1.1);
}
.movie-info {
    padding: 16px;
}
.movie-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(254, 242, 242, 0.6);
    margin-bottom: 8px;
}
.movie-meta .rating {
    color: var(--accent);
    font-weight: 700;
}
.movie-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.movie-tags .tag {
    background: rgba(220, 38, 38, 0.15);
    color: var(--accent);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* 排行榜 */
.ranking-list {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.ranking-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
}
.ranking-item:last-child {
    border-bottom: none;
}
.ranking-item:hover {
    background: rgba(220, 38, 38, 0.05);
    transform: translateX(6px);
}
.ranking-num {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}
.ranking-item:nth-child(1) .ranking-num {
    color: var(--accent);
    font-size: 1.6rem;
}
.ranking-item:nth-child(2) .ranking-num {
    color: var(--accent);
    font-size: 1.4rem;
}
.ranking-item:nth-child(3) .ranking-num {
    color: var(--accent);
}
.ranking-thumb {
    width: 45px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 16px;
    flex-shrink: 0;
}
.ranking-info {
    flex: 1;
    min-width: 0;
}
.ranking-title {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ranking-desc {
    font-size: 0.8rem;
    color: rgba(254, 242, 242, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ranking-score {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    margin-left: 16px;
    flex-shrink: 0;
}

/* 专题 & 盘点 */
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(251, 146, 60, 0.4);
}
.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.feature-body {
    padding: 24px;
}
.feature-body h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.feature-body p {
    color: rgba(254, 242, 242, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}
.feature-body .btn-feature {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    transition: all 0.2s;
}
.feature-body .btn-feature:hover {
    color: var(--primary);
    gap: 6px;
}

/* 手风琴 */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.accordion-button {
    background: transparent !important;
    color: var(--text) !important;
    font-weight: 600;
    padding: 18px 20px;
    font-size: 0.95rem;
}
.accordion-button:not(.collapsed) {
    color: var(--accent) !important;
    box-shadow: none !important;
}
.accordion-button:focus {
    box-shadow: none !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc2626'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}
.accordion-body {
    color: rgba(254, 242, 242, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
    padding: 0 20px 20px;
}

/* 友情链接 */
.friend-links {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
.friend-links h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: rgba(254, 242, 242, 0.8);
}
.friend-links .links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    color: rgba(254, 242, 242, 0.5);
    font-size: 0.85rem;
}

/* 页脚 */
.footer {
    background: rgba(10, 8, 9, 0.8);
    border-top: 1px solid var(--border);
    padding: 50px 0 20px;
    backdrop-filter: blur(10px);
}
.footer-brand {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 30px;
}
.footer-links a {
    color: rgba(254, 242, 242, 0.6);
    font-size: 0.85rem;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(254, 242, 242, 0.4);
    font-size: 0.8rem;
}

/* 详情侧栏 */
.detail-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: rgba(20, 16, 19, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    padding: 30px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}
.detail-sidebar.open {
    right: 0;
}
.detail-sidebar::-webkit-scrollbar {
    width: 6px;
}
.detail-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
}
.detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.2);
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}
.detail-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}
.detail-poster {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 20px;
    aspect-ratio: 2/3;
    object-fit: cover;
    box-shadow: var(--shadow);
}
.detail-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.detail-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.detail-subtitle span {
    background: rgba(251, 146, 60, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
}
.detail-info {
    margin-bottom: 20px;
}
.detail-info p {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.detail-info .label {
    width: 60px;
    color: rgba(254, 242, 242, 0.5);
    flex-shrink: 0;
}
.detail-info .value {
    flex: 1;
    color: var(--text);
}
.detail-plot {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(254, 242, 242, 0.8);
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 滚动进入动画 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    .movie-info h3 {
        font-size: 0.9rem;
    }
    .ranking-thumb {
        width: 35px;
        height: 50px;
    }
    .detail-sidebar {
        max-width: 100%;
        padding: 20px;
    }
    .hero {
        padding: 100px 16px 40px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* 装饰 */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
    opacity: 0.5;
}

/* 星星背景装饰 */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
    opacity: 0.3;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* --- 子页面追加 --- */
/* 页面专属补充样式 */
        .search-hero {
            padding: 60px 0 30px;
        }
.search-hero .section-title {
            margin-bottom: 0.5rem;
        }
.search-box {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 50px;
            padding: 6px 6px 6px 20px;
            display: flex;
            align-items: center;
            max-width: 700px;
            margin: 0 auto;
            backdrop-filter: blur(6px);
            box-shadow: var(--shadow);
        }
.search-box i {
            color: var(--primary);
            font-size: 1.2rem;
            margin-right: 10px;
        }
.search-box input {
            background: transparent;
            border: none;
            color: var(--text);
            font-size: 1rem;
            flex: 1;
            outline: none;
            font-weight: 400;
            letter-spacing: 0.01em;
        }
.search-box input::placeholder {
            color: rgba(254, 242, 242, 0.45);
        }
.search-box button {
            background: var(--primary);
            border: none;
            color: #fff;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
            transition: all 0.25s ease;
            white-space: nowrap;
        }
.search-box button:hover {
            background: #b91c1c;
            box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
        }
.filter-strip {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px 16px;
            margin: 25px 0 15px;
        }
.filter-chip {
            background: rgba(220, 38, 38, 0.08);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 8px 22px;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            backdrop-filter: blur(4px);
        }
.filter-chip:hover, .filter-chip.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
        }
.search-stats {
            color: rgba(254, 242, 242, 0.6);
            font-size: 0.95rem;
            margin-top: 10px;
            letter-spacing: 0.02em;
        }
.search-stats strong {
            color: var(--accent);
            font-weight: 700;
        }
.trending-keywords {
            margin: 20px 0 10px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px 14px;
            font-size: 0.9rem;
        }
.trending-keywords a {
            color: rgba(254, 242, 242, 0.7);
            text-decoration: none;
            border-bottom: 1px dashed rgba(254, 242, 242, 0.3);
            transition: color 0.2s;
        }
.trending-keywords a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
.tip-box {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px 30px;
            margin: 40px 0 20px;
            box-shadow: var(--shadow);
        }
.tip-box h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.tip-box h3 i {
            color: var(--primary);
        }
.tip-list {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }
.tip-list li {
            padding: 8px 0;
            border-bottom: 1px solid rgba(254, 242, 242, 0.06);
            display: flex;
            gap: 12px;
            color: rgba(254, 242, 242, 0.85);
            font-size: 0.98rem;
        }
.tip-list li:last-child {
            border-bottom: none;
        }
.tip-list i {
            color: var(--accent);
            margin-top: 4px;
            font-size: 0.9rem;
            width: 18px;
            flex-shrink: 0;
        }
.search-page-footer {
            border-top: 1px solid var(--border);
            margin-top: 40px;
        }

/* --- 子页面追加 --- */
/* 确保 bootstrap 卡片等组件不出现白底黑字 —— 但我们尽量不用 .card，仅用栅格 */
        /* 本页基本复用 .movie-card 等已有类，无需覆盖 bootstrap 组件 */
        /* 补充一点本页专属布局 */
        .movies-hero {
            position: relative;
            padding: 4rem 0 3rem;
            border-bottom: 1px solid var(--border);
            background: radial-gradient(circle at 30% 40%, rgba(220,38,38,.15), transparent 70%);
        }
.movies-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text);
        }
.movies-hero .hero-subtitle {
            color: rgba(254,242,242,.75);
            max-width: 680px;
            margin-top: .5rem;
        }
.featured-tag {
            display: inline-block;
            background: var(--primary);
            color: white;
            font-size: .75rem;
            font-weight: 700;
            padding: .25rem .8rem;
            border-radius: 30px;
            letter-spacing: .04em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
.section-more {
            margin-top: 4rem;
        }
.movie-card .movie-info {
            min-height: 85px;
        }
.genre-badge {
            font-size: .75rem;
            background: rgba(220,38,38,.2);
            color: var(--accent);
            padding: .15rem .7rem;
            border-radius: 30px;
            border: 1px solid rgba(251,146,60,.25);
            margin-right: .4rem;
        }
.stack-note {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.2rem 1.5rem;
            margin-top: 2.5rem;
            font-size: .95rem;
            color: rgba(254,242,242,.8);
        }
.stack-note i {
            color: var(--accent);
            margin-right: .5rem;
        }
.list-dot {
            color: var(--primary);
            margin-right: .4rem;
        }
/* 导航高亮当前页 */
        .navbar-nav .nav-link.active-movies {
            color: var(--accent) !important;
            font-weight: 600;
        }

/* --- 子页面追加 --- */
/* 页面专用微调，保持整体风格 */
        .section-subtitle { color: var(--accent); font-weight: 500; letter-spacing: 0.5px; }
.tv-hero-title { font-weight: 800; font-size: 2.8rem; line-height: 1.2; }
.tv-hero-sub { color: rgba(254,242,242,0.7); max-width: 700px; }
.tv-feature-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow .25s; }
.tv-feature-card:hover { box-shadow: var(--shadow-hover); }
.tv-feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.tv-list-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 0.8rem; transition: border-color .2s; }
.tv-list-item:hover { border-color: var(--primary); }
.tv-badge { background: var(--primary); color: #fff; font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 20px; font-weight: 600; margin-left: 0.5rem; }
.tv-meta { color: rgba(254,242,242,0.5); font-size: 0.85rem; }
.btn-tv-primary { background: var(--primary); border: none; padding: 0.7rem 1.8rem; border-radius: 50px; font-weight: 600; color: #fff; transition: background .2s; }
.btn-tv-primary:hover { background: #b91c1c; }
.btn-tv-outline { background: transparent; border: 1px solid var(--border); padding: 0.7rem 1.8rem; border-radius: 50px; color: var(--text); font-weight: 500; }
.btn-tv-outline:hover { border-color: var(--primary); color: var(--primary); }
.tv-tag { background: rgba(220,38,38,0.15); color: var(--accent); padding: 0.2rem 0.9rem; border-radius: 20px; font-size: 0.8rem; display: inline-block; margin-right: 0.5rem; }
.tv-ranking-number { font-weight: 900; color: var(--primary); font-size: 1.4rem; margin-right: 0.8rem; }
.tv-link { color: var(--text); text-decoration: none; font-weight: 500; }
.tv-link:hover { color: var(--primary); }

/* --- 子页面追加 --- */
background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(20, 16, 19, 0.9) 100%), url(' {随机图片}
.variety-hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to top, var(--bg), transparent);
        }
.variety-hero .hero-content {
            position: relative;
            z-index: 2;
        }
.variety-hero h1 {
            font-size: 3.2rem;
            font-weight: 900;
            color: var(--text);
            text-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
.variety-hero .hero-subtitle {
            font-size: 1.3rem;
            color: rgba(254, 242, 242, 0.85);
            max-width: 700px;
            margin: 0 auto 2rem;
            line-height: 1.6;
        }
.variety-category-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.8rem 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
            cursor: pointer;
        }
.variety-category-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary);
        }
.variety-category-card i {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.variety-category-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
.variety-category-card p {
            font-size: 0.9rem;
            color: rgba(254, 242, 242, 0.6);
            margin-bottom: 0;
        }
.variety-tag {
            display: inline-block;
            padding: 0.3rem 1rem;
            background: rgba(220, 38, 38, 0.15);
            border: 1px solid rgba(220, 38, 38, 0.3);
            border-radius: 20px;
            color: var(--accent);
            font-size: 0.85rem;
            font-weight: 500;
            margin: 0.3rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }
.variety-tag:hover {
            background: var(--primary);
            color: var(--text);
            border-color: var(--primary);
        }
.variety-feature-box {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2rem;
            height: 100%;
            transition: all 0.3s ease;
        }
.variety-feature-box:hover {
            box-shadow: var(--shadow-hover);
            border-color: var(--primary);
        }
.variety-feature-box .feature-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.variety-feature-box h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 1rem;
        }
.variety-feature-box p {
            color: rgba(254, 242, 242, 0.75);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.variety-feature-box ul {
            padding-left: 1.2rem;
            color: rgba(254, 242, 242, 0.75);
            line-height: 1.8;
        }
.variety-feature-box ul li {
            margin-bottom: 0.5rem;
        }
.variety-highlight-card {
            background: linear-gradient(145deg, rgba(220, 38, 38, 0.15), rgba(30, 22, 28, 0.9));
            border: 1px solid rgba(220, 38, 38, 0.3);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            transition: all 0.3s ease;
        }
.variety-highlight-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
.variety-highlight-card .badge-custom {
            background: var(--primary);
            color: var(--text);
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }
.variety-highlight-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.8rem;
        }
.variety-highlight-card p {
            font-size: 0.9rem;
            color: rgba(254, 242, 242, 0.7);
            margin-bottom: 0.5rem;
        }
.variety-highlight-card .rating {
            color: var(--accent);
            font-weight: 700;
            font-size: 1.1rem;
        }
.variety-highlight-card .update-time {
            color: rgba(254, 242, 242, 0.5);
            font-size: 0.8rem;
        }
.section-number {
            color: var(--primary);
            font-weight: 900;
            font-size: 1.5rem;
            margin-right: 0.8rem;
        }
.variety-breadcrumb {
            color: rgba(254, 242, 242, 0.6);
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }
.variety-breadcrumb a {
            color: var(--accent);
            text-decoration: none;
        }
.variety-breadcrumb a:hover {
            color: var(--primary);
        }
.variety-breadcrumb .separator {
            margin: 0 0.5rem;
            color: rgba(254, 242, 242, 0.3);
        }
.variety-cta {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius);
            padding: 3rem 2rem;
            text-align: center;
            margin: 4rem 0;
            position: relative;
            overflow: hidden;
        }
.variety-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
            animation: varietyPulse 4s ease infinite;
        }
.variety-cta h2 {
            font-size: 2rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 1rem;
            position: relative;
            z-index: 2;
        }
.variety-cta p {
            font-size: 1.1rem;
            color: rgba(254, 242, 242, 0.9);
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }
.variety-cta .btn-hero-primary {
            position: relative;
            z-index: 2;
        }
.variety-hero h1 {
                font-size: 2.2rem;
            }
.variety-hero .hero-subtitle {
                font-size: 1.1rem;
            }
.variety-cta h2 {
                font-size: 1.5rem;
            }

/* --- 子页面追加 --- */
.doc-hero {
            padding: 80px 0 60px;
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), transparent 60%);
        }
.doc-category {
            display: inline-block;
            padding: 6px 18px;
            margin: 4px;
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 0.875rem;
            color: var(--text);
            cursor: pointer;
            transition: all 0.3s ease;
            background: var(--card-bg);
        }
.doc-category:hover, .doc-category.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.doc-feature-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px;
            height: 100%;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
        }
.doc-feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.doc-feature-card .icon-wrap {
            font-size: 2.5rem;
            margin-bottom: 16px;
            color: var(--accent);
        }
.doc-tip {
            background: rgba(220, 38, 38, 0.1);
            border-left: 3px solid var(--primary);
            padding: 20px 24px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 24px 0;
        }
.doc-section-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 24px;
            position: relative;
            padding-left: 16px;
        }
.doc-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 4px;
            bottom: 4px;
            width: 4px;
            background: var(--primary);
            border-radius: 2px;
        }
.doc-hero {
                padding: 40px 0 30px;
            }
.doc-feature-card {
                padding: 24px;
                margin-bottom: 16px;
            }

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(220,38,38,0.15) 0%, rgba(20,16,19,0.9) 100%);
            padding: 80px 0 60px;
            border-bottom: 1px solid var(--border);
        }
.rank-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
.rank-hero p {
            color: rgba(254,242,242,0.75);
            font-size: 1.1rem;
            max-width: 680px;
            line-height: 1.8;
        }
.rank-tabs {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin: 40px 0 30px;
        }
.rank-tab {
            padding: 10px 24px;
            border-radius: 30px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            color: var(--text);
            font-weight: 500;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
.rank-tab:hover, .rank-tab.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }
.rank-section {
            padding: 50px 0;
        }
.rank-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
        }
.rank-section-header h2 {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text);
            margin: 0;
        }
.rank-section-header h2 i {
            color: var(--accent);
            margin-right: 10px;
        }
.rank-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }
.rank-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateX(4px);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary);
            margin-right: 20px;
            min-width: 50px;
            text-align: center;
            font-style: italic;
        }
.rank-number.top-3 {
            color: var(--accent);
            position: relative;
        }
.rank-number.top-3::after {
            content: "🔥";
            position: absolute;
            top: -8px;
            right: -10px;
            font-size: 1rem;
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
        }
.rank-meta {
            font-size: 0.85rem;
            color: rgba(254,242,242,0.6);
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
.rank-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
.rank-score {
            background: var(--primary);
            color: #fff;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.9rem;
            white-space: nowrap;
        }
.rank-badge {
            background: rgba(251,146,60,0.2);
            color: var(--accent);
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 500;
        }
.rank-desc {
            font-size: 0.9rem;
            color: rgba(254,242,242,0.7);
            line-height: 1.6;
            margin-top: 8px;
        }
.rank-update {
            font-size: 0.85rem;
            color: rgba(254,242,242,0.5);
            text-align: right;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }
.rank-update i {
            color: var(--primary);
            margin-right: 6px;
        }
.rank-hero h1 {
                font-size: 2rem;
            }
.rank-card {
                padding: 15px;
            }
.rank-number {
                font-size: 1.4rem;
                margin-right: 12px;
                min-width: 36px;
            }
.rank-section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
.rank-section-header h2 {
                font-size: 1.3rem;
            }
/* 覆盖 Bootstrap 组件默认配色 */
        .navbar, .navbar-brand, .nav-link, .navbar-toggler {
            background: transparent !important;
            color: var(--text) !important;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .about-hero {
            padding: 100px 0 60px;
            position: relative;
        }
.about-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
        }
.about-hero h1 span {
            color: var(--primary);
        }
.about-hero p {
            color: rgba(254, 242, 242, 0.7);
            font-size: 1.1rem;
            max-width: 700px;
            line-height: 1.8;
        }
.about-section {
            padding: 50px 0;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.about-card h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.about-card h2 i {
            color: var(--accent);
            font-size: 1.3rem;
        }
.about-card p, .about-card li {
            color: rgba(254, 242, 242, 0.8);
            line-height: 1.9;
            font-size: 0.95rem;
        }
.about-card ul {
            padding-left: 20px;
            margin-bottom: 15px;
        }
.about-card li {
            margin-bottom: 8px;
        }
.about-card strong {
            color: var(--text);
        }
.stat-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
.stat-item {
            text-align: center;
            padding: 20px 15px;
            background: rgba(220, 38, 38, 0.08);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }
.stat-item .num {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }
.stat-item .label {
            font-size: 0.85rem;
            color: rgba(254, 242, 242, 0.6);
            margin-top: 4px;
        }
.timeline {
            position: relative;
            padding-left: 30px;
            margin-top: 20px;
        }
.timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary), var(--accent));
        }
.timeline-item {
            position: relative;
            margin-bottom: 25px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--bg);
        }
.timeline-item h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
        }
.timeline-item p {
            font-size: 0.9rem;
            color: rgba(254, 242, 242, 0.7);
        }
.tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }
.tech-tag {
            background: rgba(220, 38, 38, 0.12);
            color: var(--accent);
            border: 1px solid rgba(220, 38, 38, 0.3);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 500;
        }
.about-hero h1 { font-size: 2rem; }
.about-hero { padding: 80px 0 40px; }
.stat-grid { grid-template-columns: 1fr; }
.about-card { padding: 22px; }

/* --- 子页面追加 --- */
/* 子页面专属微调，保持与首页风格一致 */
        .section { padding: 80px 0; }
.disclaimer-hero { background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(20,16,19,.9) 100%), var(--bg); padding: 60px 0; border-bottom: 1px solid var(--border); }
.disclaimer-hero h1 { font-weight: 800; color: var(--text); }
.disclaimer-hero .lead { color: rgba(254,242,242,.7); }
.disclaimer-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.disclaimer-card h2 { font-size: 1.6rem; font-weight: 700; color: var(--text); border-left: 4px solid var(--accent); padding-left: 1rem; margin-bottom: 1.2rem; }
.disclaimer-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--accent); margin-top: 1.5rem; margin-bottom: .5rem; }
.disclaimer-card p, .disclaimer-card li { color: rgba(254,242,242,.85); line-height: 1.7; }
.disclaimer-card ul { padding-left: 1.5rem; }
.disclaimer-card a { color: var(--accent); text-decoration: underline; }
.disclaimer-card a:hover { color: var(--primary); }
.highlight { color: var(--accent); font-weight: 600; }
.footer-link a { color: rgba(254,242,242,.7); text-decoration: none; }
.footer-link a:hover { color: var(--accent); }
.navbar .nav-link.active { color: var(--accent) !important; }

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