:root {
    --primary: #f472b6;
    --accent: #fbbf24;
    --bg: #fff5f7;
    --text: #4a2530;
    --white: #ffffff;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 8px 30px rgba(244, 114, 182, 0.12);
    --shadow-hover: 0 12px 40px rgba(244, 114, 182, 0.22);
    --font-title: 'Inter', 'PingFang SC', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-title);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
/* 导航栏 */
.navbar-custom {
    background: rgba(255, 245, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(244, 114, 182, 0.15);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(244, 114, 182, 0.15);
}
.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: 1px;
}
.navbar-custom .nav-link {
    font-weight: 600;
    color: var(--text);
    margin: 0 6px;
    padding: 6px 16px;
    border-radius: 50px;
    transition: all 0.3s;
}
.navbar-custom .nav-link:hover {
    background: rgba(244, 114, 182, 0.12);
    color: var(--primary);
}
.navbar-toggler {
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
}
/* Hero 区域 */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #2d1a20 0%, #4a2530 60%, #6b3a4a 100%);
    color: white;
    padding: 80px 0;
    margin-top: 70px;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('{随机图片}') center/cover no-repeat;
    opacity: 0.25;
    filter: blur(2px);
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}
.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 30px;
}
.hero-btn {
    background: var(--accent);
    color: #4a2530;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    color: #4a2530;
}
/* 区块通用 */
.section-padding { padding: 70px 0; }
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 10px;
}
.section-title-light {
    color: white;
}
/* 海报卡片 */
.movie-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
}
.movie-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.movie-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.movie-card-body {
    padding: 14px;
}
.movie-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}
.movie-card-rating {
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
}
/* 分类标签胶囊 */
.category-pill {
    display: inline-block;
    padding: 6px 20px;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    border: 1px solid rgba(244, 114, 182, 0.3);
    transition: all 0.3s;
    cursor: pointer;
    margin-right: 8px;
    margin-bottom: 8px;
}
.category-pill:hover, .category-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
/* 周榜 */
.rank-list {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.rank-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5e5e9;
    transition: background 0.2s;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: #fff0f3; border-radius: 12px; padding-left: 8px; }
.rank-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    margin-right: 14px;
    flex-shrink: 0;
}
.rank-badge.gold { background: #fbbf24; color: white; }
.rank-badge.silver { background: #a8a29e; color: white; }
.rank-badge.bronze { background: #d97706; color: white; }
.rank-badge.other { background: #f5e5e9; color: var(--text); }
.rank-info { flex-grow: 1; }
.rank-info h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.rank-info p { font-size: 0.8rem; color: #888; margin: 0; }
/* 对比表格 */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.compare-table th, .compare-table td {
    padding: 14px 20px;
    text-align: center;
}
.compare-table thead th {
    background: linear-gradient(135deg, var(--primary), #db2777);
    color: white;
    font-weight: 700;
    border: none;
}
.compare-table tbody tr:nth-child(even) { background: #fff5f7; }
.compare-table tbody tr:hover { background: #ffe4eb; }
.compare-table td:first-child { font-weight: 600; }
/* FAQ和清单 */
.faq-list { list-style: none; padding: 0; }
.faq-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed #f0d0d8;
}
.faq-list li:last-child { border-bottom: none; }
.faq-list li::before {
    content: '★';
    color: var(--accent);
    margin-right: 10px;
}
.number-list { list-style: none; padding: 0; counter-reset: num; }
.number-list li {
    counter-increment: num;
    padding: 8px 0;
    font-size: 0.95rem;
    padding-left: 36px;
    position: relative;
}
.number-list li::before {
    content: counter(num);
    position: absolute;
    left: 0;
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}
/* 区块淡入动画 */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 650px;
    width: 90%;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--bg);
    border: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text);
    transition: all 0.2s;
}
.modal-close:hover { background: var(--primary); color: white; }
.modal-poster {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.modal-info h3 { font-weight: 800; margin-bottom: 8px; color: var(--text); }
.modal-info .rating {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    padding: 4px 14px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 10px 0;
}
.modal-info p { font-size: 0.9rem; color: #555; margin-bottom: 6px; }
.modal-info .plot { margin-top: 12px; line-height: 1.7; }
/* 友链 */
.friend-links {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}
/* 页脚 */
.footer-custom {
    background: linear-gradient(135deg, #2d1a20, #4a2530);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 20px;
    margin-top: 70px;
}
.footer-custom a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-custom a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 30px; }
/* 响应式 */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0; margin-top: 56px; }
    .hero-title { font-size: 2.2rem; }
    .movie-card img { height: 200px; }
    .section-padding { padding: 50px 0; }
    .navbar-brand { font-size: 1.3rem !important; }
}

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底，确保与飘花影视配色一致 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(244, 114, 182, 0.2);
        }
.list-group-item {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(244, 114, 182, 0.2);
        }
.form-control, .form-select {
            background: var(--white);
            color: var(--text);
            border-color: rgba(244, 114, 182, 0.3);
        }
.form-control::placeholder {
            color: rgba(74, 37, 48, 0.5);
        }
/* 内联卡片阴影柔和 */
        .about-feature-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            box-shadow: var(--shadow-soft);
            transition: box-shadow .25s;
            height: 100%;
        }
.about-feature-card:hover {
            box-shadow: var(--shadow-hover);
        }
.about-feature-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: .75rem;
        }
.about-section-title {
            font-weight: 700;
            color: var(--text);
            letter-spacing: -0.01em;
        }
.about-highlight {
            color: var(--primary);
            font-weight: 600;
        }
.about-text-muted {
            color: rgba(74, 37, 48, 0.75);
        }
/* 导航栏高亮「关于我们」 */
        .navbar-nav .nav-link.active {
            color: var(--primary) !important;
            font-weight: 700;
        }

/* --- 子页面追加 --- */
.disclaimer-section { background: var(--bg); }
.disclaimer-box { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-soft); margin-bottom: 2rem; }
.disclaimer-box h2 { color: var(--primary); font-weight: 800; font-size: 1.5rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.disclaimer-box h2 i { color: var(--accent); }
.disclaimer-box p { color: var(--text); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.disclaimer-box ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.disclaimer-box li { color: var(--text); line-height: 1.8; margin-bottom: 0.5rem; font-size: 0.95rem; }
.disclaimer-box li::marker { color: var(--primary); }
.disclaimer-highlight { background: linear-gradient(135deg, rgba(244,114,182,0.08), rgba(251,191,36,0.08)); border-left: 4px solid var(--primary); padding: 1.2rem 1.5rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 1.5rem 0; }
.disclaimer-highlight p { margin-bottom: 0; }
.contact-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--bg); padding: 0.5rem 1.2rem; border-radius: 50px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.hero-title-disclaimer { color: var(--primary); }
.hero-subtitle-disclaimer { color: var(--text); opacity: 0.8; }

/* --- 子页面追加 --- */
.guide-hero {
            background: linear-gradient(135deg, var(--primary) 0%, #ec4899 50%, var(--accent) 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.guide-hero::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
        }
.guide-hero-title {
            color: var(--white);
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
.guide-hero-sub {
            color: rgba(255,255,255,0.9);
            font-size: 1.2rem;
            max-width: 700px;
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }
.guide-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid rgba(244, 114, 182, 0.1);
        }
.guide-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
.guide-card-icon {
            width: 60px;
            height: 60px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: var(--white);
        }
.guide-card-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
            font-family: var(--font-title);
        }
.guide-card-text {
            color: #7a5560;
            font-size: 0.95rem;
            line-height: 1.7;
            font-family: var(--font-title);
        }
.step-section {
            background: var(--bg);
            padding: 70px 0;
            border-radius: var(--radius-lg);
            margin: 40px 0;
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--white);
            font-weight: 800;
            font-size: 1.1rem;
            margin-right: 15px;
            font-family: var(--font-title);
        }
