:root {
  --primary: #dc2626;
  --accent: #fb923c;
  --bg: #141013;
  --text: #fef2f2;
  --text-dim: #b9a5a5;
  --border: rgba(254, 242, 242, 0.12);
  --card-bg: rgba(255, 255, 255, 0.03);
}
* { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 900; letter-spacing: -0.02em; }
a { color: var(--text); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--accent); }
.navbar { background: rgba(20, 16, 19, 0.92) !important; backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0.8rem 0; }
.navbar-brand { font-weight: 900; font-size: 1.6rem; color: var(--text) !important; }
.navbar-brand i { color: var(--primary); margin-right: 4px; }
.navbar-nav .nav-link { color: var(--text-dim) !important; font-weight: 500; margin: 0 0.4rem; font-size: 0.95rem; }
.navbar-nav .nav-link:hover { color: var(--accent) !important; }
.navbar-toggler { border: 1px solid var(--border); color: var(--text); }
.navbar-toggler-icon { filter: invert(1); }
.section-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; }
.stat-hero { padding: 4rem 0 2rem; border-bottom: 1px solid var(--border); }
.stat-number { font-family: 'Inter', monospace; font-weight: 900; font-size: 3.5rem; color: var(--primary); line-height: 1; }
.stat-unit { font-size: 1rem; color: var(--text-dim); font-weight: 400; }
.carousel-banner { margin: 2rem 0; border: 1px solid var(--border); }
.carousel-item { height: 360px; position: relative; background: #1a1518; }
.carousel-item img { object-fit: cover; height: 100%; width: 100%; opacity: 0.5; }
.carousel-caption { position: absolute; left: 8%; right: auto; top: 50%; transform: translateY(-50%); text-align: left; max-width: 40%; }
.carousel-caption h3 { font-size: 2.2rem; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,0.7); }
.carousel-caption p { color: var(--text-dim); font-weight: 300; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; margin: 2rem 0; }
.category-item { border: 1px solid var(--border); text-align: center; padding: 1.2rem 0.5rem; background: transparent; transition: all 0.3s ease; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.category-item i { display: block; font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; }
.category-item:hover { border-color: var(--primary); background: rgba(220, 38, 38, 0.08); }
.movie-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.movie-card { border: 1px solid var(--border); background: var(--card-bg); overflow: hidden; cursor: pointer; transition: all 0.3s ease; position: relative; }
.movie-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.movie-card .poster-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; background: #1a1518; }
.movie-card .poster-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: all 0.4s ease; }
.movie-card .play-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; }
.movie-card:hover .play-overlay { opacity: 1; }
.movie-card .play-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(20, 16, 19, 0.7); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem; backdrop-filter: blur(4px); }
.movie-card .info { padding: 0.6rem 0.7rem; }
.movie-card .info .title { font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-card .info .meta { font-size: 0.75rem; color: var(--text-dim); display: flex; justify-content: space-between; margin-top: 0.3rem; }
.movie-card .info .rating { font-family: 'Inter', monospace; color: var(--accent); font-weight: 700; }
.rank-list { margin-top: 1.5rem; }
.rank-item { display: flex; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-family: 'Inter', monospace; font-weight: 900; font-size: 1.6rem; color: var(--primary); width: 48px; text-align: center; }
.rank-item:nth-child(-n+3) .rank-num { color: var(--accent); }
.rank-info { flex: 1; }
.rank-info .title { font-weight: 600; }
.rank-info .meta { font-size: 0.8rem; color: var(--text-dim); }
.rank-score { font-family: 'Inter', monospace; font-weight: 800; color: var(--accent); }
.faq-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-q { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 0.6rem; }
.faq-q i { color: var(--primary); }
.faq-a { color: var(--text-dim); padding-left: 1.8rem; margin-top: 0.4rem; font-size: 0.95rem; }
.topic-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.topic-item { border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1rem; background: var(--card-bg); }
.topic-item h5 { font-weight: 800; }
.topic-item p { color: var(--text-dim); margin-top: 0.4rem; }
.friends-links { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.friends-links a { color: var(--text-dim); margin-right: 1.2rem; font-size: 0.9rem; }
.friends-links a:hover { color: var(--accent); }
footer { background: #0f0c0e; padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--border); }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background: var(--primary); border: none; border-radius: 8px; color: var(--text); font-size: 1.2rem; opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 999; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.movie-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 1rem; }
.movie-modal-overlay.open { display: flex; }
.modal-backdrop-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: blur(12px); }
.modal-content-box { position: relative; z-index: 2; max-width: 600px; width: 100%; background: rgba(20, 16, 19, 0.95); border: 1px solid var(--border); padding: 2rem; border-radius: 8px; max-height: 85vh; overflow-y: auto; }
.modal-content-box h3 { font-size: 1.8rem; font-weight: 900; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; z-index: 3; }
.modal-close:hover { color: var(--accent); }
.modal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1.2rem 0; }
.modal-meta span { font-size: 0.9rem; color: var(--text-dim); }
.modal-meta strong { color: var(--text); font-weight: 700; }
.modal-rating { font-family: 'Inter', monospace; font-size: 2.5rem; font-weight: 900; color: var(--accent); }
.modal-plot { color: var(--text-dim); line-height: 1.7; margin-top: 1rem; }
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.step-item { border: 1px solid var(--border); padding: 1.5rem; text-align: center; }
.step-num { font-family: 'Inter', monospace; font-size: 2.2rem; font-weight: 900; color: var(--primary); }
@media (max-width: 768px) {
  .carousel-caption { max-width: 80%; left: 5%; }
  .carousel-caption h3 { font-size: 1.3rem; }
  .stat-number { font-size: 2.2rem; }
  .movie-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-num { width: 36px; font-size: 1.2rem; }
}

/* --- 子页面追加 --- */
.about-hero {
            padding: 80px 0 60px;
            text-align: center;
            background: linear-gradient(180deg, rgba(220,38,38,0.08) 0%, transparent 100%);
            border-bottom: 1px solid var(--border);
        }
.about-hero h1 {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.3;
        }
.about-hero h1 span {
            color: var(--primary);
        }
.about-hero p {
            max-width: 700px;
            margin: 0 auto;
            color: var(--text-dim);
            font-size: 1.05rem;
            line-height: 1.8;
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid var(--border);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 24px;
            padding-left: 16px;
            border-left: 4px solid var(--primary);
        }
.about-section h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            margin: 20px 0 12px;
        }
