:root {
      --main: #dc2626;
      --accent: #fb923c;
      --bg-dark: #141013;
      --text-light: #fef2f2;
      --radius-lg: 22px;
      --radius-md: 16px;
      --shadow-soft: 0 8px 30px rgba(220, 38, 38, 0.12), 0 4px 12px rgba(0, 0, 0, 0.4);
      --font-title: "Source Han Serif SC", "Noto Serif SC", serif;
      --font-body: "Source Han Sans SC", "Noto Sans SC", "Inter", sans-serif;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: var(--font-body);
      scroll-behavior: smooth;
    }
    h1, h2, h3, .brand-font {
      font-family: var(--font-title);
    }
    /* 滚动条暗色 */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #1e181c; }
    ::-webkit-scrollbar-thumb { background: #dc2626aa; border-radius: 10px; }

    /* 导航栏吸顶+透明 */
    .navbar-custom {
      position: sticky;
      top: 0;
      z-index: 1000;
      background-color: rgba(20, 16, 19, 0.85);
      backdrop-filter: blur(15px);
      border-bottom: 1px solid rgba(220, 38, 38, 0.25);
      transition: background-color 0.3s ease, box-shadow 0.2s;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    .navbar-custom.scrolled {
      background-color: rgba(12, 8, 10, 0.95);
      box-shadow: 0 8px 30px rgba(0,0,0,0.7);
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.8rem;
      color: var(--text-light) !important;
      letter-spacing: 1px;
    }
    .navbar-brand i {
      color: var(--accent);
      margin-right: 6px;
    }
    .navbar-nav .nav-link {
      color: rgba(254, 242, 242, 0.8);
      font-weight: 500;
      margin: 0 10px;
      transition: 0.2s;
      border-radius: 30px;
      padding: 8px 18px;
    }
    .navbar-nav .nav-link:hover {
      color: var(--accent);
      background: rgba(251, 146, 60, 0.08);
    }
    .btn-cta {
      background: linear-gradient(145deg, var(--main), #b91c1c);
      color: white;
      border: none;
      border-radius: 40px;
      padding: 12px 30px;
      font-weight: 700;
      box-shadow: 0 6px 20px #dc262655;
      transition: 0.3s;
    }
    .btn-cta:hover {
      background: linear-gradient(145deg, #ef4444, #dc2626);
      transform: scale(1.02);
    }
    .btn-outline-accent {
      border: 2px solid var(--accent);
      color: var(--accent);
      border-radius: 40px;
      padding: 10px 28px;
      font-weight: 600;
      background: transparent;
      transition: 0.3s;
    }
    .btn-outline-accent:hover {
      background: var(--accent);
      color: #141013;
    }

    /* hero */
    .hero-section {
      padding: 70px 0 90px;
      background: radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.2), transparent 50%);
    }
    .hero-title {
      font-size: 3.2rem;
      font-weight: 900;
      letter-spacing: 2px;
    }
    .hero-sub {
      font-size: 1.2rem;
      color: #e0caca;
    }

    /* 区块通用 */
    .section-title {
      font-weight: 700;
      font-size: 1.9rem;
      border-left: 8px solid var(--accent);
      padding-left: 20px;
      margin: 50px 0 30px;
      display: flex;
      align-items: center;
    }
    .section-title i {
      color: var(--accent);
      margin-right: 12px;
    }
    .badge-hot {
      background: var(--main);
      color: white;
      border-radius: 30px;
      padding: 4px 12px;
      font-size: 0.75rem;
      margin-left: 14px;
    }

    /* 海报卡片 */
    .movie-card {
      background: #1d171b;
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: 0.35s ease;
      box-shadow: 0 6px 20px rgba(0,0,0,0.4);
      height: 100%;
      border: 1px solid #2e2228;
      cursor: pointer;
      position: relative;
    }
    .movie-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 18px 36px rgba(0,0,0,0.7);
      border-color: var(--main);
    }
    .poster-wrapper {
      overflow: hidden;
      position: relative;
      aspect-ratio: 2/3;
      background: #1f181c;
    }
    .poster-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: 0.6s ease;
    }
    .movie-card:hover .poster-wrapper img {
      transform: scale(1.08);
      opacity: 0.7;
    }
    .update-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(0,0,0,0.75);
      backdrop-filter: blur(6px);
      color: #fff;
      padding: 4px 12px;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 500;
      border: 1px solid var(--accent);
    }
    .score-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      background: var(--accent);
      color: #141013;
      font-weight: 800;
      border-radius: 30px;
      padding: 4px 10px;
      font-size: 0.8rem;
      box-shadow: 0 4px 8px #00000050;
    }
    .card-info {
      padding: 16px 12px 12px;
    }
    .card-info h5 {
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 6px;
    }
    .card-info p {
      color: #bda6ae;
      font-size: 0.8rem;
      margin: 0;
    }

    /* 横向滚动行 */
    .scroll-row {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 20px;
      scroll-snap-type: x mandatory;
    }
    .scroll-row > .col-poster {
      flex: 0 0 180px;
      scroll-snap-align: start;
    }
    @media (max-width: 576px) {
      .scroll-row > .col-poster { flex: 0 0 140px; }
    }

    /* 榜单列表 */
    .rank-list {
      background: #1a1418;
      border-radius: var(--radius-lg);
      padding: 20px;
    }
    .rank-item {
      display: flex;
      align-items: center;
      padding: 10px 8px;
      border-bottom: 1px solid #2c1e24;
    }
    .rank-index {
      width: 40px;
      font-weight: 800;
      color: var(--accent);
    }

    /* 对比表格 */
    .comparison-table {
      background: #1d171b;
      border-radius: 22px;
      padding: 24px;
    }
    .comparison-table table {
      width: 100%;
      color: #f3e0e5;
    }
    .comparison-table td {
      padding: 12px;
      border-bottom: 1px solid #33252b;
    }

    /* 心情标签 */
    .mood-tag {
      background: #2d2027;
      border-radius: 40px;
      padding: 8px 24px;
      margin: 6px;
      font-weight: 500;
      transition: 0.2s;
      cursor: pointer;
      display: inline-block;
      border: 1px solid #4a323c;
    }
    .mood-tag:hover {
      background: var(--main);
      border-color: var(--accent);
    }

    /* 弹窗 */
    .modal-mask {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(6px);
      z-index: 2000;
      justify-content: center;
      align-items: center;
    }
    .modal-card {
      background: #241c21;
      border-radius: 28px;
      max-width: 700px;
      width: 90%;
      padding: 24px;
      display: flex;
      gap: 24px;
      position: relative;
      box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    }
    .modal-card img {
      width: 200px;
      border-radius: 18px;
      object-fit: cover;
    }
    .modal-info {
      flex: 1;
    }
    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: none;
      border: none;
      font-size: 28px;
      color: #ddd;
      cursor: pointer;
    }

    /* 回到顶部 */
    #backToTop {
      position: fixed;
      bottom: 40px;
      right: 40px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: var(--main);
      border: none;
      color: white;
      font-size: 24px;
      box-shadow: 0 8px 24px #dc262655;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 1500;
    }
    #backToTop.show {
      opacity: 1;
      visibility: visible;
    }

    footer {
      background: #100b0e;
      padding: 30px 0;
      border-top: 1px solid #2a1a20;
    }
    .footer-links a {
      color: #d8b8b8;
      margin: 0 12px;
      text-decoration: none;
    }
    .friend-links {
      background: #1b1418;
      border-radius: 30px;
      padding: 28px 20px;
      text-align: center;
    }

/* --- 子页面追加 --- */
background: linear-gradient(135deg, rgba(20, 16, 19, 0.9), rgba(220, 38, 38, 0.25)), url(' {随机图片}
.about-section {
            padding: 55px 0;
            border-bottom: 1px solid rgba(251, 146, 60, 0.1);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.about-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(220, 38, 38, 0.2);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            height: 100%;
            transition: all 0.3s ease;
        }
.about-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-soft);
            transform: translateY(-4px);
        }
.about-card i {
            font-size: 2.2rem;
            color: var(--accent);
            margin-bottom: 14px;
        }
.about-card h3 {
            font-family: var(--font-title);
            color: var(--text-light);
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: 0.3px;
        }
.about-card p {
            color: rgba(254, 242, 242, 0.75);
            font-size: 0.92rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.value-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.value-list li {
            position: relative;
            padding-left: 26px;
            margin-bottom: 14px;
            color: rgba(254, 242, 242, 0.8);
            line-height: 1.7;
            font-size: 0.95rem;
        }
.value-list li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--accent);
            font-size: 0.85rem;
        }
.stat-box {
            background: rgba(220, 38, 38, 0.08);
            border: 1px solid rgba(220, 38, 38, 0.25);
            border-radius: var(--radius-md);
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }
.stat-box:hover {
            background: rgba(220, 38, 38, 0.15);
            border-color: var(--accent);
        }
