:root{
    --primary:#2563eb;
    --accent:#06b6d4;
    --bg:#f4f8ff;
    --text:#0f1e3d;
    --radius-lg:24px;
    --radius-md:16px;
    --radius-sm:10px;
    --shadow-soft:0 12px 40px rgba(37,99,235,0.08), 0 4px 12px rgba(15,30,61,0.04);
    --shadow-hover:0 20px 48px rgba(37,99,235,0.14), 0 8px 20px rgba(15,30,61,0.08);
}
*{margin:0;padding:0;box-sizing:border-box;}
body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
    line-height:1.7;
    overflow-x:hidden;
}
h1,h2,h3,h4,h5{
    font-family:'Inter',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
    font-weight:800;
    letter-spacing:-0.02em;
}
.hero-font{
    font-family:'Kaiti SC','STKaiti','KaiTi',cursive;
    font-weight:900;
}
a{text-decoration:none;color:inherit;transition:all .3s ease;}
img{max-width:100%;display:block;}

/* ===== 导航栏 ===== */
.navbar-custom{
    background:rgba(244,248,255,0.85);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(37,99,235,0.08);
    padding:1rem 0;
    position:sticky;
    top:0;
    z-index:1000;
}
.navbar-brand{
    font-size:1.8rem;
    font-weight:900;
    color:var(--primary);
    display:flex;
    align-items:center;
    gap:0.5rem;
}
.navbar-brand i{
    color:var(--accent);
    font-size:1.6rem;
}
.nav-link-custom{
    font-weight:600;
    color:var(--text);
    padding:0.5rem 1rem !important;
    border-radius:50px;
    transition:all .3s;
}
.nav-link-custom:hover{
    color:var(--primary);
    background:rgba(37,99,235,0.08);
}
.navbar-toggler{
    border:none;
    font-size:1.5rem;
    color:var(--primary);
}
.navbar-toggler:focus{box-shadow:none;}

/* ===== Hero 区域 ===== */
.hero-section{
    padding:5rem 0 4rem;
    position:relative;
    overflow:hidden;
}
.hero-section::before{
    content:'';
    position:absolute;
    top:-30%;
    right:-10%;
    width:500px;
    height:500px;
    background:radial-gradient(circle,rgba(6,182,212,0.1),transparent 60%);
    border-radius:50%;
    z-index:0;
}
.hero-content{
    position:relative;
    z-index:1;
    max-width:900px;
    margin:0 auto;
    text-align:center;
}
.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    background:rgba(37,99,235,0.1);
    color:var(--primary);
    padding:0.4rem 1.2rem;
    border-radius:50px;
    font-weight:600;
    font-size:0.9rem;
    margin-bottom:1.5rem;
}
.hero-title{
    font-size:3.5rem;
    font-weight:900;
    margin-bottom:1.5rem;
    line-height:1.2;
    color:var(--text);
    min-height:120px;
}
.hero-title .typed{
    color:var(--primary);
    position:relative;
}
.hero-title .typed::after{
    content:'|';
    animation:blink 0.8s infinite;
    color:var(--accent);
}
@keyframes blink{
    0%,50%{opacity:1;}
    51%,100%{opacity:0;}
}
.hero-subtitle{
    font-size:1.2rem;
    color:#5a6b8c;
    max-width:600px;
    margin:0 auto 2rem;
    font-weight:400;
}
.hero-cta{
    display:flex;
    gap:1rem;
    justify-content:center;
    flex-wrap:wrap;
}
.btn-hero{
    padding:0.8rem 2rem;
    border-radius:50px;
    font-weight:700;
    font-size:1rem;
    border:none;
    transition:all .3s;
}
.btn-primary-hero{
    background:var(--primary);
    color:#fff;
    box-shadow:0 8px 24px rgba(37,99,235,0.3);
}
.btn-primary-hero:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
    box-shadow:0 12px 32px rgba(37,99,235,0.4);
}
.btn-outline-hero{
    background:transparent;
    color:var(--primary);
    border:2px solid var(--primary);
}
.btn-outline-hero:hover{
    background:var(--primary);
    color:#fff;
}