.about-section p {
            color: var(--text-dim);
            line-height: 1.9;
            margin-bottom: 16px;
            font-size: 0.98rem;
        }
.about-section ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.about-section li {
            color: var(--text-dim);
            line-height: 1.9;
            margin-bottom: 8px;
            font-size: 0.98rem;
        }
.about-section li strong {
            color: var(--text);
        }
.feature-box {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 28px;
            height: 100%;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }
.feature-box:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
        }
.feature-box i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 16px;
        }
.feature-box h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
.feature-box p {
            font-size: 0.92rem;
            color: var(--text-dim);
            line-height: 1.7;
            margin-bottom: 0;
        }
.stats-about {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.stats-about .stat-item {
            text-align: center;
            padding: 20px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
.stats-about .stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.stats-about .stat-label {
            font-size: 0.85rem;
            color: var(--text-dim);
            margin-top: 8px;
        }
.about-quote {
            background: rgba(220,38,38,0.06);
            border: 1px solid rgba(220,38,38,0.2);
            border-radius: 12px;
            padding: 24px 28px;
            margin: 24px 0;
            font-style: italic;
            color: var(--text);
            line-height: 1.8;
            position: relative;
        }
.about-quote i {
            color: var(--primary);
            margin-right: 8px;
        }
.about-hero h1 {
                font-size: 2rem;
            }
.about-hero p {
                font-size: 0.95rem;
            }
.about-section h2 {
                font-size: 1.4rem;
            }
.about-section {
                padding: 40px 0;
            }

/* --- 子页面追加 --- */
.guide-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.guide-section:last-child { border-bottom: none; }
.guide-section .section-label { margin-bottom: 1.5rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.guide-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; transition: all .3s ease; }
.guide-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.guide-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }
.guide-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .8rem; color: var(--text); }
.guide-card p { font-size: .9rem; line-height: 1.7; color: var(--text-dim); }
.step-list { counter-reset: step; list-style: none; padding: 0; }
.step-list li { counter-increment: step; padding: 1rem 1rem 1rem 3.5rem; position: relative; margin-bottom: 1rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; }
.step-list li::before { content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.step-list li strong { color: var(--text); }
.step-list li p { margin-bottom: 0; color: var(--text-dim); font-size: .9rem; }
.tip-box { background: rgba(220, 38, 38, 0.08); border-left: 3px solid var(--primary); padding: 1rem 1.5rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0; }
.tip-box p { margin: 0; color: var(--text); font-size: .9rem; }
.tip-box i { color: var(--primary); margin-right: .5rem; }
.quality-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.quality-table th, .quality-table td { padding: .8rem 1rem; border: 1px solid var(--border); font-size: .9rem; }
.quality-table th { background: rgba(220, 38, 38, 0.1); color: var(--text); font-weight: 600; }
.quality-table td { color: var(--text-dim); }
.quality-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.badge { background: var(--primary); color: #fff; padding: .25rem .5rem; border-radius: 4px; font-size: .75rem; font-weight: 600; }
.badge-accent { background: var(--accent); }