:root {
      --primary: #2563eb;
      --accent: #06b6d4;
      --bg: #f4f8ff;
      --text: #0f1e3d;
      --card-radius: 18px;
      --pill-radius: 50rem;
      --shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
      --hover-shadow: 0 20px 30px -10px rgba(6, 182, 212, 0.15);
    }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Noto Sans SC', 'Inter', sans-serif;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, .display-hero {
      font-family: 'Noto Serif SC', 'Inter', serif;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    /* 滚动进度条 */
    #scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 9999;
      width: 0%;
      transition: width 0.1s;
    }

    /* 吸顶导航 */
    .navbar-custom {
      transition: all 0.35s ease;
      padding-top: 0.8rem;
      padding-bottom: 0.8rem;
    }
    .navbar-custom.scrolled {
      background: rgba(244, 248, 255, 0.8);
      backdrop-filter: blur(18px);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    }
    .navbar-custom .navbar-brand {
      font-weight: 800;
      font-size: 1.8rem;
      letter-spacing: 1px;
      color: var(--primary);
      display: flex;
      align-items: center;
    }

    .nav-link-custom {
      font-weight: 500;
      color: var(--text) !important;
      margin: 0 0.4rem;
      border-radius: var(--pill-radius);
      padding: 0.3rem 1rem !important;
      transition: all 0.2s;
    }
    .nav-link-custom:hover {
      background: rgba(37, 99, 235, 0.08);
      color: var(--primary) !important;
    }

    /* 胶囊 */
    .pill-cat {
      background: white;
      border-radius: var(--pill-radius);
      padding: 0.4rem 1.2rem;
      font-weight: 500;
      font-size: 0.9rem;
      color: var(--text);
      border: 1px solid rgba(37, 99, 235, 0.1);
      transition: all 0.2s;
    }
    .pill-cat.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    .pill-cat:hover {
      background: var(--primary);
      color: white;
    }

    /* 卡片 */
    .movie-card {
      background: white;
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
      border: 1px solid rgba(37, 99, 235, 0.06);
      cursor: pointer;
    }
    .movie-card:hover {
      transform: translateY(-6px) scale(1.02);
      box-shadow: var(--hover-shadow);
      border-color: var(--accent);
    }
    .movie-card .poster {
      height: 260px;
      background: linear-gradient(145deg, #e2e9ff, #f4f8ff);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }
    .movie-card .poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .movie-card .card-body {
      padding: 1rem 1.2rem 1.2rem;
    }
    .rating-badge {
      background: var(--accent);
      color: white;
      border-radius: var(--pill-radius);
      padding: 0.2rem 0.7rem;
      font-weight: 600;
      font-size: 0.8rem;
    }
    .genre-tag {
      background: #eff6ff;
      color: var(--primary);
      border-radius: 50rem;
      padding: 0.1rem 0.8rem;
      font-size: 0.75rem;
    }

    /* 榜单奖牌 */
    .medal {
      font-weight: 800;
      margin-right: 5px;
    }
    .medal-gold { color: #f59e0b; }
    .medal-silver { color: #94a3b8; }
    .medal-bronze { color: #b45309; }

    /* 时间线 */
    .timeline {
      position: relative;
      padding-left: 2rem;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 5px;
      width: 3px;
      height: 100%;
      background: linear-gradient(to bottom, var(--primary), var(--accent));
      border-radius: 5px;
    }
    .timeline-item {
      position: relative;
      margin-bottom: 2rem;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -2.1rem;
      top: 5px;
      width: 15px;
      height: 15px;
      background: white;
      border: 3px solid var(--primary);
      border-radius: 50%;
    }

    /* Hero 标签云 */
    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem 1rem;
      justify-content: center;
    }
    .hero-tags span {
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(5px);
      padding: 0.3rem 1.3rem;
      border-radius: var(--pill-radius);
      font-weight: 500;
      font-size: 1rem;
      border: 1px solid rgba(37,99,235,0.2);
    }

    /* 分类筛选按钮 */
    .filter-bar .pill-cat {
      display: inline-block;
      margin: 0.2rem 0.3rem;
    }

    /* 抽屉弹窗 */
    .drawer-backdrop {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(15,30,61,0.5);
      backdrop-filter: blur(4px);
      z-index: 1050;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .drawer-backdrop.show {
      opacity: 1;
      visibility: visible;
    }
    .drawer-panel {
      position: fixed;
      bottom: 0; left: 0; width: 100%;
      background: white;
      border-radius: 30px 30px 0 0;
      padding: 2rem 2rem 3rem;
      z-index: 1055;
      transform: translateY(100%);
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 -20px 50px rgba(0,0,0,0.15);
      max-height: 85vh;
      overflow-y: auto;
    }
    .drawer-panel.show {
      transform: translateY(0);
    }
    .drawer-close {
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 2rem;
      background: none;
      border: none;
      color: var(--text);
      cursor: pointer;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 800;
      margin-top: 2.5rem;
      margin-bottom: 1.5rem;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 60px;
      height: 5px;
      background: var(--accent);
      border-radius: 10px;
    }

    footer a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
    }
    footer a:hover { color: var(--primary); }

    .friend-link {
      padding: 2rem 0;
    }
    .friend-link a {
      margin-right: 1.8rem;
      color: #3a4a6a;
    }

    /* 滚动spy */
    .navbar-nav .active {
      color: var(--primary) !important;
      font-weight: 600;
    }

/* --- 子页面追加 --- */
/* 确保所有卡片、列表都继承站点背景色，避免bootstrap白底 */
    .rank-card, .rank-list-item, .rank-extra-card {
      background: var(--bg);
      color: var(--text);
      border-radius: var(--card-radius);
    }
.rank-card {
      box-shadow: var(--shadow);
      transition: transform 0.2s, box-shadow 0.2s;
      border: 1px solid rgba(37,99,235,0.08);
    }
.rank-card:hover {
      box-shadow: var(--hover-shadow);
      transform: translateY(-3px);
    }
.rank-number {
      font-weight: 800;
      color: var(--primary);
      background: rgba(37,99,235,0.08);
      width: 2.2rem;
      height: 2.2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50rem;
      font-size: 1rem;
    }
.rank-list-item {
      background: rgba(255,255,255,0.5);
      border-bottom: 1px solid rgba(37,99,235,0.1);
      padding: 0.75rem 0.25rem;
    }
.rank-list-item:last-child {
      border-bottom: none;
    }
.badge-rank {
      background: var(--primary);
      color: white;
      font-size: 0.7rem;
      padding: 0.2rem 0.7rem;
      border-radius: var(--pill-radius);
    }
.friend-link:hover {
      color: var(--accent);
      text-decoration: underline;
    }
/* 榜单数字/标题微调 */
    .rank-cat-tag {
      background: rgba(6,182,212,0.1);
      color: var(--accent);
      padding: 0.2rem 0.8rem;
      border-radius: var(--pill-radius);
      font-size: 0.8rem;
      font-weight: 500;
    }

/* --- 子页面追加 --- */
.about-hero {
            padding: 100px 0 60px;
            background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(6,182,212,0.05) 100%);
        }
.about-section {
            padding: 70px 0;
        }
.about-section:nth-child(even) {
            background: rgba(37,99,235,0.03);
        }
.about-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            margin-bottom: 20px;
        }
.feature-card-custom {
            padding: 28px;
            border-radius: var(--card-radius);
            background: #fff;
            box-shadow: var(--shadow);
            transition: box-shadow .3s ease, transform .3s ease;
            height: 100%;
            border: 1px solid rgba(37,99,235,0.06);
        }
.feature-card-custom:hover {
            box-shadow: var(--hover-shadow);
            transform: translateY(-4px);
        }
.timeline-custom {
            position: relative;
            padding-left: 30px;
            border-left: 2px solid rgba(37,99,235,0.15);
        }
.timeline-custom .timeline-item-custom {
            position: relative;
            padding-bottom: 32px;
        }
.timeline-custom .timeline-item-custom:last-child {
            padding-bottom: 0;
        }
.timeline-custom .timeline-item-custom::before {
            content: '';
            position: absolute;
            left: -37px;
            top: 4px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border: 2px solid #fff;
            box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
        }
.value-stat {
            text-align: center;
            padding: 24px 16px;
            border-radius: var(--card-radius);
            background: #fff;
            box-shadow: var(--shadow);
        }
.value-stat h3 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 4px;
        }
.value-stat p {
            color: var(--text);
            opacity: .7;
            margin: 0;
            font-size: .9rem;
        }
.quote-box {
            background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(6,182,212,0.06));
            border-radius: var(--card-radius);
            padding: 36px;
            border-left: 4px solid var(--primary);
            margin: 40px 0;
        }
.quote-box p {
            font-size: 1.1rem;
            font-style: italic;
            color: var(--text);
            opacity: .85;
            margin-bottom: 0;
        }
.stat-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 40px 0;
        }
.stat-grid {
                grid-template-columns: repeat(2, 1fr);
            }
.about-hero {
                padding: 70px 0 40px;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.05) 100%);
            border-radius: var(--card-radius);
            padding: 3rem 2rem;
            margin-bottom: 2.5rem;
            border: 1px solid rgba(37,99,235,0.08);
        }
.disclaimer-section {
            background: #ffffff;
            border-radius: var(--card-radius);
            padding: 2rem 2.5rem;
            margin-bottom: 1.8rem;
            box-shadow: var(--shadow);
            border-left: 4px solid var(--primary);
            transition: box-shadow 0.3s ease;
        }
.disclaimer-section:hover {
            box-shadow: var(--hover-shadow);
        }
.disclaimer-section h2 {
            color: var(--primary);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.disclaimer-section h2 i {
            color: var(--accent);
            font-size: 1.3rem;
        }
.disclaimer-section p {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }
.disclaimer-section ul {
            color: var(--text);
            line-height: 1.9;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.disclaimer-section ul li {
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
.highlight-box {
            background: rgba(37,99,235,0.05);
            border-radius: 12px;
            padding: 1.2rem 1.5rem;
            margin: 1.2rem 0;
            border: 1px dashed rgba(37,99,235,0.3);
        }
.highlight-box strong {
            color: var(--primary);
        }
.last-updated {
            display: inline-block;
            background: var(--accent);
            color: #ffffff;
            padding: 0.3rem 1rem;
            border-radius: var(--pill-radius);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
.disclaimer-hero {
                padding: 2rem 1.5rem;
            }
.disclaimer-section {
                padding: 1.5rem 1.2rem;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card { background:rgba(0,0,0,.03) !important; color:#0f1e3d !important; border-color:rgba(0,0,0,.12) !important; }
.accordion-item { background:rgba(0,0,0,.03) !important; color:#0f1e3d !important; border-color:rgba(0,0,0,.12) !important; }
.accordion-button { background:rgba(0,0,0,.03) !important; color:#0f1e3d !important; }
.accordion-body { background:transparent !important; color:#0f1e3d !important; }
.accordion-header { background:transparent !important; }