/* ===== 区块通用 ===== */
.section-block{
    padding:4rem 0;
}
.section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:2.5rem;
    flex-wrap:wrap;
    gap:1rem;
}
.section-title{
    font-size:2rem;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:0.8rem;
    color:var(--text);
}
.section-title i{
    color:var(--primary);
    font-size:1.8rem;
}
.section-link{
    color:var(--primary);
    font-weight:600;
    display:flex;
    align-items:center;
    gap:0.3rem;
}
.section-link:hover{
    color:var(--accent);
    gap:0.6rem;
}

/* ===== 轮播区域 ===== */
.carousel-section{
    padding:2rem 0 1rem;
}
.carousel-custom{
    border-radius:var(--radius-lg);
    overflow:hidden;
    box-shadow:var(--shadow-soft);
}
.carousel-item{
    height:450px;
    position:relative;
}
.carousel-bg{
    width:100%;
    height:100%;
    object-fit:cover;
}
.carousel-overlay{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:70%;
    background:linear-gradient(to top,rgba(15,30,61,0.9),transparent);
    display:flex;
    align-items:flex-end;
    padding:3rem;
}
.carousel-content{
    color:#fff;
    max-width:600px;
}
.carousel-content h2{
    font-size:2.5rem;
    font-weight:800;
    margin-bottom:0.5rem;
    text-shadow:0 2px 20px rgba(0,0,0,0.3);
}
.carousel-content p{
    font-size:1.1rem;
    opacity:0.9;
    margin-bottom:1rem;
}
.carousel-badge{
    display:inline-block;
    background:var(--accent);
    color:#fff;
    padding:0.2rem 1rem;
    border-radius:50px;
    font-size:0.8rem;
    font-weight:700;
    margin-bottom:0.8rem;
}
.carousel-indicators [data-bs-target]{
    background:var(--accent);
    width:12px;
    height:12px;
    border-radius:50%;
}
.carousel-control-prev,.carousel-control-next{
    width:8%;
    background:rgba(15,30,61,0.2);
    border-radius:0 20px 20px 0;
}
.carousel-control-next{
    border-radius:20px 0 0 20px;
}

/* ===== 横向滚动海报区 ===== */
.hscroll-wrapper{
    position:relative;
}
.hscroll-container{
    display:flex;
    overflow-x:auto;
    gap:1.5rem;
    padding-bottom:1rem;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
}
.hscroll-container::-webkit-scrollbar{
    height:8px;
}
.hscroll-container::-webkit-scrollbar-track{
    background:rgba(37,99,235,0.05);
    border-radius:10px;
}
.hscroll-container::-webkit-scrollbar-thumb{
    background:rgba(37,99,235,0.2);
    border-radius:10px;
}
.hscroll-container::-webkit-scrollbar-thumb:hover{
    background:rgba(37,99,235,0.4);
}
.scroll-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border-radius:50%;
    background:#fff;
    box-shadow:var(--shadow-soft);
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:10;
    transition:all .3s;
    color:var(--primary);
}
.scroll-btn:hover{
    background:var(--primary);
    color:#fff;
}
.scroll-btn-left{left:-10px;}
.scroll-btn-right{right:-10px;}

