:root {
        --main-color: #f472b6;
        --accent-color: #fbbf24;
        --bg-color: #fff5f7;
        --text-color: #4a2530;
        --shadow-heavy: 0 12px 30px rgba(74, 37, 48, 0.25), 0 4px 10px rgba(74, 37, 48, 0.15);
        --shadow-medium: 0 6px 18px rgba(74, 37, 48, 0.18);
        --shadow-light: 0 2px 8px rgba(74, 37, 48, 0.08);
        --card-radius: 14px;
        --gradient-main: linear-gradient(135deg, #f472b6 0%, #fbbf24 100%);
        --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
        --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
        background-color: var(--bg-color);
        color: var(--text-color);
        font-family: var(--font-sans);
        line-height: 1.6;
    }

    h1, h2, h3, h4, h5, .brand-font {
        font-family: var(--font-serif);
    }

    a { text-decoration: none; color: inherit; }

    /* 导航栏 */
    .custom-navbar {
        background: rgba(255, 245, 247, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: var(--shadow-medium);
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 0.8rem 0;
        border-bottom: 2px solid rgba(244, 114, 182, 0.2);
    }

    .navbar-brand-custom {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--main-color);
        text-shadow: 2px 2px 4px rgba(244, 114, 182, 0.3);
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-link-custom {
        color: var(--text-color);
        font-weight: 500;
        margin: 0 0.4rem;
        padding: 0.5rem 1rem !important;
        border-radius: 30px;
        transition: all 0.3s ease;
        font-size: 0.95rem;
    }

    .nav-link-custom:hover {
        background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(251, 191, 36, 0.2));
        color: var(--main-color);
        transform: translateY(-2px);
    }

    .navbar-toggler {
        border: 2px solid var(--main-color);
        color: var(--main-color);
    }

    /* Hero 区 */
    .hero-section {
        position: relative;
        background: linear-gradient(135deg, #fce7f3 0%, #fff5f7 40%, #fef3c7 100%);
        padding: 3.5rem 0 4rem;
        overflow: hidden;
    }

    .hero-bg-parallax {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="8" fill="%23f472b6" opacity="0.1"/><circle cx="80" cy="30" r="12" fill="%23fbbf24" opacity="0.1"/><circle cx="30" cy="80" r="10" fill="%23f472b6" opacity="0.08"/><circle cx="90" cy="90" r="6" fill="%23fbbf24" opacity="0.12"/><circle cx="60" cy="10" r="4" fill="%23f472b6" opacity="0.15"/></svg>');
        background-size: 300px 300px;
        transform: translateY(0);
        will-change: transform;
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 3.2rem;
        font-weight: 900;
        background: linear-gradient(135deg, #f472b6, #d9466f, #fbbf24);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1.2rem;
        text-shadow: 3px 3px 6px rgba(244, 114, 182, 0.2);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        color: #6b3a4b;
        max-width: 700px;
        margin: 0 auto 2rem;
        font-weight: 400;
    }

    .keyword-cloud {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin: 1.5rem auto 2.5rem;
        max-width: 800px;
    }

    .keyword-tag {
        padding: 8px 20px;
        background: white;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-color);
        box-shadow: var(--shadow-light);
        transition: all 0.3s ease;
        border: 2px solid transparent;
        animation: float 3s ease-in-out infinite;
    }

    .keyword-tag:nth-child(2n) { animation-delay: 0.5s; }
    .keyword-tag:nth-child(3n) { animation-delay: 1s; }
    .keyword-tag:nth-child(4n) { animation-delay: 1.5s; }
    .keyword-tag:nth-child(5n) { animation-delay: 2s; }

    .keyword-tag:hover {
        background: var(--gradient-main);
        color: white;
        transform: translateY(-4px) scale(1.05);
        border-color: white;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    /* 区块 */
    .section-block {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
        color: var(--text-color);
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--gradient-main);
        border-radius: 4px;
    }

    .section-subtitle {
        color: #8a5a6b;
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    /* 影片卡片 */
    .movie-card {
        background: white;
        border-radius: var(--card-radius);
        overflow: hidden;
        box-shadow: var(--shadow-heavy);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
        position: relative;
        border: 1px solid rgba(244, 114, 182, 0.1);
        height: 100%;
        transform-style: preserve-3d;
    }

    .movie-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(74, 37, 48, 0.3), 0 8px 16px rgba(244, 114, 182, 0.15);
    }

    .movie-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s;
        transform-style: preserve-3d;
    }

    .movie-card.flipped .movie-card-inner {
        transform: rotateY(180deg);
    }

    .movie-card-front, .movie-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        border-radius: var(--card-radius);
        overflow: hidden;
    }

    .movie-card-front {
        background: white;
    }

    .movie-card-back {
        background: linear-gradient(145deg, #2d1b2d, #4a2530);
        color: #ffe4ef;
        transform: rotateY(180deg);
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .movie-card-back h5 {
        color: #fbbf24;
        font-weight: 700;
        margin-bottom: 8px;
        font-size: 1.2rem;
    }

    .movie-card-back .meta {
        font-size: 0.8rem;
        margin-bottom: 4px;
        color: #fce7f3;
    }

    .movie-card-back .plot {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-top: 8px;
        color: #f1d4df;
        max-height: 90px;
        overflow-y: auto;
    }

    .movie-card-back .close-card {
        position: absolute;
        top: 10px;
        right: 12px;
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .movie-card-back .close-card:hover {
        background: var(--main-color);
        transform: rotate(90deg);
    }

    .movie-poster {
        position: relative;
        height: 260px;
        overflow: hidden;
        background: linear-gradient(145deg, #fce7f3, #fef3c7);
    }

    .movie-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .movie-card:hover .movie-poster img {
        transform: scale(1.08);
    }

    .rating-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.75);
        color: #fbbf24;
        padding: 4px 10px;
        border-radius: 30px;
        font-size: 0.85rem;
        font-weight: 700;
        backdrop-filter: blur(4px);
        z-index: 2;
    }

    .badge-4k {
        position: absolute;
        top: 10px;
        left: 10px;
        background: linear-gradient(135deg, #f472b6, #fbbf24);
        color: white;
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 1px;
        z-index: 2;
    }

    .movie-info {
        padding: 14px;
        background: white;
    }

    .movie-title {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--text-color);
    }

    .movie-meta {
        font-size: 0.8rem;
        color: #8a5a6b;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 榜单 */
    .rank-list {
        background: white;
        border-radius: var(--card-radius);
        box-shadow: var(--shadow-heavy);
        padding: 20px;
        margin-bottom: 20px;
    }

    .rank-item {
        display: flex;
        align-items: center;
        padding: 10px 8px;
        border-bottom: 1px solid #fce7f3;
        transition: all 0.3s;
        border-radius: 10px;
    }

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

    .rank-item:hover {
        background: linear-gradient(135deg, rgba(244, 114, 182, 0.08), rgba(251, 191, 36, 0.08));
        transform: translateX(6px);
    }

    .rank-number {
        font-size: 1.5rem;
        font-weight: 900;
        width: 45px;
        text-align: center;
        font-family: var(--font-serif);
    }

    .rank-number.gold { color: #fbbf24; text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3); }
    .rank-number.silver { color: #a0aec0; }
    .rank-number.bronze { color: #cd7f32; }
    .rank-number.normal { color: #cbd5e0; font-size: 1.1rem; }

    .rank-info {
        flex: 1;
        padding: 0 12px;
    }

    .rank-title {
        font-weight: 600;
        font-size: 0.95rem;
    }

    .rank-sub {
        font-size: 0.8rem;
        color: #8a5a6b;
    }

    .rank-score {
        font-weight: 800;
        color: var(--main-color);
        font-size: 1.1rem;
    }

    /* 分类标签 */
    .category-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 2rem;
        justify-content: center;
    }

    .category-pill {
        padding: 8px 18px;
        background: white;
        border: 2px solid #fce7f3;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .category-pill:hover, .category-pill.active {
        background: var(--gradient-main);
        color: white;
        border-color: transparent;
        box-shadow: var(--shadow-medium);
        transform: translateY(-3px);
    }

    /* 专题 */
    .theme-card {
        background: white;
        border-radius: var(--card-radius);
        padding: 30px;
        box-shadow: var(--shadow-medium);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(244, 114, 182, 0.15);
    }

    .theme-card::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 100px;
        height: 100px;
        background: var(--gradient-main);
        border-radius: 50%;
        opacity: 0.15;
    }

    /* 步骤条 */
    .steps-wrapper {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 2rem 0;
    }

    .step-item {
        flex: 1;
        min-width: 200px;
        text-align: center;
        padding: 20px 15px;
        position: relative;
    }

    .step-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--gradient-main);
        color: white;
        font-size: 1.4rem;
        font-weight: 800;
        margin-bottom: 15px;
        box-shadow: var(--shadow-medium);
        font-family: var(--font-serif);
    }

    .step-title {
        font-weight: 700;
        margin-bottom: 6px;
    }

    .step-desc {
        font-size: 0.85rem;
        color: #8a5a6b;
    }

    /* FAQ */
    .faq-item {
        background: white;
        border-radius: 14px;
        padding: 20px 24px;
        margin-bottom: 12px;
        box-shadow: var(--shadow-light);
        border-left: 4px solid var(--main-color);
        transition: all 0.3s;
    }

    .faq-item:hover {
        box-shadow: var(--shadow-medium);
        transform: translateX(4px);
    }

    .faq-question {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 6px;
        color: var(--text-color);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .faq-answer {
        font-size: 0.9rem;
        color: #6b3a4b;
        line-height: 1.7;
    }

    /* 友情链接 */
    .friend-links {
        background: white;
        border-radius: var(--card-radius);
        padding: 30px;
        box-shadow: var(--shadow-medium);
    }

    .friend-link-item {
        display: inline-block;
        padding: 6px 16px;
        margin: 6px;
        background: var(--bg-color);
        border-radius: 30px;
        font-size: 0.85rem;
        transition: all 0.3s;
    }

    .friend-link-item:hover {
        background: var(--gradient-main);
        color: white;
        transform: translateY(-2px);
    }

    /* 页脚 */
    .custom-footer {
        background: linear-gradient(145deg, #2d1b2d, #4a2530);
        color: #fce7f3;
        padding: 3rem 0 2rem;
        margin-top: 4rem;
    }

    .footer-title {
        font-size: 1.6rem;
        font-weight: 800;
        color: #fbbf24;
        margin-bottom: 1rem;
    }

    .footer-link {
        color: #f1d4df;
        transition: all 0.3s;
        margin: 0 10px;
    }

    .footer-link:hover {
        color: #fbbf24;
        text-decoration: none;
    }

    .footer-copyright {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 1.5rem;
        margin-top: 2rem;
        text-align: center;
        font-size: 0.85rem;
    }

    /* 滚动动效 */
    .fade-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* 按钮光泽扫过效果 */
    .btn-shine {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .btn-shine::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 50%;
        height: 200%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
        transform: rotate(45deg) translateX(-100%);
        transition: all 0.5s ease;
        z-index: -1;
    }

    .btn-shine:hover::after {
        transform: rotate(45deg) translateX(200%);
    }

    /* 响应式 */
    @media (max-width: 768px) {
        .hero-title { font-size: 2.2rem; }
        .movie-poster { height: 220px; }
        .steps-wrapper { flex-direction: column; }
        .section-title { font-size: 1.6rem; }
    }

    @media (max-width: 576px) {
        .hero-title { font-size: 1.8rem; }
        .movie-poster { height: 260px; }
    }

    /* 加载动画 */
    .loading-bar {
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--main-color), transparent);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        animation: loading 2s infinite;
        display: none;
    }

    @keyframes loading {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    /* 滚动条美化 */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg-color); }
    ::-webkit-scrollbar-thumb { background: linear-gradient(var(--main-color), var(--accent-color)); border-radius: 4px; }

    /* 卡片网格密集排版 */
    .movie-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    @media (max-width: 576px) {
        .movie-grid {
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 10px;
        }
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字 */
        .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: transparent;
            color: var(--text-color);
            border-color: rgba(244, 114, 182, 0.3);
        }
.navbar, .custom-navbar {
            background-color: var(--bg-color) !important;
            border-bottom: 1px solid rgba(244, 114, 182, 0.2);
        }
.nav-link-custom, .navbar-brand-custom {
            color: var(--text-color) !important;
        }
.nav-link-custom:hover, .nav-link-custom.active {
            color: var(--main-color) !important;
        }
.navbar-toggler i {
            color: var(--main-color);
        }
/* 让卡片背景融合 */
        .about-card {
            background: rgba(255, 245, 247, 0.65);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(244, 114, 182, 0.25);
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-light);
            padding: 2rem 1.8rem;
            transition: box-shadow 0.3s ease;
        }
.about-card:hover {
            box-shadow: var(--shadow-medium);
        }
.about-card h2, .about-card h3 {
            color: var(--text-color);
            font-weight: 700;
            letter-spacing: -0.02em;
        }
.about-card h2 i {
            color: var(--main-color);
        }
.about-card p, .about-card li {
            color: var(--text-color);
            opacity: 0.85;
            line-height: 1.8;
        }
.about-card strong {
            color: var(--main-color);
            font-weight: 700;
        }
.about-card .highlight {
            background: linear-gradient(120deg, rgba(244,114,182,0.12) 0%, rgba(251,191,36,0.12) 100%);
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            font-weight: 600;
        }
.feature-icon {
            font-size: 2.2rem;
            color: var(--main-color);
            margin-bottom: 0.75rem;
        }
.section-spacer {
            margin-top: 2.5rem;
            margin-bottom: 2rem;
        }
/* 页脚链接颜色 */
        footer a {
            color: var(--text-color);
            opacity: 0.8;
            text-decoration: none;
        }
footer a:hover {
            color: var(--main-color);
            opacity: 1;
        }
/* 排名/清单样式 */
        .about-list {
            list-style: none;
            padding-left: 0;
        }
.about-list li {
            padding: 0.4rem 0;
            border-bottom: 1px dashed rgba(244, 114, 182, 0.25);
        }
.about-list li:last-child {
            border-bottom: none;
        }

/* --- 子页面追加 --- */
/* 确保页面背景与字体继承站点变量 */
        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: var(--font-sans);
        }
