:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f4f8ff;
  --text: #0f1e3d;
  --text-light: #5a6a85;
  --card-bg: #ffffff;
  --border: 2px solid var(--text);
  --shadow: 8px 8px 0 var(--text);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', '思源黑体', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
}
h1, h2, h3, h4, .font-serif { font-family: 'Noto Serif SC', '思源宋体', 'Source Han Serif SC', serif; }
/* 滚动进度条 */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%; z-index: 9999; transition: width 0.1s;
}
/* 导航 */
.navbar-custom {
  background: rgba(244,248,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--text);
  transition: all 0.3s ease;
  z-index: 1000;
}
.navbar-custom.scrolled { background: rgba(244,248,255,0.85); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.navbar-brand { font-weight: 900; font-size: 1.8rem; color: var(--text) !important; font-family: 'Noto Serif SC', serif; letter-spacing: 1px; }
.navbar-brand i { color: var(--primary); margin-right: 4px; }
.nav-link { font-weight: 600; color: var(--text) !important; margin: 0 10px; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--primary); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }
/* Hero 统计 */
.hero-stats {
  background: var(--text);
  color: white;
  border-bottom: 4px solid var(--text);
  padding: 40px 0;
}
.hero-stats .stat-item { text-align: center; border-right: 2px solid rgba(255,255,255,0.2); }
.hero-stats .stat-number { font-size: 3.2rem; font-weight: 900; font-family: 'Noto Serif SC', serif; color: var(--accent); }
.hero-stats .stat-label { font-size: 1rem; opacity: 0.8; }
/* 区块 */
.section-title { font-size: 2.8rem; font-weight: 900; margin-bottom: 30px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 60%; height: 5px; background: var(--primary); }
.section-sub { color: var(--text-light); margin-bottom: 30px; }
/* 海报卡片 */
.movie-card {
  background: var(--card-bg);
  border: var(--border);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  cursor: pointer;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.movie-card:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--text); }
.movie-card .poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2/3; background: #e8eef8; }
.movie-card .poster-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.movie-card .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; background: rgba(37,99,235,0.9); border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.3s; color: white; font-size: 1.4rem; border: 3px solid white;
}
.movie-card:hover .play-btn { opacity: 1; }
.movie-card .gradient-mask {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(15,30,61,0.9), transparent);
  opacity: 0.8; transition: opacity 0.3s;
}
.movie-card:hover .gradient-mask { opacity: 1; }
.movie-info { padding: 12px; }
.movie-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-meta { font-size: 0.8rem; color: var(--text-light); display: flex; justify-content: space-between; }
.rating-badge { color: var(--primary); font-weight: 700; }
/* 横滚 */
.scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.scroll-row .movie-card { flex: 0 0 180px; scroll-snap-align: start; }
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-track { background: #e0e7f0; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 0; }
/* 榜单 */
.rank-list { background: white; border: var(--border); box-shadow: var(--shadow); padding: 20px; }
.rank-item { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px dashed #dce3f0; cursor: pointer; transition: background 0.2s; }
.rank-item:hover { background: #f0f5ff; }
.rank-num { font-size: 1.6rem; font-weight: 900; color: var(--primary); width: 50px; font-family: 'Noto Serif SC', serif; }
.rank-item:nth-child(-n+3) .rank-num { color: var(--accent); }
.rank-title { flex: 1; font-weight: 600; }
.rank-score { color: var(--primary); font-weight: 700; }
/* 步骤条 */
.steps-container { display: flex; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.step-box { flex: 1; min-width: 220px; background: white; border: var(--border); padding: 25px 20px; position: relative; box-shadow: 5px 5px 0 var(--text); }
.step-num { font-size: 2.5rem; font-weight: 900; color: var(--primary); font-family: 'Noto Serif SC', serif; line-height: 1; }
.step-title { font-weight: 700; margin: 10px 0 8px; font-size: 1.1rem; }
.step-desc { font-size: 0.9rem; color: var(--text-light); }
/* 分类卡片 */
.cat-card { background: var(--text); color: white; border: var(--border); box-shadow: var(--shadow); padding: 20px; text-align: center; transition: all 0.2s; cursor: pointer; min-height: 140px; display: flex; flex-direction: column; justify-content: center; }
.cat-card:hover { background: var(--primary); transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--text); }
.cat-card i { font-size: 2rem; margin-bottom: 10px; }
/* 弹窗 */
.movie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,30,61,0.9);
  z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(12px);
}
.movie-modal-overlay.active { display: flex; }
.modal-content-box {
  background: white; border: var(--border); max-width: 500px; width: 100%; position: relative;
  animation: modalIn 0.3s ease;
  background-size: cover; background-position: center;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-inner { background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(244,248,255,0.98)); padding: 30px; }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--text); z-index: 10; font-weight: 700; }