/* ===== 影片卡片 ===== */
.movie-card{
    min-width:200px;
    width:200px;
    background:#fff;
    border-radius:var(--radius-md);
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    cursor:pointer;
    transition:all .4s cubic-bezier(0.4,0,0.2,1);
    position:relative;
    flex-shrink:0;
    border:1px solid rgba(37,99,235,0.06);
}
.movie-card:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:var(--shadow-hover);
}
.movie-poster{
    position:relative;
    width:100%;
    height:280px;
    overflow:hidden;
}
.movie-poster img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}
.movie-card:hover .movie-poster img{
    transform:scale(1.1);
}
.poster-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:rgba(15,30,61,0.8);
    color:#fff;
    padding:0.2rem 0.6rem;
    border-radius:8px;
    font-size:0.7rem;
    font-weight:700;
    backdrop-filter:blur(4px);
    z-index:2;
}
.poster-rating{
    position:absolute;
    top:10px;
    right:10px;
    background:rgba(255,193,7,0.9);
    color:var(--text);
    padding:0.2rem 0.6rem;
    border-radius:8px;
    font-size:0.75rem;
    font-weight:800;
    backdrop-filter:blur(4px);
    z-index:2;
    display:flex;
    align-items:center;
    gap:0.2rem;
}
.poster-rating i{
    color:#ff6b00;
}
.poster-overlay{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background:linear-gradient(to top,rgba(15,30,61,0.95),rgba(15,30,61,0.7),transparent);
    padding:1rem;
    opacity:0;
    transition:opacity .4s;
    display:flex;
    flex-direction:column;
    gap:0.3rem;
}
.movie-card:hover .poster-overlay{
    opacity:1;
}
.poster-overlay .overlay-title{
    color:#fff;
    font-weight:700;
    font-size:0.95rem;
    line-height:1.3;
}
.poster-overlay .overlay-meta{
    color:rgba(255,255,255,0.8);
    font-size:0.75rem;
    display:flex;
    gap:0.5rem;
    align-items:center;
}
.movie-info{
    padding:0.8rem;
}
.movie-title{
    font-weight:700;
    font-size:0.95rem;
    margin-bottom:0.2rem;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.movie-meta{
    color:#7a8aaa;
    font-size:0.8rem;
    display:flex;
    gap:0.5rem;
    align-items:center;
}

/* ===== 分类海报矩阵 ===== */
.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
    gap:1.5rem;
}
.matrix-card{
    position:relative;
    border-radius:var(--radius-md);
    overflow:hidden;
    cursor:pointer;
    aspect-ratio:2/3;
    box-shadow:var(--shadow-soft);
    transition:all .4s;
}
.matrix-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s;
}
.matrix-card:hover img{
    transform:scale(1.08);
}
.matrix-overlay{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:1.5rem 1rem 1rem;
    background:linear-gradient(to top,rgba(15,30,61,0.9),transparent);
    color:#fff;
    opacity:0;
    transition:opacity .3s;
}
.matrix-card:hover .matrix-overlay{
    opacity:1;
}
.matrix-overlay .matrix-title{
    font-weight:700;
    font-size:0.9rem;
    margin-bottom:0.2rem;
}
.matrix-overlay .matrix-meta{
    font-size:0.75rem;
    opacity:0.8;
}

/* ===== 排行榜 ===== */
.rank-section{
    background:linear-gradient(135deg,rgba(37,99,235,0.03),rgba(6,182,212,0.03));
    border-radius:var(--radius-lg);
    padding:2.5rem;
    box-shadow:var(--shadow-soft);
}
.rank-item{
    display:flex;
    align-items:center;
    gap:1rem;
    padding:1rem;
    border-radius:var(--radius-md);
    transition:all .3s;
    background:#fff;
    margin-bottom:0.8rem;
    border:1px solid rgba(37,99,235,0.06);
}
.rank-item:hover{
    background:var(--primary);
    color:#fff;
    transform:translateX(6px);
}
.rank-number{
    font-size:1.8rem;
    font-weight:900;
    min-width:60px;
    text-align:center;
    color:var(--primary);
    opacity:0.6;
}
.rank-item:hover .rank-number{
    color:#fff;
    opacity:1;
}
.rank-poster{
    width:60px;
    height:84px;
    border-radius:8px;
    object-fit:cover;
    flex-shrink:0;
}
.rank-info{
    flex:1;
}
.rank-info h5{
    font-weight:700;
    font-size:1rem;
    margin-bottom:0.2rem;
}
.rank-info p{
    font-size:0.8rem;
    opacity:0.7;
    margin-bottom:0;
}
.rank-score{
    font-weight:800;
    font-size:1.2rem;
    color:var(--accent);
}
.rank-item:hover .rank-score{
    color:#fff;
}
.rank-heat{
    background:var(--accent);
    color:#fff;
    padding:0.2rem 0.6rem;
    border-radius:8px;
    font-size:0.7rem;
    font-weight:700;
}

/* ===== 观影指南 ===== */
.guide-section{
    background:#fff;
    border-radius:var(--radius-lg);
    padding:2.5rem;
    box-shadow:var(--shadow-soft);
}
.guide-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:2rem;
}
.guide-step{
    display:flex;
    gap:1rem;
    margin-bottom:1.5rem;
}
.step-number{
    background:var(--primary);
    color:#fff;
    min-width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:1rem;
    flex-shrink:0;
}
.step-content h5{
    font-weight:700;
    margin-bottom:0.3rem;
}
.step-content p{
    color:#5a6b8c;
    font-size:0.9rem;
}

