:root {
      --primary: #6d5dfc;
      --accent: #22d3ee;
      --bg-dark: #0f1020;
      --text-light: #e8eaf6;
      --radius-card: 14px;
      --radius-btn: 999px;
      --shadow-card: 0 8px 20px rgba(0,0,0,0.5);
      --font-display: 'Inter', sans-serif;
    }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: 'Inter', sans-serif;
      font-size: 0.95rem;
      letter-spacing: 0.2px;
    }
    h1,h2,h3,h4,h5 { font-weight: 800; letter-spacing: -0.5px; }
    .navbar {
      background: rgba(15,16,32,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(109,93,252,0.25);
      padding-top: 10px;
      padding-bottom: 10px;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.7rem;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-right: 1.2rem;
    }
    .navbar .nav-link {
      color: var(--text-light);
      font-weight: 500;
      border-radius: var(--radius-btn);
      padding: 0.3rem 0.9rem !important;
      margin: 0 0.1rem;
      transition: 0.2s;
    }
    .navbar .nav-link:hover {
      background: rgba(109,93,252,0.2);
      color: #fff;
    }
    .btn-custom {
      background: linear-gradient(145deg, var(--primary), #4c3ddb);
      border: none;
      border-radius: var(--radius-btn);
      padding: 0.45rem 1.4rem;
      font-weight: 600;
      color: #fff;
      background-size: 200% auto;
      transition: 0.4s;
      box-shadow: 0 4px 12px rgba(109,93,252,0.3);
      position: relative;
      overflow: hidden;
    }
    .btn-custom::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(100deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: 0.5s;
    }
    .btn-custom:hover {
      background-position: right center;
      transform: translateY(-1px);
    }
    .btn-custom:hover::after { left: 100%; }
    
    .section-title {
      font-weight: 900;
      font-size: 1.8rem;
      margin-bottom: 1.2rem;
      border-left: 6px solid var(--primary);
      padding-left: 1rem;
    }
    .movie-card {
      background: #1a1c2e;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: transform 0.25s, box-shadow 0.3s;
      position: relative;
      cursor: pointer;
      border: 1px solid rgba(255,255,255,0.05);
    }
    .movie-card:hover {
      transform: scale(1.03) translateY(-5px);
      box-shadow: 0 14px 26px rgba(0,0,0,0.7);
    }
    .movie-card img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
      background: linear-gradient(145deg, #2c2f42, #1a1c2e);
      display: block;
    }
    .badge-quality {
      position: absolute;
      top: 8px; right: 8px;
      background: rgba(0,0,0,0.7);
      border: 1px solid var(--accent);
      color: var(--accent);
      font-size: 0.65rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 30px;
      backdrop-filter: blur(4px);
    }
    .card-info {
      padding: 10px 12px 14px;
    }
    .card-title {
      font-weight: 700;
      font-size: 0.95rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 2px;
    }
    .card-meta {
      font-size: 0.75rem;
      color: #9da1b5;
      display: flex;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .rating {
      color: #fbbf24;
      font-weight: 700;
      font-family: 'Courier New', monospace;
      background: rgba(0,0,0,0.3);
      border-radius: 20px;
      padding: 2px 8px;
      font-size: 0.75rem;
    }
    .genre-tag {
      background: rgba(109,93,252,0.2);
      padding: 2px 10px;
      border-radius: 30px;
      font-size: 0.7rem;
      color: #c0b9ff;
      display: inline-block;
      margin-right: 4px;
    }
    .scroll-row {
      display: flex;
      gap: 15px;
      overflow-x: auto;
      padding-bottom: 12px;
      scrollbar-width: thin;
      scrollbar-color: var(--primary) #1c1e30;
    }
    .scroll-row::-webkit-scrollbar { height: 6px; }
    .scroll-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
    .scroll-row .movie-card { flex: 0 0 150px; }
    
    .timeline-item {
      position: relative;
      padding-left: 30px;
      margin-bottom: 1.2rem;
      border-left: 2px solid var(--primary);
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -7px; top: 2px;
      width: 14px; height: 14px;
      background: var(--accent);
      border-radius: 50%;
      border: 2px solid #0f1020;
    }
    .flip-card {
      background: transparent;
      perspective: 1000px;
      height: 100%;
    }
    .flip-inner {
      position: relative;
      width: 100%; height: 100%;
      transition: transform 0.5s;
      transform-style: preserve-3d;
    }
    .movie-card.flipped .flip-inner { transform: rotateY(180deg); }
    .flip-front, .flip-back {
      position: absolute;
      width: 100%; height: 100%;
      backface-visibility: hidden;
      border-radius: var(--radius-card);
    }
    .flip-back {
      transform: rotateY(180deg);
      background: #1e2138;
      padding: 12px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .flip-back .detail-desc { font-size: 0.7rem; overflow-y: auto; max-height: 100px; }
    .modal-backdrop { background: rgba(0,0,0,0.5); }
    .back-to-top {
      position: fixed;
      bottom: 30px; right: 30px;
      background: var(--primary);
      color: white;
      width: 44px; height: 44px;
      border-radius: 50%;
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 9999;
      border: 1px solid rgba(255,255,255,0.2);
      box-shadow: 0 6px 16px rgba(0,0,0,0.4);
      transition: 0.2s;
    }
    .back-to-top.show { display: flex; }
    .back-to-top:hover { background: var(--accent); }
    .faq-block, .widget-block {
      background: #171a2b;
      border-radius: 20px;
      padding: 1.6rem;
      border: 1px solid #2a2e4a;
    }
    .widget-block button { margin-top: 10px; }
    .faq-question { font-weight: 600; color: var(--accent); }
    .footer-links a { color: #8d91b5; margin: 0 8px; text-decoration: none; }
    .footer-links a:hover { color: var(--accent); }

/* --- 子页面追加 --- */
/* 排行榜页专属样式 */
        .rank-tabs {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 30px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 20px;
        }
.rank-tab {
            padding: 8px 24px;
            border-radius: 999px;
            background: rgba(255,255,255,0.06);
            color: var(--text-light);
            border: 1px solid rgba(255,255,255,0.1);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }
.rank-tab:hover, .rank-tab.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(109, 93, 252, 0.4);
        }
.rank-section {
            margin-bottom: 50px;
        }
.rank-item {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 16px 20px;
            background: rgba(255,255,255,0.04);
            border-radius: 14px;
            margin-bottom: 12px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
.rank-item:hover {
            background: rgba(255,255,255,0.07);
            border-color: rgba(109, 93, 252, 0.3);
            transform: translateX(5px);
        }
.rank-num {
            font-size: 24px;
            font-weight: 900;
            min-width: 40px;
            text-align: center;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.rank-num.top1 {
            font-size: 32px;
        }
.rank-num.top2 {
            font-size: 28px;
        }
.rank-num.top3 {
            font-size: 26px;
        }
.rank-info {
            flex: 1;
        }
.rank-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 4px;
        }
.rank-meta {
            font-size: 13px;
            color: rgba(232, 234, 246, 0.6);
        }
.rank-score {
            font-size: 18px;
            font-weight: 700;
            color: var(--accent);
            min-width: 50px;
            text-align: right;
        }
.rank-change {
            font-size: 12px;
            color: #4ade80;
            min-width: 40px;
            text-align: right;
        }
.rank-change.down {
            color: #f87171;
        }
.rank-badge {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
            margin-left: 8px;
        }
.badge-hot {
            background: rgba(248, 113, 113, 0.2);
            color: #f87171;
        }
.badge-new {
            background: rgba(34, 211, 238, 0.2);
            color: var(--accent);
        }
.badge-recommend {
            background: rgba(109, 93, 252, 0.2);
            color: var(--primary);
        }
.rank-note {
            background: rgba(255,255,255,0.03);
            border-left: 3px solid var(--primary);
            padding: 14px 20px;
            border-radius: 0 14px 14px 0;
            margin-top: 30px;
            font-size: 14px;
            color: rgba(232, 234, 246, 0.7);
            line-height: 1.7;
        }
.rank-note i {
            color: var(--accent);
            margin-right: 8px;
        }
.section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 4px;
        }
.rank-update {
            display: inline-block;
            background: rgba(34, 211, 238, 0.1);
            color: var(--accent);
            padding: 4px 14px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 20px;
            margin-left: 16px;
        }
.rank-item {
                padding: 12px 14px;
                gap: 12px;
            }
.rank-num {
                font-size: 20px;
                min-width: 30px;
            }
.rank-title {
                font-size: 14px;
            }
.rank-score {
                font-size: 16px;
            }
.rank-change {
                display: none;
            }
.rank-badge {
                display: none;
            }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字,确保与站点深色主题一致 */
    .card, .card-body { background: #1a1c2e; color: var(--text-light); border-color: rgba(255,255,255,0.1); }
.form-control { 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); }
.list-group-item { background: #1a1c2e; color: var(--text-light); border-color: rgba(255,255,255,0.1); }
.accordion-item { background: #1a1c2e; color: var(--text-light); border-color: rgba(255,255,255,0.1); }
.accordion-button { background: #1a1c2e; color: var(--text-light); border-color: rgba(255,255,255,0.1); }
.accordion-button:not(.collapsed) { background: #232540; color: var(--text-light); }
/* 页面专属样式 */
    .about-hero {
      background: linear-gradient(135deg, rgba(109,93,252,0.15) 0%, rgba(34,211,238,0.08) 100%);
      padding: 70px 0 50px;
      text-align: center;
    }
.about-hero h1 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 15px;
    }
.about-hero p { color: rgba(232,234,246,0.8); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.about-section { padding: 60px 0; }
.about-section h2 {
      font-size: 1.9rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: var(--text-light);
      position: relative;
      padding-bottom: 12px;
    }
.about-section h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
    }
.about-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-card);
      padding: 25px;
      margin-bottom: 20px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
.about-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-card);
    }
.about-card i {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 15px;
    }
.about-card h4 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 10px;
    }
.about-card p { color: rgba(232,234,246,0.75); font-size: 0.95rem; line-height: 1.6; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.highlight-box {
      background: rgba(109,93,252,0.1);
      border-left: 4px solid var(--primary);
      padding: 20px 25px;
      border-radius: 0 var(--radius-card) var(--radius-card) 0;
      margin: 30px 0;
    }
.team-icon { font-size: 3rem; color: var(--primary); }
.about-hero h1 { font-size: 2rem; }
.about-hero p { font-size: 1rem; }
.about-section h2 { font-size: 1.5rem; }
.stat-number { font-size: 2rem; }

/* --- 子页面追加 --- */
/* 保证本页所有卡片/容器背景使用暗色变量，避免 Bootstrap 默认白块 */
    .disclaimer-section, .card-custom, .faq-item, .legal-box {
      background: var(--card-bg, rgba(255,255,255,0.04));
      color: var(--text-light);
      border: 1px solid var(--border-color, rgba(255,255,255,0.1));
      border-radius: var(--radius-card);
    }
/* 页面内链接高亮 */
    .legal-box a {
      color: var(--accent);
      text-decoration: none;
      border-bottom: 1px dotted rgba(34, 211, 238, 0.4);
    }
.legal-box a:hover {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }
/* 小标题统一装饰 */
    .section-title {
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 1.2rem;
    }
/* 强调列表 */
    .custom-list {
      list-style: none;
      padding-left: 0;
    }
.custom-list li {
      padding: 0.4rem 0 0.4rem 1.8rem;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2322d3ee" stroke-width="2"><path d="M5 12l5 5L20 7"/></svg>') left center no-repeat;
      background-size: 14px;
    }
/* 页脚简单修饰 */
    .footer-links a {
      color: rgba(232,234,246,0.7);
      text-decoration: none;
      margin: 0 1rem 0 0;
    }