.modal-close:hover { color: var(--primary); }
.modal-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; font-family: 'Noto Serif SC', serif; }
.modal-score { font-size: 1.8rem; color: var(--primary); font-weight: 900; margin-bottom: 12px; }
.modal-detail-row { display: flex; margin: 6px 0; font-size: 0.95rem; }
.modal-detail-row .label { width: 70px; font-weight: 700; color: var(--text-light); }
.modal-plot { margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--text); font-size: 0.95rem; line-height: 1.7; }
/* 冷知识、互动 */
.tip-box { background: white; border: var(--border); box-shadow: var(--shadow); padding: 25px; margin-bottom: 20px; }
.tip-box h4 { font-weight: 700; margin-bottom: 10px; }
.tip-box ul { padding-left: 20px; }
.tip-box li { margin: 8px 0; }
.reco-tags .tag-btn { background: white; border: 3px solid var(--text); padding: 10px 20px; font-weight: 600; margin: 5px; cursor: pointer; transition: all 0.2s; box-shadow: 4px 4px 0 var(--text); }
.reco-tags .tag-btn:hover, .reco-tags .tag-btn.active { background: var(--primary); color: white; }
#random-reco { background: var(--text); color: white; border: none; padding: 14px 28px; font-weight: 700; font-size: 1.1rem; box-shadow: 6px 6px 0 var(--primary); cursor: pointer; transition: all 0.2s; }
#random-reco:hover { background: var(--primary); box-shadow: 6px 6px 0 var(--accent); }
#reco-result { margin-top: 20px; padding: 20px; background: white; border: 3px solid var(--text); font-weight: 500; min-height: 70px; }
/* 友链和页脚 */
.friend-links { background: white; border-top: 4px solid var(--text); padding: 30px 0; }
.friend-links h5 { font-weight: 700; margin-bottom: 15px; font-size: 1.2rem; }
.friend-links a { color: var(--text); text-decoration: underline; margin: 0 10px; font-weight: 500; }
footer { background: var(--text); color: white; padding: 30px 0; border-top: 5px solid var(--primary); }
footer a { color: var(--accent); text-decoration: none; }
/* 移动端 */
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .hero-stats .stat-number { font-size: 2.2rem; }
  .navbar-brand { font-size: 1.4rem; }
  .movie-card { min-width: 140px; }
  .scroll-row .movie-card { flex: 0 0 140px; }
}

/* --- 子页面追加 --- */
/* 本页专属微调,不影响全局 */
    .about-hero { padding: 80px 0 50px; position: relative; }
.about-hero h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -1px; }
.about-hero .lead { max-width: 700px; color: var(--text-light); }
.about-section { padding: 50px 0; border-bottom: var(--border); }
.about-section:last-of-type { border-bottom: none; }
.about-section h2 { font-weight: 800; font-size: 1.7rem; margin-bottom: 20px; }
.about-section p { line-height: 1.8; color: var(--text); }
.about-section .highlight { color: var(--primary); font-weight: 600; }
.timeline-item { position: relative; padding-left: 30px; margin-bottom: 25px; }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; background: var(--primary); border: 2px solid var(--text); }
.timeline-item::after { content: ''; position: absolute; left: 6px; top: 22px; bottom: -18px; width: 2px; background: var(--text); opacity: .3; }
.timeline-item:last-child::after { display: none; }
.timeline-item .tl-time { font-size: .8rem; font-weight: 600; color: var(--accent); letter-spacing: .5px; text-transform: uppercase; }
.timeline-item .tl-title { font-weight: 700; font-size: 1.1rem; margin: 2px 0 4px; }
.timeline-item p { margin-bottom: 0; font-size: .95rem; }
.value-card { background: var(--card-bg); border: 2px solid var(--text); box-shadow: 4px 4px 0 var(--text); padding: 25px; margin-bottom: 20px; transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--text); }
.value-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; }
.value-card p { font-size: .9rem; color: var(--text-light); }
.quote-block { background: var(--bg); border-left: 4px solid var(--primary); padding: 20px 25px; margin: 30px 0; font-style: italic; }
.quote-block .quote-author { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--text-light); }
.about-hero h1 { font-size: 2rem; }
.about-section h2 { font-size: 1.4rem; }

/* --- 子页面追加 --- */
/* 本页专属少量样式 */
        .disclaimer-section {
            padding: 80px 0 60px;
        }
.disclaimer-box {
            background: var(--card-bg);
            border: var(--border);
            box-shadow: var(--shadow);
            padding: 35px 40px;
            margin-bottom: 30px;
            border-radius: 0;
        }
.disclaimer-box h2 {
            font-weight: 800;
            font-size: 1.5rem;
            color: var(--text);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--accent);
            display: inline-block;
        }
.disclaimer-box p {
            color: var(--text-light);
            line-height: 1.9;
            font-size: 0.95rem;
            margin-bottom: 16px;
        }
.disclaimer-box ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.disclaimer-box ul li {
            color: var(--text-light);
            line-height: 1.9;
            font-size: 0.95rem;
            margin-bottom: 8px;
            position: relative;
        }
.disclaimer-box ul li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--primary);
            font-size: 0.8rem;
            margin-right: 10px;
        }
.disclaimer-box strong {
            color: var(--text);
            font-weight: 700;
        }
.disclaimer-box .highlight {
            background: rgba(6, 182, 212, 0.1);
            border-left: 4px solid var(--accent);
            padding: 12px 18px;
            margin: 18px 0;
            font-style: normal;
        }
.page-hero-disclaimer {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
            border-bottom: 2px solid var(--text);
            padding: 60px 0 40px;
            margin-top: 76px;
        }
.page-hero-disclaimer h1 {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 10px;
        }
.page-hero-disclaimer .sub-text {
            color: var(--text-light);
            font-size: 1rem;
            max-width: 700px;
        }
.disclaimer-box {
                padding: 25px 20px;
            }
.page-hero-disclaimer h1 {
                font-size: 1.6rem;
            }