/* ===== 心情选片 ===== */
.mood-tags{
    display:flex;
    flex-wrap:wrap;
    gap:0.8rem;
    margin-bottom:1.5rem;
}
.mood-tag{
    padding:0.5rem 1.5rem;
    border-radius:50px;
    background:#fff;
    border:2px solid rgba(37,99,235,0.2);
    font-weight:600;
    cursor:pointer;
    transition:all .3s;
    font-size:0.9rem;
}
.mood-tag:hover,.mood-tag.active{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}
.mood-recommendations{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:1rem;
}

/* ===== 主题观影专题 ===== */
.theme-section{
    background:linear-gradient(135deg,var(--primary),var(--accent));
    border-radius:var(--radius-lg);
    padding:2.5rem;
    color:#fff;
    box-shadow:0 20px 60px rgba(37,99,235,0.3);
}
.theme-title{
    font-size:1.8rem;
    font-weight:800;
    margin-bottom:1rem;
}
.theme-desc{
    opacity:0.9;
    max-width:700px;
    margin-bottom:2rem;
    line-height:1.8;
}

/* ===== 对比表格 ===== */
.compare-table{
    background:#fff;
    border-radius:var(--radius-md);
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    margin-top:2rem;
}
.compare-table table{
    width:100%;
    border-collapse:collapse;
}
.compare-table th{
    background:var(--primary);
    color:#fff;
    padding:1rem;
    text-align:left;
    font-weight:700;
    font-size:0.9rem;
}
.compare-table td{
    padding:1rem;
    border-bottom:1px solid rgba(37,99,235,0.08);
    font-size:0.9rem;
}
.compare-table tr:last-child td{
    border-bottom:none;
}
.compare-table tr:hover td{
    background:rgba(37,99,235,0.03);
}

/* ===== 弹窗 ===== */
.modal-custom{
    display:none;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(15,30,61,0.7);
    backdrop-filter:blur(8px);
    z-index:2000;
    align-items:center;
    justify-content:center;
    padding:1rem;
}
.modal-custom.active{
    display:flex;
    animation:fadeIn .3s ease;
}
.modal-content-custom{
    background:#fff;
    border-radius:var(--radius-lg);
    max-width:800px;
    width:100%;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    position:relative;
    max-height:90vh;
    overflow-y:auto;
    animation:slideUp .4s ease;
}
@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}
@keyframes slideUp{
    from{transform:translateY(40px);opacity:0;}
    to{transform:translateY(0);opacity:1;}
}
.modal-close{
    position:absolute;
    top:16px;
    right:16px;
    background:rgba(255,255,255,0.9);
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:10;
    border:none;
    box-shadow:0 4px 16px rgba(0,0,0,0.1);
    transition:all .3s;
}
.modal-close:hover{
    background:var(--primary);
    color:#fff;
    transform:rotate(90deg);
}
.modal-inner{
    display:flex;
    gap:2rem;
    padding:2rem;
    flex-direction:column;
}
@media(min-width:768px){
    .modal-inner{
        flex-direction:row;
    }
}
.modal-poster{
    flex-shrink:0;
}
.modal-poster img{
    width:280px;
    height:400px;
    object-fit:cover;
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-soft);
}
.modal-info{
    flex:1;
}
.modal-info h3{
    font-size:1.8rem;
    font-weight:800;
    margin-bottom:1rem;
}
.modal-tags{
    display:flex;
    flex-wrap:wrap;
    gap:0.5rem;
    margin-bottom:1.5rem;
}
.modal-tag{
    background:rgba(37,99,235,0.1);
    color:var(--primary);
    padding:0.2rem 0.8rem;
    border-radius:20px;
    font-size:0.8rem;
    font-weight:600;
}
.modal-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:0.8rem;
    margin-bottom:1.5rem;
}
.modal-detail-item{
    font-size:0.9rem;
}
.modal-detail-item strong{
    color:var(--primary);
    margin-right:0.4rem;
}
.modal-plot{
    color:#5a6b8c;
    line-height:1.8;
    margin-bottom:1.5rem;
    font-size:0.95rem;
}

/* ===== 友情链接 ===== */
.friendship-section{
    padding:3rem 0;
    border-top:1px solid rgba(37,99,235,0.08);
}
.friendship-inner{
    background:#fff;
    border-radius:var(--radius-lg);
    padding:2rem;
    box-shadow:var(--shadow-soft);
}
.friendship-title{
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:0.5rem;
    color:var(--primary);
}
.friendship-links{
    color:#5a6b8c;
    line-height:2;
}

