:root {
      --main: #6d5dfc;
      --accent: #22d3ee;
      --bg: #0f1020;
      --text: #e8eaf6;
      --card-bg: #1b1c30;
      --shadow: rgba(0, 0, 0, 0.6);
      --hover-shadow: rgba(109, 93, 252, 0.4);
    }
    * { font-family: 'Inter', system-ui, sans-serif; }
    body {
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }
    /* 滚动关键词标签云 */
    .hero-keywords {
      background: linear-gradient(145deg, #1c1d35, #12132a);
      padding: 1.2rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      overflow: hidden;
      white-space: nowrap;
      box-shadow: inset 0 8px 15px -10px rgba(0,0,0,0.8);
    }
    .keyword-cloud {
      display: inline-block;
      animation: scrollKeywords 35s linear infinite;
    }
    .keyword-cloud span {
      background: rgba(109, 93, 252, 0.2);
      border: 1px solid var(--main);
      color: var(--accent);
      padding: 0.3rem 1.2rem;
      margin: 0 0.6rem;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(34,211,238,0.2);
    }
    @keyframes scrollKeywords {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    /* 导航栏拟物 */
    .navbar-bajie {
      background: #171832;
      box-shadow: 0 12px 20px -10px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
      padding: 0.8rem 0;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.8rem;
      background: linear-gradient(145deg, var(--main), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: 1px;
      text-shadow: 0 4px 12px rgba(109,93,252,0.4);
    }
    .nav-link-custom {
      color: var(--text) !important;
      font-weight: 600;
      margin: 0 0.5rem;
      text-shadow: 0 2px 4px rgba(0,0,0,0.5);
      transition: all 0.2s;
    }
    .nav-link-custom:hover {
      color: var(--accent) !important;
      text-shadow: 0 0 15px var(--accent);
    }
    /* 通用板块 */
    .section-title {
      font-weight: 800;
      border-left: 10px solid var(--main);
      padding-left: 1rem;
      text-shadow: 0 4px 10px rgba(109,93,252,0.5);
      letter-spacing: 1px;
      font-size: 1.7rem;
    }
    .section-title i { color: var(--accent); margin-right: 8px; }
    .movie-card {
      background: var(--card-bg);
      border-radius: 16px;
      box-shadow: 0 15px 25px -8px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.1);
      transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
      cursor: pointer;
      height: 100%;
      border: 1px solid rgba(255,255,255,0.03);
      transform-style: preserve-3d;
      position: relative;
      overflow: hidden;
    }
    .movie-card:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 28px 45px -12px var(--hover-shadow), inset 0 1px 0 rgba(255,255,255,0.2);
      border-color: var(--main);
    }
    .card-poster {
      position: relative;
      overflow: hidden;
      border-radius: 16px 16px 0 0;
    }
    .card-poster img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      transition: transform 0.5s ease;
      display: block;
    }
    .movie-card:hover .card-poster img {
      transform: scale(1.1);
    }
    .quality-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(4px);
      border-radius: 8px;
      padding: 2px 8px;
      font-size: 0.75rem;
      font-weight: 800;
      color: var(--accent);
      border: 1px solid var(--accent);
      box-shadow: 0 0 10px rgba(34,211,238,0.5);
      z-index: 5;
    }
    .rating-star {
      color: #fbbf24;
      font-size: 0.9rem;
      font-weight: 700;
      text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    .card-body {
      padding: 0.9rem 0.8rem 0.8rem;
    }
    .movie-title {
      font-weight: 700;
      font-size: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 4px;
      color: #fff;
    }
    .movie-meta {
      font-size: 0.8rem;
      color: #a0a4c0;
      display: flex;
      justify-content: space-between;
    }
    /* 榜单特殊样式 */
    .rank-badge {
      background: linear-gradient(145deg, var(--main), #8b7bff);
      border-radius: 20px;
      font-weight: 900;
      min-width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 15px rgba(109,93,252,0.6);
    }
    .rank-list-item {
      background: rgba(255,255,255,0.03);
      border-radius: 20px;
      padding: 0.5rem 0.8rem;
      margin-bottom: 0.5rem;
      border: 1px solid rgba(255,255,255,0.05);
      transition: all 0.2s;
    }
    .rank-list-item:hover {
      background: rgba(109,93,252,0.1);
      transform: translateX(6px);
    }
    /* 分类入口 */
    .category-chip {
      background: #1f2040;
      border-radius: 50px;
      padding: 0.6rem 1.3rem;
      margin: 0.3rem;
      font-weight: 700;
      display: inline-block;
      border: 1px solid var(--main);
      box-shadow: 0 8px 15px rgba(0,0,0,0.5);
      transition: all 0.2s;
      color: var(--text);
    }
    .category-chip:hover {
      background: var(--main);
      color: white;
      transform: scale(1.03);
    }
    /* 步骤条 */
    .step-guide {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      background: #181932;
      padding: 2rem;
      border-radius: 40px;
      box-shadow: inset 0 5px 15px rgba(0,0,0,0.6);
    }
    .step-item {
      background: #232548;
      border-radius: 100px;
      padding: 1rem 1.8rem;
      font-weight: 600;
      box-shadow: 0 15px 25px rgba(0,0,0,0.5);
      border-bottom: 4px solid var(--main);
    }
    /* 弹窗翻转卡片 */
    .flip-modal {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(5,5,20,0.7);
      backdrop-filter: blur(6px);
      z-index: 1000;
      display: none;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .flip-modal.show {
      display: flex;
      opacity: 1;
    }
    .flip-card-inner {
      width: 360px;
      height: 500px;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.7s;
      box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    }
    .flip-card-inner.flipped {
      transform: rotateY(180deg);
    }
    .flip-front, .flip-back {
      position: absolute;
      width: 100%; height: 100%;
      backface-visibility: hidden;
      border-radius: 24px;
      overflow: hidden;
      background: #1d1e38;
      border: 1px solid var(--main);
    }
    .flip-front img { width: 100%; height: 100%; object-fit: cover; }
    .flip-back {
      transform: rotateY(180deg);
      padding: 1.5rem;
      background: #222448;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .flip-back h3 { font-weight: 800; }
    .close-flip {
      position: absolute;
      top: 12px; right: 12px;
      background: #000;
      border: none;
      color: white;
      width: 36px; height: 36px;
      border-radius: 50%;
      z-index: 20;
    }
    /* 回到顶部 */
    #backToTop {
      position: fixed;
      bottom: 30px; right: 30px;
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--main);
      border: none;
      color: white;
      font-size: 1.4rem;
      box-shadow: 0 8px 20px rgba(0,0,0,0.5);
      z-index: 500;
      display: none;
      transition: all 0.3s;
    }
    #backToTop.visible {
      display: block;
      animation: popIn 0.4s;
    }
    @keyframes popIn {
      0% { transform: scale(0.5); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }
    /* 数字滚动 */
    .stat-number { font-size: 2.2rem; font-weight: 900; color: var(--accent); }
    /* 页脚 */
    footer {
      background: #101126;
      border-top: 2px solid var(--main);
      padding: 2rem 0;
      color: #b9bcda;
    }
    footer a { color: var(--accent); text-decoration: none; }

/* --- 子页面追加 --- */
.rank-hero {
            background: linear-gradient(135deg, rgba(109, 93, 252, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
            border: 1px solid rgba(109, 93, 252, 0.2);
            border-radius: 20px;
            padding: 40px 30px;
            margin-top: 30px;
            position: relative;
            overflow: hidden;
        }
.rank-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(109, 93, 252, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }
.rank-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--main), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
        }
.rank-hero p {
            color: rgba(232, 234, 246, 0.8);
            font-size: 1.05rem;
            max-width: 700px;
        }
.rank-section {
            margin-top: 50px;
        }
.rank-section .section-title {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 25px;
        }
.rank-section .section-title i {
            font-size: 1.5rem;
            color: var(--main);
        }
.rank-badge.top-1 {
            background: linear-gradient(135deg, #ffd700, #ffaa00);
            color: #1a1a1a;
        }
.rank-badge.top-2 {
            background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
            color: #1a1a1a;
        }
.rank-badge.top-3 {
            background: linear-gradient(135deg, #cd7f32, #b87333);
            color: #1a1a1a;
        }
.rank-info {
            flex: 1;
            min-width: 0;
        }
.rank-info .movie-title {
            font-weight: 600;
            font-size: 1.05rem;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-info .movie-meta {
            font-size: 0.85rem;
            color: rgba(232, 234, 246, 0.6);
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
.rank-rating {
            display: flex;
            align-items: center;
            gap: 5px;
            color: var(--accent);
            font-weight: 600;
            flex-shrink: 0;
            margin-left: 15px;
        }
.rank-rating i {
            color: #ffd700;
        }
.rank-rating .score {
            font-size: 1.2rem;
            font-weight: 700;
        }
.update-info {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(232, 234, 246, 0.5);
            font-size: 0.9rem;
            margin-top: 20px;
            padding: 12px 20px;
            background: rgba(109, 93, 252, 0.08);
            border-radius: 10px;
            border: 1px solid rgba(109, 93, 252, 0.15);
        }
.update-info i {
            color: var(--main);
        }
.trending-badge {
            background: linear-gradient(135deg, var(--main), var(--accent));
            color: #fff;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 8px;
        }
.rank-hero {
                padding: 25px 20px;
            }
.rank-hero h1 {
                font-size: 1.6rem;
            }
.rank-rating {
                margin-left: 10px;
            }
.rank-rating .score {
                font-size: 1rem;
            }
.rank-info .movie-meta {
                flex-direction: column;
                gap: 3px;
            }

/* --- 子页面追加 --- */
.about-hero { padding: 80px 0 40px; text-align: center; }
.about-hero h1 { font-size: 2.8rem; font-weight: 800; background: linear-gradient(135deg, var(--main), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-hero .subtitle { color: rgba(232, 234, 246, 0.7); font-size: 1.1rem; max-width: 700px; margin: 20px auto; }
.about-section { padding: 60px 0; }
.about-section.alt { background: rgba(27, 28, 48, 0.4); }
.about-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 32px; margin-bottom: 24px; transition: all 0.3s ease; }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px var(--hover-shadow); }
.about-card .icon { font-size: 2.2rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.about-card p { color: rgba(232, 234, 246, 0.75); line-height: 1.7; font-size: 0.95rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 40px 0; }
.stat-item { text-align: center; padding: 24px 16px; background: var(--card-bg); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.stat-item .stat-number { font-size: 2rem; font-weight: 700; color: var(--main); }
.stat-item .stat-label { color: rgba(232, 234, 246, 0.7); font-size: 0.9rem; margin-top: 8px; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: flex-start; gap: 12px; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--accent); margin-top: 4px; }
.feature-list li span { color: rgba(232, 234, 246, 0.85); line-height: 1.6; }
.about-quote { border-left: 4px solid var(--main); padding-left: 20px; margin: 30px 0; font-style: italic; color: rgba(232, 234, 246, 0.8); }

/* --- 子页面追加 --- */
.disclaimer-page { padding: 60px 0 80px; }
.disclaimer-header { text-align: center; margin-bottom: 50px; }
.disclaimer-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }
.disclaimer-header p { color: var(--text); opacity: .7; font-size: 1.05rem; }
.disclaimer-section { background: var(--card-bg); border-radius: 16px; padding: 35px 40px; margin-bottom: 25px; border: 1px solid rgba(109,93,252,.15); }
.disclaimer-section h2 { color: var(--main); font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.disclaimer-section h2 i { color: var(--accent); font-size: 1.2rem; }
.disclaimer-section p { color: var(--text); line-height: 1.8; margin-bottom: 12px; font-size: .95rem; }
.disclaimer-section ul { padding-left: 20px; margin-bottom: 15px; }
.disclaimer-section ul li { color: var(--text); line-height: 1.8; margin-bottom: 8px; font-size: .95rem; }
.disclaimer-section ul li::marker { color: var(--accent); }
.highlight-box { background: rgba(109,93,252,.08); border-left: 4px solid var(--main); padding: 15px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.highlight-box p { margin-bottom: 0; font-style: italic; }
.last-updated { text-align: center; color: var(--text); opacity: .5; font-size: .85rem; margin-top: 30px; }
.disclaimer-header h1 { font-size: 1.8rem; }
.disclaimer-section { padding: 25px 20px; }