.stat-number {
            font-family: var(--font-title);
            font-size: 2rem;
            font-weight: 900;
            color: var(--accent);
            display: block;
            line-height: 1.2;
        }
.stat-label {
            color: rgba(254, 242, 242, 0.7);
            font-size: 0.85rem;
            margin-top: 6px;
            display: block;
        }
.timeline-item {
            position: relative;
            padding-left: 30px;
            margin-bottom: 26px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--accent);
            border: 2px solid rgba(20, 16, 19, 0.9);
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
        }
.timeline-item::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 22px;
            width: 2px;
            height: calc(100% - 14px);
            background: linear-gradient(to bottom, var(--accent), transparent);
        }
.timeline-item:last-child::after {
            display: none;
        }
.timeline-year {
            font-family: var(--font-title);
            color: var(--accent);
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }
.timeline-text {
            color: rgba(254, 242, 242, 0.8);
            font-size: 0.9rem;
            line-height: 1.6;
        }
.text-accent { color: var(--accent) !important; }
.text-main { color: var(--main) !important; }
.border-accent { border-color: var(--accent) !important; }
.bg-card-custom {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(220, 38, 38, 0.15);
            border-radius: var(--radius-md);
            padding: 24px;
        }

/* --- 子页面追加 --- */
.disclaimer-section { padding: 60px 0; }
.disclaimer-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(220,38,38,0.15); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 25px; transition: all 0.3s ease; }
.disclaimer-card:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.disclaimer-card h2 { color: var(--accent); font-family: var(--font-title); font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.disclaimer-card h2 i { font-size: 1.3rem; }
.disclaimer-card p, .disclaimer-card li { color: var(--text-light); line-height: 1.8; font-size: 0.95rem; opacity: 0.9; }
.disclaimer-card ul { padding-left: 20px; }
.disclaimer-card ul li { margin-bottom: 10px; }
.disclaimer-note { background: rgba(251,146,60,0.1); border-left: 4px solid var(--accent); padding: 15px 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-top: 20px; }
.disclaimer-note p { color: var(--accent) !important; }
.update-date { text-align: center; color: rgba(254,242,242,0.6); font-size: 0.9rem; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

/* --- 子页面追加 --- */
/* 针对排行榜页面的微调：排名列表增强, 防止bootstrap组件白底 */
    .rank-list {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }
.rank-item:hover {
      background: rgba(220,38,38,0.1);
      border-color: var(--accent);
    }
.rank-info {
      flex: 1;
    }
.rank-title {
      font-weight: 600;
      font-size: 1.05rem;
      color: var(--text-light);
      margin-bottom: 0.2rem;
    }
.rank-meta {
      font-size: 0.85rem;
      color: rgba(254,242,242,0.65);
    }
.comparison-table .card-info, .comparison-table .badge-hot {
      background: rgba(20,16,19,0.6);
    }
/* 覆盖bootstrap card 默认白底 (确保安全) */
    .card, .card-body, .card-header, .card-footer {
      background: rgba(20,16,19,0.85) !important;
      color: var(--text-light) !important;
      border-color: rgba(251,146,60,0.25) !important;
    }
.list-group-item {
      background: transparent !important;
      color: var(--text-light) !important;
      border-color: rgba(251,146,60,0.2) !important;
    }
.modal-content, .modal-header, .modal-body {
      background: var(--bg-dark) !important;
      color: var(--text-light) !important;
    }
.form-control {
      background: rgba(0,0,0,0.4) !important;
      color: var(--text-light) !important;
      border-color: var(--accent) !important;
    }
.form-control::placeholder { color: rgba(255,255,255,0.4); }
/* 确保品牌名连续 */
    .navbar-brand {
      font-family: var(--font-title);
      font-weight: 700;
    }