/* ===== 页脚 ===== */
.footer{
    background:var(--text);
    color:rgba(255,255,255,0.7);
    padding:3rem 0 2rem;
}
.footer-brand{
    font-size:1.8rem;
    font-weight:900;
    color:#fff;
    margin-bottom:1rem;
}
.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:1.5rem;
    margin-bottom:1.5rem;
}
.footer-links a{
    color:rgba(255,255,255,0.7);
    font-size:0.9rem;
}
.footer-links a:hover{
    color:var(--accent);
}
.footer-copyright{
    font-size:0.8rem;
    opacity:0.5;
}

/* ===== 滚动动画 ===== */
.fade-in-up{
    opacity:0;
    transform:translateY(30px);
    transition:opacity .8s ease,transform .8s ease;
}
.fade-in-up.visible{
    opacity:1;
    transform:translateY(0);
}
.counter-value{
    font-weight:900;
    color:var(--primary);
}

/* ===== 响应式 ===== */
@media(max-width:768px){
    .hero-title{
        font-size:2.2rem;
    }
    .carousel-item{
        height:300px;
    }
    .carousel-overlay{
        padding:1.5rem;
    }
    .carousel-content h2{
        font-size:1.8rem;
    }
    .movie-card{
        min-width:160px;
        width:160px;
    }
    .movie-poster{
        height:224px;
    }
    .section-title{
        font-size:1.6rem;
    }
    .rank-section{
        padding:1.5rem;
    }
    .rank-item{
        flex-wrap:wrap;
    }
    .rank-number{
        min-width:40px;
        font-size:1.4rem;
    }
    .modal-poster img{
        width:100%;
        height:auto;
    }
    .guide-section,.theme-section{
        padding:1.5rem;
    }
}

/* ===== 静态统计数字 ===== */
.stats-row{
    display:flex;
    gap:2rem;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:2rem;
}
.stat-item{
    text-align:center;
}
.stat-number{
    font-size:2.5rem;
    font-weight:900;
    color:var(--primary);
}
.stat-label{
    font-size:0.9rem;
    color:#5a6b8c;
    font-weight:500;
}

/* --- 子页面追加 --- */
/* 页面专属样式 */
        .guide-hero {
            padding: 80px 0 60px;
            background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(6,182,212,0.08) 100%);
            border-bottom: 1px solid rgba(37,99,235,0.08);
        }
.guide-card {
            background: #fff;
            border-radius: var(--radius-md);
            padding: 28px;
            box-shadow: var(--shadow-soft);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid rgba(37,99,235,0.08);
        }
.guide-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.guide-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 18px;
        }
.guide-icon.blue { background: rgba(37,99,235,0.12); color: var(--primary); }
.guide-icon.cyan { background: rgba(6,182,212,0.12); color: var(--accent); }
.guide-icon.green { background: rgba(16,185,129,0.12); color: #10b981; }
.guide-icon.orange { background: rgba(245,158,11,0.12); color: #f59e0b; }
.tip-box {
            background: rgba(37,99,235,0.06);
            border-left: 4px solid var(--primary);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            padding: 16px 20px;
            margin: 16px 0;
        }
.guide-timeline {
            position: relative;
            padding-left: 30px;
        }
.guide-timeline::before {
            content: '';
            position: absolute;
            left: 11px;
            top: 4px;
            bottom: 4px;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary), var(--accent));
        }
.guide-timeline-item {
            position: relative;
            margin-bottom: 28px;
        }
.guide-timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 6px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid #fff;
            box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
        }
.table-custom {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: #fff;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-soft);
        }
.table-custom th {
            background: rgba(37,99,235,0.08);
            padding: 14px 20px;
            font-weight: 600;
            color: var(--text);
            border-bottom: 2px solid rgba(37,99,235,0.12);
            text-align: left;
        }
.table-custom td {
            padding: 14px 20px;
            border-bottom: 1px solid rgba(37,99,235,0.06);
            color: var(--text);
        }
.table-custom tr:last-child td {
            border-bottom: none;
        }
.table-custom tr:hover td {
            background: rgba(37,99,235,0.02);
        }
.guide-hero { padding: 60px 0 40px; }
.guide-card { padding: 22px; }
.table-custom th, .table-custom td { padding: 12px 14px; }

/* --- 子页面追加 --- */
/* 确保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 {
            background: transparent;
            color: var(--text);
            border-color: rgba(37, 99, 235, 0.15);
        }
.nav-link-custom.active {
            color: var(--primary) !important;
            font-weight: 600;
        }
.btn-hero:hover {
            background: var(--accent);
        }
.about-badge {
            background: rgba(6, 182, 212, 0.12);
            color: var(--primary);
            padding: 0.3rem 1rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-block;
        }
.about-title {
            font-weight: 800;
            letter-spacing: -0.02em;
            margin: 0.8rem 0 1rem;
        }
.about-sub {
            color: #3a4e7a;
            line-height: 1.7;
        }
.feature-item {
            border-left: 4px solid var(--accent);
            background: rgba(255,255,255,0.5);
            padding: 1.2rem 1.5rem;
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            transition: all 0.2s;
        }
.feature-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
.feature-icon {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
        }
.community-quote {
            background: rgba(37, 99, 235, 0.06);
            border-radius: var(--radius-md);
            padding: 2rem;
            text-align: center;
            margin: 2.5rem 0;
        }
/* 覆盖bootstrap下拉菜单/卡片等以防白底 */
        .card, .list-group-item { background: rgba(255,255,255,0.55); }
.accordion-button:not(.collapsed) {
            background: rgba(37,99,235,0.1);
            color: var(--text);
        }
/* 本页专属：小标题风格 */
        .section-header h2 {
            font-weight: 800;
            font-size: 1.9rem;
            color: var(--text);
        }
.section-header .section-link {
            color: var(--primary);
            font-weight: 500;
        }
hr.divider {
            border-top: 2px solid rgba(37, 99, 235, 0.15);
            opacity: 1;
            margin: 2.5rem 0;
        }

/* --- 子页面追加 --- */
/* 确保所有卡片、列表项与站点配色一致 (覆盖Bootstrap默认白底黑字) */
        .all-list-card,
        .all-list-card .card-body,
        .all-list-item,
        .filter-panel,
        .filter-panel .form-select,
        .filter-panel .form-control,
        .rank-table,
        .rank-table td,
        .rank-table th {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(37,99,235,0.12);
        }
/* 表格、卡片、筛选组件细节适配 */
        .filter-panel {
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(37,99,235,0.15);
            border-radius: var(--radius-md);
            padding: 1.25rem 1.25rem;
            box-shadow: var(--shadow-soft);
        }
.filter-panel .form-select,
        .filter-panel .form-control {
            background: rgba(255,255,255,0.75);
            border: 1px solid rgba(37,99,235,0.2);
            border-radius: var(--radius-sm);
            color: var(--text);
            font-weight: 500;
        }
.filter-panel .form-select:focus,
        .filter-panel .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.15);
        }
/* 卡片列表布局 */
        .all-list-card {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            transition: box-shadow .25s ease, transform .2s;
            border: 1px solid rgba(37,99,235,0.08);
            padding: 1.2rem 1.2rem;
            height: 100%;
        }
.all-list-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
.all-list-card .card-title {
            color: var(--primary);
            font-weight: 700;
            letter-spacing: -0.01em;
        }
.all-list-card .card-text {
            color: var(--text);
            opacity: 0.9;
        }
/* 徽章、标签 */
        .tag-badge {
            background: rgba(6,182,212,0.12);
            color: #0e7490;
            padding: 0.2rem 0.7rem;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
            margin-right: 0.4rem;
        }
/* 排名表格 */
        .rank-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 10px;
        }
.rank-table td {
            background: rgba(255,255,255,0.6);
            border: none;
            padding: 0.9rem 0.8rem;
            border-radius: var(--radius-sm);
            box-shadow: 0 2px 8px rgba(37,99,235,0.03);
            font-weight: 500;
        }
.rank-table th {
            background: transparent;
            color: var(--primary);
            font-weight: 700;
            border: none;
            padding: 0.5rem 0.8rem;
        }
.rank-table .rank-num {
            font-weight: 800;
            color: var(--accent);
            margin-right: 0.3rem;
        }
.filter-panel .col-md-3 {
                margin-bottom: 0.8rem;
            }
.all-list-card {
                margin-bottom: 1rem;
            }

/* --- 子页面追加 --- */
/* 页面专属微调：仅用于高分页特有的卡片hover和章节间距，不覆盖站点根变量 */
        .score-badge {
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            padding: 0.25rem 0.75rem;
            border-radius: 30px;
            display: inline-block;
            letter-spacing: 0.3px;
        }
.hot-card {
            background: rgba(255,255,255,0.75);
            backdrop-filter: blur(2px);
            border: 1px solid rgba(37,99,235,0.12);
            border-radius: var(--radius-md);
            padding: 1.5rem 1.2rem;
            height: 100%;
            transition: transform .2s ease, box-shadow .2s ease;
            box-shadow: var(--shadow-soft);
        }
.hot-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(37,99,235,0.3);
        }
.hot-card .card-title-icon {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
.hot-card h3 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.75rem;
            letter-spacing: -0.01em;
        }
.hot-card p {
            color: #2d3a5e;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.2rem;
        }
.hot-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.85rem;
            color: #3f4e6b;
            border-top: 1px solid rgba(37,99,235,0.1);
            padding-top: 0.8rem;
            margin-top: 0.4rem;
        }
.hot-meta i {
            color: var(--primary);
            width: 16px;
        }
.hot-section-title {
            font-weight: 800;
            color: var(--text);
            position: relative;
            padding-bottom: 0.6rem;
            margin-bottom: 2rem;
            letter-spacing: -0.02em;
        }
.hot-section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 3px;
        }
.cold-anime-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.cold-anime-list li {
            padding: 0.8rem 0.5rem;
            border-bottom: 1px dashed rgba(37,99,235,0.2);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.cold-anime-list li i {
            color: var(--accent);
            font-size: 1.1rem;
            width: 24px;
            text-align: center;
        }
.cold-anime-list li span:last-child {
            font-weight: 500;
            color: #1f2b4a;
        }
.guide-note {
            background: rgba(6,182,212,0.06);
            border-left: 4px solid var(--accent);
            padding: 1.2rem 1.5rem;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            margin: 2rem 0 1rem;
            font-size: 0.98rem;
        }
/* 覆盖Bootstrap可能出现的白色卡片背景 */
        .card, .card-body {
            background: transparent !important;
            color: inherit !important;
        }
.navbar-custom .nav-link-custom.active {
            font-weight: 700;
        }

/* --- 子页面追加 --- */
/* 兼容首页变量，保证卡片、列表、表单等元素继承色彩 */
        :root {
            --card-bg: rgba(255,255,255,0.85);
            --border-color: rgba(37,99,235,0.15);
            --text-light: #0f1e3d;
        }
.card, .card-body, .card-header, .card-footer {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--border-color);
        }
.form-control, .form-select {
            background: rgba(255,255,255,0.9);
            color: var(--text);
            border-color: var(--border-color);
        }
.accordion-item, .accordion-button {
            background: var(--card-bg);
            color: var(--text);
        }
.modal-content {
            background: var(--card-bg);
            color: var(--text);
        }
/* 确保导航栏高亮当前页 */
        .nav-link-custom.active {
            color: var(--primary) !important;
            font-weight: 600;
        }
/* 卡片阴影微调 */
        .disclaimer-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(37,99,235,0.08);
            transition: var(--shadow-hover);
        }
.disclaimer-card:hover {
            box-shadow: var(--shadow-hover);
        }
.section-icon {
            color: var(--primary);
        }
.footer-link {
            color: var(--text);
            opacity: 0.8;
            text-decoration: none;
        }
.footer-link:hover {
            opacity: 1;
            color: var(--primary);
        }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .privacy-section {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            padding: 2.5rem;
            margin-bottom: 2rem;
        }
.privacy-section h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 3px solid rgba(37,99,235,0.15);
        }
.privacy-section h3 {
            color: var(--text);
            font-weight: 600;
            font-size: 1.15rem;
            margin-top: 1.5rem;
            margin-bottom: 0.8rem;
        }
.privacy-section p, .privacy-section li {
            color: #4a5a7a;
            line-height: 1.8;
            font-size: 0.95rem;
        }
.privacy-section ul {
            padding-left: 1.2rem;
            margin-bottom: 1rem;
        }
.privacy-section li {
            margin-bottom: 0.5rem;
        }
.privacy-highlight {
            background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(6,182,212,0.06));
            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;
        }
.privacy-highlight p {
            margin-bottom: 0.3rem;
        }
.privacy-date {
            display: inline-block;
            background: rgba(37,99,235,0.1);
            color: var(--primary);
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
        }
.privacy-section {
                padding: 1.5rem;
            }
.privacy-section h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
/* 联系页卡片微调（仅用栅格，不用bootstrap组件类） */
        .contact-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            padding: 2rem 1.8rem;
            transition: box-shadow .25s ease, transform .2s ease;
            height: 100%;
            border: 1px solid rgba(37,99,235,0.06);
        }
.contact-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.contact-icon {
            width: 56px;
            height: 56px;
            background: rgba(37,99,235,0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.7rem;
            color: var(--primary);
            margin-bottom: 1.2rem;
        }
.contact-card h3 {
            font-weight: 700;
            font-size: 1.3rem;
            letter-spacing: -0.01em;
            color: var(--text);
            margin-bottom: .7rem;
        }
.contact-card p {
            color: #4a5a7a;
            font-size: .97rem;
            line-height: 1.7;
            margin-bottom: .5rem;
        }
.contact-card .small-meta {
            font-size: .88rem;
            color: #6d7b9e;
        }
.form-label-custom {
            font-weight: 600;
            font-size: .95rem;
            color: var(--text);
            margin-bottom: .35rem;
        }
.form-control-custom {
            background: #f8faff;
            border: 1px solid rgba(37,99,235,0.15);
            border-radius: var(--radius-md);
            padding: .75rem 1rem;
            font-size: .95rem;
            color: var(--text);
            width: 100%;
            transition: border .2s, box-shadow .2s;
        }
.form-control-custom:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
            background: #ffffff;
        }
.btn-send-custom {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 60px;
            padding: .8rem 2.2rem;
            font-weight: 600;
            font-size: 1rem;
            transition: background .2s, transform .1s;
            box-shadow: 0 8px 18px rgba(37,99,235,0.2);
        }
.btn-send-custom:hover {
            background: #1d4ed8;
            transform: scale(1.01);
        }
.social-round {
            width: 44px;
            height: 44px;
            background: rgba(6,182,212,0.08);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 1.3rem;
            margin-right: .8rem;
            transition: all .2s;
        }
.social-round:hover {
            background: var(--accent);
            color: #fff;
            transform: translateY(-2px);
        }
.divider-light {
            border-top: 1px solid rgba(37,99,235,0.1);
            margin: 1.8rem 0;
        }
.text-accent {
            color: var(--accent);
        }
.bg-soft-primary {
            background: rgba(37,99,235,0.04);
        }
.contact-header-badge {
            background: rgba(37,99,235,0.08);
            color: var(--primary);
            border-radius: 50px;
            padding: .3rem 1.2rem;
            font-size: .85rem;
            font-weight: 600;
            display: inline-block;
            letter-spacing: .02em;
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不出现白底, 与全站配色统一 */
        .card, .card-body, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(37,99,235,0.15);
        }
.accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.1);
        }
.sitemap-link-card {
            transition: transform .2s ease, box-shadow .2s ease;
            border-radius: var(--radius-md);
            background: var(--bg);
            padding: 1.25rem 1rem;
            height: 100%;
            border: 1px solid rgba(37,99,235,0.1);
            box-shadow: var(--shadow-soft);
        }
.sitemap-link-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(37,99,235,0.3);
        }
.sitemap-link-card a {
            text-decoration: none;
            color: var(--text);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.sitemap-link-card a i {
            color: var(--primary);
            width: 1.4rem;
            text-align: center;
        }
.sitemap-link-card p {
            margin-top: 0.5rem;
            margin-bottom: 0;
            color: #4a5a7a;
            font-size: 0.9rem;
            font-weight: 400;
        }
.sitemap-section-title {
            border-left: 5px solid var(--primary);
            padding-left: 1rem;
            margin-bottom: 1.8rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }
.sitemap-group-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1.2rem;
        }
.anchor-list {
            list-style: none;
            padding-left: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem 1.5rem;
        }
.anchor-list li a {
            color: var(--primary);
            font-weight: 500;
            text-decoration: none;
            border-bottom: 1px dashed transparent;
        }
.anchor-list li a:hover {
            border-bottom-color: var(--primary);
        }
.table-of-contents {
            background: rgba(37,99,235,0.04);
            border-radius: var(--radius-md);
            padding: 1.5rem 1.8rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(37,99,235,0.1);
        }
.text-muted-soft {
            color: #5e6f8d;
        }
hr {
            border-color: rgba(37,99,235,0.15);
            opacity: .6;
        }

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