:root {
      --primary: #10b981;
      --accent: #fbbf24;
      --bg-dark: #0a1410;
      --text-light: #ecfdf5;
      --card-radius: 14px;
      --card-shadow: 0 8px 20px rgba(0,0,0,0.6);
      --font-main: 'Inter', sans-serif;
    }
    * { box-sizing: border-box; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: var(--font-main);
      font-size: 14px;
      line-height: 1.5;
      padding-top: 72px;
    }
    /* 滚动进度条 */
    #scrollProgress {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      width: 0%;
      background: var(--accent);
      z-index: 9999;
      transition: width 0.1s;
    }
    /* 导航 */
    .navbar {
      background: rgba(10, 20, 16, 0.92) !important;
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(16, 185, 129, 0.3);
      padding: 0.6rem 1rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.7rem;
      color: var(--primary) !important;
      letter-spacing: -0.5px;
    }
    .navbar-brand i { margin-right: 5px; }
    .navbar-nav .nav-link {
      color: #d1fae5;
      font-weight: 500;
      margin: 0 8px;
      border-radius: 30px;
      padding: 6px 16px;
      transition: all 0.2s;
    }
    .navbar-nav .nav-link:hover {
      background: rgba(16,185,129,0.15);
      color: var(--primary);
    }
    .btn-capsule {
      border-radius: 50rem;
      background: var(--primary);
      border: none;
      color: #04120b;
      font-weight: 700;
      padding: 6px 22px;
    }
    .hero {
      position: relative;
      min-height: 480px;
      background: linear-gradient(180deg, #0d1f17 0%, #0a1410 90%), url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
      background-blend-mode: overlay;
      display: flex;
      align-items: flex-end;
      padding: 40px 5% 60px;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(10,20,16,0.9) 0%, rgba(10,20,16,0.2) 80%);
    }
    .hero-content { position: relative; z-index: 3; }
    .hero h1 {
      font-weight: 900;
      font-size: calc(2.2rem + 1.2vw);
      letter-spacing: -1px;
    }
    .hero .lead {
      max-width: 700px;
      font-size: 1.1rem;
      color: #b9e6d3;
    }
    /* 区块标题 */
    .section-title {
      font-weight: 800;
      font-size: 1.8rem;
      margin: 40px 0 24px;
      border-left: 6px solid var(--primary);
      padding-left: 20px;
    }
    .section-title i { color: var(--accent); margin-right: 8px; }
    /* 海报卡片 */
    .movie-card {
      background: #10221b;
      border: none;
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.25s ease;
      cursor: pointer;
      position: relative;
      height: 100%;
    }
    .movie-card:hover {
      transform: scale(1.02) translateY(-5px);
      box-shadow: 0 16px 30px rgba(0,0,0,0.8);
      border: 1px solid rgba(16,185,129,0.4);
    }
    .card-img-wrapper {
      position: relative;
      aspect-ratio: 2/3;
      background: #07130e;
      overflow: hidden;
    }
    .card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .movie-card:hover .card-img-wrapper img { transform: scale(1.08); }
    .quality-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(0,0,0,0.75);
      color: var(--accent);
      font-size: 11px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      z-index: 2;
    }
    .card-body {
      padding: 12px;
      background: #10221b;
    }
    .card-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-rating {
      color: var(--accent);
      font-weight: 600;
      font-size: 0.9rem;
    }
    .card-meta {
      font-size: 0.8rem;
      color: #a7b9ae;
    }
    /* 分类入口 */
    .category-pill {
      background: #132b21;
      border-radius: 50rem;
      padding: 10px 22px;
      font-weight: 600;
      color: var(--text-light);
      transition: 0.2s;
      border: 1px solid rgba(16,185,129,0.2);
    }
    .category-pill:hover {
      background: var(--primary);
      color: #052015;
      border-color: var(--primary);
    }
    /* 排行榜 */
    .rank-list {
      background: #0d1f17;
      border-radius: 20px;
      padding: 20px;
    }
    .rank-item {
      display: flex;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid #1d352a;
      padding: 10px 6px;
    }
    .rank-num {
      font-weight: 900;
      font-size: 1.5rem;
      color: var(--accent);
      width: 45px;
      font-family: monospace;
    }
    /* 侧边栏弹窗 */
    .detail-sidebar {
      position: fixed;
      top: 0; right: -460px;
      width: 420px;
      max-width: 92vw;
      height: 100vh;
      background: #10221b;
      z-index: 10000;
      transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: -8px 0 30px rgba(0,0,0,0.6);
      border-left: 2px solid var(--primary);
      padding: 20px;
      overflow-y: auto;
    }
    .detail-sidebar.open { right: 0; }
    .sidebar-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      z-index: 9999;
      opacity: 0;
      pointer-events: none;
      transition: 0.2s;
    }
    .sidebar-backdrop.active { opacity: 1; pointer-events: auto; }
    .close-btn {
      background: none;
      border: none;
      color: var(--accent);
      font-size: 2rem;
      position: absolute;
      top: 8px; right: 15px;
      line-height: 1;
    }
    /* 页脚 */
    .footer {
      background: #07130e;
      padding: 30px 0;
      margin-top: 60px;
      border-top: 1px solid #1d352a;
      font-size: 14px;
    }
    .friend-links {
      background: #0d1f17;
      border-radius: 30px;
      padding: 18px 24px;
      margin: 30px 0;
      text-align: center;
    }
    .friend-links a { color: var(--primary); margin: 0 10px; }
    /* 通用等宽数据 */
    .mono-data { font-family: 'Courier New', monospace; }
    /* 小贴士步骤条 */
    .tip-step {
      background: #0d1f17;
      border-radius: 18px;
      padding: 18px;
      height: 100%;
    }
    .tip-step i { color: var(--accent); font-size: 1.8rem; }
    /* 组件按钮 */
    .random-reco {
      background: var(--primary);
      border: none;
      border-radius: 40px;
      padding: 12px 35px;
      font-weight: 700;
      color: #062018;
      box-shadow: 0 4px 15px rgba(16,185,129,0.4);
    }
    #recoText {
      background: #10221b;
      border-radius: 40px;
      padding: 15px 25px;
      font-size: 1.1rem;
      border-left: 4px solid var(--accent);
    }