.faq-item {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 20px 25px;
            margin-bottom: 15px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(244, 114, 182, 0.08);
        }
.faq-question {
            font-weight: 700;
            color: var(--text);
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--font-title);
        }
.faq-question i {
            color: var(--primary);
            transition: transform 0.3s;
        }
.faq-answer {
            color: #7a5560;
            font-size: 0.92rem;
            line-height: 1.7;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(244, 114, 182, 0.1);
            font-family: var(--font-title);
        }
.tips-list {
            list-style: none;
            padding: 0;
        }
.tips-list li {
            padding: 10px 0;
            padding-left: 30px;
            position: relative;
            color: var(--text);
            font-size: 0.95rem;
            line-height: 1.6;
            font-family: var(--font-title);
        }
.tips-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: 800;
        }
.shortcut-box {
            background: var(--bg);
            border-radius: var(--radius-md);
            padding: 25px;
            border: 2px dashed var(--primary);
            margin: 20px 0;
        }
.shortcut-title {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 15px;
            font-family: var(--font-title);
        }
.shortcut-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
        }
.shortcut-item {
            background: var(--white);
            border-radius: var(--radius-sm);
            padding: 12px 16px;
            font-size: 0.88rem;
            color: var(--text);
            box-shadow: var(--shadow-soft);
            font-family: var(--font-title);
            border: 1px solid rgba(244, 114, 182, 0.1);
        }
.shortcut-item strong {
            color: var(--primary);
            display: block;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }