:root {
      --primary: #e50914;
      --accent: #f5c518;
      --bg: #0b0b0f;
      --text: #f5f5f7;
      --card-bg: #16161e;
      --card-shadow: 0 20px 35px -10px rgba(0,0,0,0.8), 0 8px 15px -6px rgba(0,0,0,0.6);
      --glow: 0 0 15px rgba(229,9,20,0.35);
      --border-radius: 18px;
      --font-title: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
      --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
      --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-weight: 400;
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: 76px;
    }

    h1, h2, h3, h4, h5, h6, .display-title {
      font-family: var(--font-title);
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #fff;
    }

    .display-title {
      font-size: 3.8rem;
      line-height: 1.1;
      text-shadow: 0 10px 25px rgba(0,0,0,0.9);
    }

    @media (max-width: 768px) {
      .display-title { font-size: 2.6rem; }
    }

    a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
    a:hover { color: var(--accent); }

    /* ---------- 拟物厚重卡片 ---------- */
    .heavy-card {
      background: var(--card-bg);
      border-radius: var(--border-radius);
      box-shadow: var(--card-shadow);
      transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1), box-shadow 0.3s ease;
      border: 1px solid rgba(255,255,255,0.04);
      position: relative;
      overflow: hidden;
    }

    .heavy-card:hover {
      transform: translateY(-6px) scale(1.01);
      box-shadow: 0 25px 40px -8px rgba(0,0,0,0.9), 0 0 0 2px rgba(229,9,20,0.25);
    }

    /* 渐变高光 */
    .gradient-highlight {
      background: linear-gradient(135deg, rgba(229,9,20,0.12) 0%, transparent 60%);
    }

    /* ---------- 导航 ---------- */
    .navbar-custom {
      background: rgba(11,11,15,0.92);
      backdrop-filter: blur(15px);
      box-shadow: 0 12px 30px -10px rgba(0,0,0,0.9);
      border-bottom: 1px solid rgba(245,197,24,0.12);
      padding: 0.85rem 0;
    }

    .navbar-brand {
      font-weight: 900;
      font-size: 1.8rem;
      letter-spacing: -0.02em;
      color: #fff !important;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .navbar-brand i {
      color: var(--primary);
      font-size: 2rem;
      filter: drop-shadow(0 0 8px rgba(229,9,20,0.6));
    }

    .nav-link {
      font-weight: 600;
      font-size: 1.05rem;
      color: rgba(245,245,247,0.85) !important;
      padding: 0.5rem 1rem !important;
      border-radius: 40px;
      transition: all 0.2s;
    }

    .nav-link:hover, .nav-link.active {
      color: #fff !important;
      background: rgba(229,9,20,0.18);
      box-shadow: inset 0 0 0 1px rgba(229,9,20,0.3);
    }

    /* ---------- HERO 主视觉 ---------- */
    .hero-section {
      position: relative;
      border-radius: 0 0 40px 40px;
      overflow: hidden;
      margin-bottom: 3.5rem;
      box-shadow: 0 30px 50px -20px #000;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center 20%;
      filter: brightness(0.4) saturate(1.2);
      z-index: 0;
    }

    .hero-overlay {
      position: relative;
      z-index: 2;
      padding: 5rem 2rem 4rem;
      background: linear-gradient(90deg, rgba(11,11,15,0.92) 0%, rgba(11,11,15,0.5) 55%, transparent 100%);
    }

    .hero-sub {
      font-size: 1.15rem;
      color: rgba(245,245,247,0.8);
      max-width: 550px;
      font-weight: 400;
      border-left: 4px solid var(--accent);
      padding-left: 1.25rem;
    }

    .hero-rating-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(8px);
      border-radius: 50px;
      padding: 0.45rem 1.2rem;
      border: 1px solid rgba(245,197,24,0.5);
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--accent);
      box-shadow: var(--glow);
    }

    /* ---------- 海报网格 ---------- */
    .poster-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 1.5rem;
      width: 100%;
    }

    @media (max-width: 1200px) { .poster-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (max-width: 768px) { .poster-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
    @media (max-width: 500px) { .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; } }

    .poster-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      background: #13131c;
      box-shadow: var(--card-shadow);
      transition: all 0.3s cubic-bezier(0.2,0.9,0.4,1);
      aspect-ratio: 2 / 3;
      width: 100%;
      cursor: pointer;
    }

    .poster-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 30px 40px -12px #000, 0 0 0 2px var(--primary);
      z-index: 2;
    }

    .poster-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: filter 0.4s, transform 0.5s;
      background: #1e1e28;
    }

    .poster-card:hover .poster-img {
      filter: brightness(0.7) saturate(1.1);
      transform: scale(1.03);
    }

    /* hover播放按钮 */
    .play-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
      background: radial-gradient(circle, rgba(229,9,20,0.35) 0%, transparent 70%);
    }

    .poster-card:hover .play-overlay {
      opacity: 1;
    }

    .play-overlay i {
      font-size: 3.5rem;
      color: #fff;
      filter: drop-shadow(0 0 12px var(--primary));
      background: rgba(0,0,0,0.5);
      border-radius: 50%;
      padding: 0.5rem;
      transition: transform 0.25s;
    }

    .poster-card:hover .play-overlay i {
      transform: scale(1.1);
    }

    /* 左上角角标 */
    .corner-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: var(--primary);
      color: #fff;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 40px;
      letter-spacing: 0.02em;
      box-shadow: 0 6px 12px rgba(0,0,0,0.6);
      z-index: 3;
      border: 1px solid rgba(255,255,255,0.2);
    }

    .poster-title {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 1.8rem 0.7rem 0.6rem;
      background: linear-gradient(to top, #000 10%, transparent 100%);
      font-weight: 700;
      font-size: 0.9rem;
      color: #fff;
      letter-spacing: -0.01em;
      text-shadow: 0 2px 8px #000;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* 评分星星 */
    .rating-stars {
      position: absolute;
      bottom: 38px;
      left: 8px;
      color: var(--accent);
      font-size: 0.7rem;
      letter-spacing: 1px;
      text-shadow: 0 2px 5px #000;
      z-index: 3;
    }

    .rating-stars i { margin-right: 1px; }

    /* ---------- 小标题装饰 ---------- */
    .section-title {
      font-size: 2.6rem;
      font-weight: 900;
      margin-bottom: 2.2rem;
      display: flex;
      align-items: center;
      gap: 15px;
      letter-spacing: -0.03em;
    }

    .section-title i {
      color: var(--primary);
      font-size: 2rem;
      filter: drop-shadow(0 0 10px rgba(229,9,20,0.5));
    }

    .section-title .title-accent {
      font-size: 1rem;
      font-family: var(--font-mono);
      color: var(--accent);
      margin-left: auto;
      background: rgba(245,197,24,0.12);
      padding: 0.2rem 1rem;
      border-radius: 40px;
      letter-spacing: 0.1em;
    }

    @media (max-width: 768px) {
      .section-title { font-size: 2rem; }
      .section-title .title-accent { display: none; }
    }

    /* ---------- 榜单区块 ---------- */
    .rank-list {
      background: var(--card-bg);
      border-radius: 24px;
      box-shadow: var(--card-shadow);
      padding: 1.8rem 1.5rem;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .rank-item {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      padding: 0.9rem 0.8rem;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      transition: all 0.2s;
      border-radius: 14px;
    }

    .rank-item:last-child { border-bottom: none; }
    .rank-item:hover { background: rgba(229,9,20,0.08); transform: translateX(6px); }

    .rank-number {
      font-family: var(--font-mono);
      font-weight: 800;
      font-size: 1.8rem;
      width: 50px;
      color: var(--accent);
      text-shadow: 0 0 15px rgba(245,197,24,0.4);
    }

    .rank-item:nth-child(1) .rank-number { color: #ffd966; font-size: 2.2rem; }
    .rank-item:nth-child(2) .rank-number { color: #d4d4d8; }
    .rank-item:nth-child(3) .rank-number { color: #cd7f32; }

    .rank-info { flex: 1; }
    .rank-name { font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 3px; }
    .rank-meta { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(245,245,247,0.6); }

    .heat-badge {
      font-family: var(--font-mono);
      background: rgba(229,9,20,0.2);
      border-radius: 40px;
      padding: 0.3rem 1rem;
      font-weight: 700;
      color: var(--primary);
      font-size: 0.95rem;
      border: 1px solid rgba(229,9,20,0.4);
      white-space: nowrap;
    }

    /* ---------- 对比表格 ---------- */
    .compare-table {
      width: 100%;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      background: var(--card-bg);
    }

    .compare-table th {
      background: rgba(229,9,20,0.25);
      color: #fff;
      font-weight: 800;
      padding: 1.1rem 1.2rem;
      font-size: 1.05rem;
      border-bottom: 2px solid var(--primary);
    }

    .compare-table td {
      padding: 1rem 1.2rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      color: rgba(245,245,247,0.9);
      font-weight: 400;
    }

    .compare-table tr:last-child td { border-bottom: none; }

    .compare-table tr:hover td { background: rgba(255,255,255,0.02); }

    .mono { font-family: var(--font-mono); }

    /* ---------- 编号清单 ---------- */
    .numbered-list {
      counter-reset: step;
      list-style: none;
      padding-left: 0;
    }

    .numbered-list li {
      counter-increment: step;
      position: relative;
      padding-left: 3.5rem;
      margin-bottom: 1.6rem;
      font-size: 1.05rem;
      color: rgba(245,245,247,0.85);
    }

    .numbered-list li::before {
      content: counter(step);
      position: absolute;
      left: 0;
      top: -3px;
      width: 2.4rem;
      height: 2.4rem;
      background: linear-gradient(135deg, var(--primary), #a00);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-family: var(--font-mono);
      box-shadow: 0 8px 15px rgba(229,9,20,0.4), inset 0 -2px 5px rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.15);
    }

    /* ---------- 分类筛选区 ---------- */
    .filter-pill {
      display: inline-block;
      background: var(--card-bg);
      padding: 0.6rem 1.6rem;
      border-radius: 50px;
      font-weight: 600;
      color: rgba(245,245,247,0.85);
      box-shadow: 0 8px 16px -6px #000, inset 0 0 0 1px rgba(255,255,255,0.05);
      transition: all 0.2s;
      margin: 0.3rem;
    }

    .filter-pill:hover, .filter-pill.active {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 8px 20px rgba(229,9,20,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    }

    /* ---------- 滚动动画 ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(38px) scale(0.98);
      transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
      will-change: opacity, transform;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    /* 延迟错落 */
    .reveal.delay-1 { transition-delay: 0.05s; }
    .reveal.delay-2 { transition-delay: 0.12s; }
    .reveal.delay-3 { transition-delay: 0.18s; }
    .reveal.delay-4 { transition-delay: 0.24s; }
    .reveal.delay-5 { transition-delay: 0.30s; }

    /* 图片懒加载渐显 */
    .lazy-img {
      opacity: 0;
      transition: opacity 0.6s ease;
    }
    .lazy-img.loaded { opacity: 1; }

    /* ---------- 友链 ---------- */
    .friend-links {
      background: rgba(22,22,30,0.8);
      border-radius: 30px;
      padding: 2rem 2rem;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 15px 30px -12px #000;
      color: rgba(245,245,247,0.7);
    }

    .friend-links h5 {
      color: var(--accent);
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.04em;
      margin-bottom: 1.2rem;
    }

    /* ---------- 页脚 ---------- */
    footer {
      background: #050507;
      border-top: 1px solid rgba(245,197,24,0.08);
      color: rgba(245,245,247,0.6);
      padding: 2rem 0;
      font-size: 0.9rem;
    }

    footer a {
      color: rgba(245,245,247,0.7);
      margin: 0 0.6rem;
      font-weight: 500;
    }

    footer a:hover { color: var(--accent); }

    /* ---------- 移动端导航修正 ---------- */
    .navbar-toggler {
      border-color: rgba(245,197,24,0.5);
      padding: 0.45rem 0.8rem;
    }

    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f5c518' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    @media (max-width: 991px) {
      .navbar-collapse {
        background: rgba(11,11,15,0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 1rem;
        margin-top: 0.8rem;
        border: 1px solid rgba(245,197,24,0.15);
        box-shadow: 0 25px 40px #000;
      }
    }

    /* 平滑滚动 */
    html { scroll-behavior: smooth; }