/* --- 子页面追加 --- */
.about-hero { position: relative; padding: 120px 0 80px; background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1f18 100%); overflow: hidden; }
.about-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%); border-radius: 50%; }
.about-hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(251,191,36,0.1) 0%, transparent 70%); border-radius: 50%; }
.about-hero .container { position: relative; z-index: 2; }
.about-hero h1 { font-size: 2.8rem; font-weight: 800; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.2; }
.about-hero h1 span { color: var(--primary); }
.about-hero .lead { color: rgba(236,253,245,0.75); font-size: 1.2rem; max-width: 700px; }
.about-section { padding: 80px 0; background: var(--bg-dark); }
.about-section .section-title { text-align: center; margin-bottom: 50px; }
.about-section .section-title h2 { font-size: 2rem; font-weight: 700; color: var(--text-light); }
.about-section .section-title h2 span { color: var(--primary); }
.about-section .section-title p { color: rgba(236,253,245,0.6); margin-top: 15px; }
.about-card { background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.15); border-radius: var(--card-radius); padding: 35px; height: 100%; transition: all 0.3s ease; }
.about-card:hover { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); transform: translateY(-5px); }
.about-card .icon-wrap { width: 56px; height: 56px; background: rgba(16,185,129,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.about-card .icon-wrap i { font-size: 24px; color: var(--primary); }
.about-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-light); margin-bottom: 15px; }
.about-card p { color: rgba(236,253,245,0.7); font-size: 0.95rem; line-height: 1.8; }
.timeline-section { padding: 80px 0; background: #0d1f18; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--primary), var(--accent), transparent); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-item .timeline-content { background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.15); border-radius: var(--card-radius); padding: 25px; }
.timeline-item .timeline-content h4 { color: var(--primary); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.timeline-item .timeline-content p { color: rgba(236,253,245,0.7); font-size: 0.9rem; line-height: 1.7; }
.timeline-item .timeline-dot { position: absolute; top: 30px; width: 16px; height: 16px; background: var(--primary); border-radius: 50%; border: 3px solid var(--bg-dark); box-shadow: 0 0 20px rgba(16,185,129,0.5); }
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-item .timeline-date { display: inline-block; padding: 4px 14px; background: rgba(251,191,36,0.15); color: var(--accent); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.stats-section { padding: 60px 0; background: var(--bg-dark); }
.stat-box { text-align: center; padding: 30px; background: rgba(16,185,129,0.03); border: 1px solid rgba(16,185,129,0.1); border-radius: var(--card-radius); }
.stat-box .stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: 'Inter', sans-serif; }
.stat-box .stat-label { color: rgba(236,253,245,0.6); font-size: 0.9rem; margin-top: 8px; }
.values-section { padding: 80px 0; background: #0d1f18; }
.value-item { text-align: center; padding: 30px 20px; }
.value-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.value-item h4 { color: var(--text-light); font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.value-item p { color: rgba(236,253,245,0.6); font-size: 0.9rem; line-height: 1.7; }
.about-hero { padding: 80px 0 60px; }
.about-hero h1 { font-size: 2rem; }
.timeline::before { left: 30px; }
.timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { width: 100%; left: 0; padding-left: 70px; padding-right: 20px; text-align: left; }
.timeline-item .timeline-dot, .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 22px; right: auto; }

/* --- 子页面追加 --- */
/* 保证Bootstrap组件色系一致，但优先使用自定义类 */
    .card, .card-body, .card-header, .card-footer, .list-group-item {
      background: var(--bg-dark) !important;
      color: var(--text-light) !important;
      border-color: rgba(255,255,255,0.08) !important;
    }
.form-control, .form-select {
      background: rgba(0,0,0,0.35);
      color: var(--text-light);
      border-color: rgba(255,255,255,0.15);
    }
.form-control::placeholder {
      color: rgba(255,255,255,0.45);
    }
/* 确保导航高亮 */
    .nav-link.active {
      color: var(--accent) !important;
      font-weight: 600;
    }
/* 免责声明正文排版 */
    .disclaimer-hero {
      padding: 4rem 0 2rem;
    }
.disclaimer-title {
      font-size: 2.5rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }
.disclaimer-sub {
      color: rgba(236, 253, 245, 0.75);
      font-size: 1.05rem;
      max-width: 780px;
    }
.section-marker {
      color: var(--accent);
      margin-right: 0.5rem;
    }
.legal-block {
      background: rgba(255,255,255,0.02);
      border-left: 4px solid var(--primary);
      border-radius: 0 12px 12px 0;
      padding: 1.5rem 1.8rem;
      margin-bottom: 2rem;
    }
.legal-list {
      list-style: none;
      padding-left: 0;
    }
.legal-list li {
      padding-left: 1.8rem;
      position: relative;
      margin-bottom: 0.75rem;
      color: rgba(236, 253, 245, 0.85);
    }
.legal-list li::before {
      content: "◆";
      color: var(--primary);
      position: absolute;
      left: 0;
      font-size: 0.9rem;
      top: 0.1rem;
    }
.footer a {
      color: var(--text-light);
      opacity: 0.8;
    }
.footer a:hover {
      color: var(--primary);
    }

/* --- 子页面追加 --- */
/* 排行榜页面专属样式 */
    .rank-hero {
      background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(0,0,0,0) 60%), var(--bg-dark);
      padding: 3rem 0 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
.rank-hero h1 {
      font-weight: 800;
      font-size: 2.2rem;
      margin-bottom: 0.5rem;
    }
.rank-hero p {
      color: rgba(236,253,245,0.7);
      max-width: 720px;
    }
.rank-tabs {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin: 2rem 0 1.5rem;
    }
.rank-tab-btn {
      padding: 0.5rem 1.4rem;
      border-radius: 50px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--text-light);
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
    }
.rank-tab-btn:hover, .rank-tab-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #04110c;
    }
.rank-panel {
      display: none;
    }
.rank-panel.active {
      display: block;
    }
.rank-list:hover {
      background: rgba(16,185,129,0.08);
      border-color: rgba(16,185,129,0.3);
      transform: translateX(5px);
      color: var(--text-light);
    }
.rank-num.gold { color: #fbbf24; }
.rank-num.silver { color: #c0c0c0; }
.rank-num.bronze { color: #cd7f32; }
.rank-poster {
      width: 64px;
      height: 88px;
      border-radius: 8px;
      object-fit: cover;
      background: rgba(255,255,255,0.08);
    }
.rank-info {
      flex: 1;
    }
.rank-info h3 {
      font-size: 1.05rem;
      font-weight: 700;
      margin: 0 0 0.3rem;
    }
.rank-info .rank-meta {
      font-size: 0.82rem;
      color: rgba(236,253,245,0.6);
      display: flex;
      gap: 0.8rem;
      align-items: center;
    }
.rank-info .rank-meta i {
      color: var(--primary);
      margin-right: 0.2rem;
      font-size: 0.75rem;
    }
.rank-score {
      font-weight: 800;
      color: var(--accent);
      font-size: 1.15rem;
      min-width: 56px;
      text-align: right;
    }
.rank-score small {
      font-size: 0.7rem;
      font-weight: 400;
      color: rgba(236,253,245,0.5);
      display: block;
    }
.rank-badge {
      display: inline-block;
      padding: 0.15rem 0.6rem;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 700;
      background: rgba(16,185,129,0.2);
      color: var(--primary);
      border: 1px solid rgba(16,185,129,0.3);
      margin-left: 0.5rem;
    }
.rank-badge.up {
      background: rgba(251,191,36,0.15);
      color: var(--accent);
      border-color: rgba(251,191,36,0.3);
    }
.rank-badge.new {
      background: rgba(236,253,245,0.1);
      color: var(--text-light);
      border-color: rgba(236,253,245,0.2);
    }
.rank-note {
      background: rgba(251,191,36,0.06);
      border: 1px solid rgba(251,191,36,0.2);
      border-radius: var(--card-radius);
      padding: 1.2rem 1.5rem;
      margin: 2rem 0;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
.rank-note i {
      color: var(--accent);
      font-size: 1.3rem;
      margin-top: 0.2rem;
    }
.rank-note p {
      margin: 0;
      font-size: 0.9rem;
      color: rgba(236,253,245,0.8);
    }
.rank-note strong {
      color: var(--accent);
    }
.rank-hero h1 { font-size: 1.6rem; }
.rank-poster { width: 56px; height: 76px; }
.rank-score { min-width: 48px; font-size: 1rem; }