:root {
      --main: #e50914;
      --accent: #f5c518;
      --bg: #0b0b0f;
      --text: #f5f5f7;
      --card-radius: 20px;
      --soft-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    * { box-sizing: border-box; }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, .brand-text {
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .navbar-custom {
      background-color: rgba(11, 11, 15, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 14px 24px;
      position: sticky;
      top: 0;
      z-index: 999;
    }

    .navbar-brand {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--text) !important;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .navbar-brand .icon {
      color: var(--accent);
    }

    .nav-links a {
      color: #cfcfd6;
      font-weight: 500;
      margin: 0 14px;
      text-decoration: none;
      transition: 0.2s;
    }
    .nav-links a:hover { color: var(--accent); }

    .mobile-toggler { font-size: 1.6rem; background: none; border: none; color: var(--text); }

    /* hero */
    .hero-section {
      position: relative;
      text-align: center;
      padding: 4rem 1.5rem 3rem;
      background: radial-gradient(circle at 30% 20%, rgba(229, 9, 20, 0.18), transparent 60%),
                  radial-gradient(circle at 80% 40%, rgba(245, 197, 24, 0.1), transparent 50%);
    }
    .gradient-text {
      background: linear-gradient(135deg, #ffffff 0%, #f5c518 40%, #e50914 90%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 900;
      font-size: 3.4rem;
      line-height: 1.2;
    }
    .floating-icon {
      position: absolute;
      font-size: 2.2rem;
      opacity: 0.3;
      animation: float 6s infinite ease-in-out;
    }
    .fi1 { top: 20px; left: 8%; animation-delay: 0s; }
    .fi2 { top: 70px; right: 12%; animation-delay: 1s; }
    .fi3 { bottom: 30px; left: 15%; animation-delay: 2s; color: var(--accent); }
    @keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

    /* 区块通用 */
    .section-title {
      font-size: 2rem;
      font-weight: 800;
      margin: 2rem 0 1.8rem;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-title i { color: var(--accent); }

    /* 卡片 */
    .movie-card {
      background: #16161f;
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--soft-shadow);
      transition: transform 0.2s ease, box-shadow 0.2s;
      cursor: pointer;
      height: 100%;
      display: flex;
      flex-direction: column;
      position: relative;
      border: 1px solid rgba(255,255,255,0.04);
    }
    .movie-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(0,0,0,0.7); }
    .poster-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2 / 3;
      background: #22222e;
    }
    .poster-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.45s;
    }
    .movie-card:hover .poster-wrap img { transform: scale(1.06); }
    .badge-update {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(229, 9, 20, 0.9);
      color: #fff;
      padding: 4px 10px;
      border-radius: 50px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      backdrop-filter: blur(4px);
    }
    .rating-badge {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: rgba(0,0,0,0.75);
      backdrop-filter: blur(4px);
      color: var(--accent);
      padding: 4px 10px;
      border-radius: 40px;
      font-weight: 700;
      font-size: 0.8rem;
      border: 1px solid rgba(255,255,255,0.15);
    }
    .movie-info {
      padding: 14px 12px 16px;
      background: #16161f;
      flex: 1;
    }
    .movie-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 6px;
      color: #fff;
    }
    .movie-meta {
      display: flex;
      justify-content: space-between;
      color: #aaaaaa;
      font-size: 0.75rem;
    }

    /* 分类矩阵 */
    .genre-tag {
      background: #1e1e2a;
      border-radius: 30px;
      padding: 4px 12px;
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 500;
    }

    /* 热度榜 */
    .rank-number {
      font-size: 2rem;
      font-weight: 900;
      color: var(--accent);
      text-shadow: 0 0 12px rgba(245,197,24,0.3);
      width: 50px;
    }

    /* 步骤条 说明 */
    .step-item {
      background: #181823;
      border-radius: 18px;
      padding: 24px 18px;
      text-align: center;
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.04);
    }
    .step-number {
      width: 44px;
      height: 44px;
      background: var(--main);
      color: #fff;
      border-radius: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      font-weight: 800;
      font-size: 1.4rem;
    }

    /* 抽屉弹窗 */
    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(4px);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 1050;
    }
    .drawer-panel {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      background: #171721;
      border-radius: 28px 28px 0 0;
      padding: 26px 24px 34px;
      transform: translateY(100%);
      transition: 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
      z-index: 1060;
      max-height: 80vh;
      overflow-y: auto;
      border-top: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 -10px 30px rgba(0,0,0,0.6);
    }
    .drawer-overlay.show { opacity: 1; visibility: visible; }
    .drawer-panel.show { transform: translateY(0); }

    .footer {
      background: #0d0d13;
      border-top: 1px solid #1f1f2b;
      padding: 2rem 0;
      color: #9a9aab;
    }
    .friend-links {
      background: #12121a;
      padding: 1.8rem 1rem;
      border-radius: 26px;
      margin: 2rem 0;
    }
    .back-to-top {
      position: fixed;
      right: 22px;
      bottom: 22px;
      background: var(--main);
      color: white;
      width: 48px;
      height: 48px;
      border-radius: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      border: none;
      z-index: 1000;
      box-shadow: 0 8px 18px rgba(229,9,20,0.4);
    }
    .back-to-top.show { opacity: 1; visibility: visible; }

    /* 数字滚动动画 */
    .count-number { font-weight: 800; font-size: 2.4rem; color: var(--accent); }

/* --- 子页面追加 --- */
/* 关于我们页面专属补充样式 */
        .about-hero { position: relative; padding: 120px 0 60px; text-align: center; }
.about-hero h1 { font-size: 2.8rem; font-weight: 900; }
.about-section { padding: 60px 0; }
.about-section .section-title { margin-bottom: 30px; }
.about-card { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color, rgba(255,255,255,0.1)); border-radius: var(--card-radius); padding: 30px; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-card:hover { transform: translateY(-5px); box-shadow: var(--soft-shadow); }
.about-card .icon-wrap { font-size: 2.2rem; color: var(--main); margin-bottom: 15px; }
.about-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.about-card p { color: rgba(245,245,247,0.85); line-height: 1.7; font-size: 0.95rem; }
.about-highlight { background: linear-gradient(135deg, rgba(229,9,20,0.1), rgba(245,197,24,0.1)); border: 1px solid rgba(229,9,20,0.3); }
.timeline-item { position: relative; padding-left: 30px; margin-bottom: 25px; border-left: 2px solid var(--main); }
.timeline-item::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--main); }
.timeline-item .year { color: var(--accent); font-weight: 800; font-size: 1.1rem; }
.timeline-item p { color: rgba(245,245,247,0.85); margin-top: 5px; line-height: 1.6; }
.about-list { list-style: none; padding: 0; }
.about-list li { padding: 8px 0; color: rgba(245,245,247,0.85); border-bottom: 1px dashed rgba(255,255,255,0.1); }
.about-list li i { color: var(--accent); margin-right: 10px; }
.about-stats { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; padding: 20px; background: rgba(255,255,255,0.03); border-radius: var(--card-radius); min-width: 150px; }
.stat-item .stat-num { font-size: 2.5rem; font-weight: 900; color: var(--main); }
.stat-item .stat-label { color: rgba(245,245,247,0.7); font-size: 0.9rem; margin-top: 5px; }
.about-hero h1 { font-size: 2rem; }
.about-section { padding: 40px 0; }

/* --- 子页面追加 --- */
/* 排行榜页面专属样式 */
        .rank-header {
            padding: 60px 0 30px;
            text-align: center;
            position: relative;
        }
.rank-header h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 12px;
        }
.rank-header p {
            color: rgba(255,255,255,0.7);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
.rank-tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin: 40px 0 10px;
        }
.rank-tab {
            padding: 10px 28px;
            border-radius: 50px;
            background: rgba(255,255,255,0.08);
            color: var(--text);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            letter-spacing: 0.5px;
        }
.rank-tab:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-2px);
        }
.rank-tab.active {
            background: var(--main);
            color: #fff;
            box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35);
        }
.rank-list {
            margin-top: 30px;
            padding-bottom: 30px;
        }
.rank-card {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            background: rgba(255,255,255,0.04);
            border-radius: 16px;
            margin-bottom: 14px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.05);
            cursor: pointer;
        }
.rank-card:hover {
            background: rgba(255,255,255,0.08);
            transform: translateX(6px);
            border-color: rgba(229, 9, 20, 0.3);
        }
.rank-poster {
            width: 80px;
            height: 112px;
            border-radius: 10px;
            object-fit: cover;
            margin-right: 18px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 4px;
        }
.rank-meta {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.6);
            margin-bottom: 6px;
        }
.rank-genre {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
.rank-rating {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--accent);
            margin-left: 12px;
            min-width: 60px;
            text-align: center;
        }
.rank-rating small {
            display: block;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.5);
            font-weight: 400;
        }
.rank-trend {
            font-size: 0.8rem;
            color: #4ade80;
            margin-left: 8px;
            font-weight: 500;
        }
.rank-trend.down { color: #f87171; }
.rank-trend.flat { color: rgba(255,255,255,0.4); }
.rank-section-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin: 50px 0 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(229, 9, 20, 0.3);
            position: relative;
        }
.rank-section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 80px;
            height: 2px;
            background: var(--main);
        }
.rank-note {
            background: rgba(245, 197, 24, 0.06);
            border-left: 4px solid var(--accent);
            padding: 18px 20px;
            border-radius: 0 12px 12px 0;
            margin: 30px 0;
            font-size: 0.95rem;
            line-height: 1.7;
            color: rgba(255,255,255,0.85);
        }
.update-time {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.5);
            text-align: center;
            margin-top: 6px;
        }
.fa-caret-up { color: #4ade80; }
.fa-caret-down { color: #f87171; }
.fa-minus { color: rgba(255,255,255,0.4); }
.rank-header h1 { font-size: 2rem; }
.rank-card { flex-wrap: wrap; padding: 14px; }
.rank-poster { width: 60px; height: 85px; margin-right: 12px; }
.rank-rating { font-size: 1rem; min-width: 45px; margin-left: 6px; }
.rank-title { font-size: 1rem; }

/* --- 子页面追加 --- */
.disclaimer-hero { background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(11, 11, 15, 0.8) 50%, rgba(245, 197, 24, 0.08) 100%); padding: 60px 0 40px; position: relative; overflow: hidden; }
.disclaimer-hero::before { content: ''; position: absolute; top: -50%; left: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 70%); pointer-events: none; }
.disclaimer-section { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--card-radius); padding: 32px; margin-bottom: 28px; transition: all 0.3s ease; }
.disclaimer-section:hover { border-color: rgba(229, 9, 20, 0.3); box-shadow: var(--soft-shadow); }
.disclaimer-section h2 { color: var(--accent); font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.disclaimer-section h2 i { color: var(--main); font-size: 1.2rem; }
.disclaimer-section p, .disclaimer-section li { color: rgba(245, 245, 247, 0.85); font-size: 0.95rem; line-height: 1.9; }
.disclaimer-section ul { padding-left: 20px; margin-top: 10px; }
.disclaimer-section li { margin-bottom: 10px; }
.disclaimer-section li::marker { color: var(--main); }
.highlight-text { color: var(--accent); font-weight: 600; }
.contact-card { background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(11, 11, 15, 0.6) 100%); border: 1px solid rgba(229, 9, 20, 0.25); }
.last-updated { color: rgba(245, 245, 247, 0.5); font-size: 0.85rem; text-align: right; margin-top: 20px; font-style: italic; }
.badge-custom { display: inline-block; background: rgba(229, 9, 20, 0.2); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-right: 8px; margin-bottom: 8px; border: 1px solid rgba(229, 9, 20, 0.3); }
.disclaimer-section h3 { color: var(--text); font-size: 1.1rem; font-weight: 600; margin: 20px 0 12px; }
.disclaimer-section strong { color: var(--accent); }
.disclaimer-section a { color: var(--main); text-decoration: none; transition: all 0.3s; }
.disclaimer-section a:hover { color: var(--accent); text-decoration: underline; }