/* 针对免责声明内容区的自定义间距/卡片感，但不破坏整体风格 */
        .disclaimer-content {
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(4px);
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-light);
            padding: 2.2rem 2rem;
            border: 1px solid rgba(244, 114, 182, 0.2);
        }
.disclaimer-content h2, .disclaimer-content h3 {
            color: var(--main-color);
            font-weight: 600;
            margin-top: 1.8rem;
            margin-bottom: 1rem;
            border-left: 4px solid var(--accent-color);
            padding-left: 0.75rem;
        }
.disclaimer-content p {
            line-height: 1.8;
            color: var(--text-color);
        }
.disclaimer-content a {
            color: var(--main-color);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
.disclaimer-content a:hover {
            color: var(--accent-color);
        }
.badge-soft-custom {
            background: var(--gradient-main);
            color: white;
            font-size: 0.8rem;
            padding: 0.3rem 0.9rem;
            border-radius: 30px;
            font-weight: 500;
        }
/* 确保导航高亮当前页（免责声明） */
        .navbar .nav-link.active-disclaimer {
            color: var(--accent-color) !important;
            font-weight: 600;
        }
/* 微调footer */
        .footer-link-custom {
            color: var(--text-color);
            opacity: 0.8;
            transition: 0.2s;
        }
.footer-link-custom:hover {
            opacity: 1;
            color: var(--main-color);
        }