:root {
      --primary: #06b6d4;
      --accent: #ec4899;
      --bg-dark: #0c0a1a;
      --text-light: #e0f2fe;
      --card-bg: #171526;
      --radius: 8px;
      --shadow: 0 6px 18px rgba(0,0,0,0.5);
    }
    * { box-sizing: border-box; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: 'Inter', sans-serif;
      margin: 0;
      overflow-x: hidden;
    }
    /* 滚动进度条 */
    #scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 4px;
      width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 9999;
      transition: width 0.1s;
    }
    /* 渐变文字 */
    .gradient-text {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 800;
    }
    /* 导航 */
    .navbar-custom {
      background: rgba(12, 10, 26, 0.8);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid #2a2740;
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 1.6rem;
      letter-spacing: 0.5px;
    }
    .navbar-brand .brand-icon {
      margin-right: 8px;
      color: var(--primary);
    }
    .nav-link-custom {
      color: var(--text-light) !important;
      font-weight: 500;
      margin: 0 8px;
    }
    .nav-link-custom:hover {
      color: var(--primary) !important;
    }
    /* 侧栏分类 */
    .category-sidebar {
      background: #141126;
      padding: 20px 15px;
      border-radius: var(--radius);
      border: 1px solid #2d2a44;
      height: fit-content;
      position: sticky;
      top: 90px;
    }
    .category-sidebar h5 {
      color: var(--primary);
      font-weight: 700;
      margin-bottom: 20px;
      font-size: 1.1rem;
      border-bottom: 2px solid var(--primary);
      padding-bottom: 8px;
    }
    .category-sidebar .cat-item {
      display: block;
      padding: 10px 15px;
      margin-bottom: 6px;
      background: #1f1c33;
      border-radius: 6px;
      color: var(--text-light);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s;
    }
    .category-sidebar .cat-item:hover, .category-sidebar .cat-item.active {
      background: var(--primary);
      color: #0c0a1a;
      font-weight: 700;
    }
    /* 影片卡片 */
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid #2d2a44;
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
      height: 100%;
    }
    .movie-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(6, 182, 212, 0.3);
    }
    .poster-wrapper {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2 / 3;
      background: #2a2740;
    }
    .poster-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.6s;
    }
    .poster-wrapper img.lazy-loaded {
      opacity: 1;
    }
    .poster-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
      display: flex;
      align-items: flex-end;
      padding: 12px;
    }
    .play-btn {
      width: 40px;
      height: 40px;
      background: rgba(236, 72, 153, 0.8);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 8px;
      color: white;
      font-size: 1.2rem;
      transition: 0.2s;
    }
    .play-btn i {
      margin-left: 2px;
    }
    .movie-card:hover .play-btn {
      background: var(--primary);
      transform: scale(1.1);
    }
    .movie-info {
      padding: 12px 10px;
    }
    .movie-title {
      font-weight: 700;
      font-size: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: var(--text-light);
    }
    .movie-meta {
      display: flex;
      justify-content: space-between;
      margin-top: 8px;
      font-size: 0.8rem;
      color: #8a90b0;
    }
    .movie-rating {
      font-family: 'Courier New', monospace;
      font-weight: 700;
      color: #fbbf24;
    }
    /* 区块标题 */
    .section-heading {
      font-weight: 800;
      font-size: 1.8rem;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    .section-heading::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 2px;
    }
    /* 按钮光泽 */
    .btn-glossy {
      background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
      background-size: 200% auto;
      border: none;
      font-weight: 700;
      transition: background-position 0.5s;
      color: #0c0a1a;
    }
    .btn-glossy:hover {
      background-position: right center;
      color: white;
    }
    /* 表格对比 */
    .compare-table {
      background: #171526;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid #2d2a44;
    }
    .compare-table th {
      background: #1f1c33;
      color: var(--primary);
      font-weight: 600;
    }
    /* 侧滑弹窗 */
    .detail-panel {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      max-width: 100vw;
      height: 100vh;
      background: #181528;
      z-index: 1050;
      transition: right 0.3s ease;
      overflow-y: auto;
      box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    .detail-panel.open {
      right: 0;
    }
    .detail-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 1040;
      display: none;
    }
    .detail-backdrop.show {
      display: block;
    }
    .detail-content {
      padding: 20px;
    }
    .detail-content img {
      width: 100%;
      border-radius: 8px;
    }
    .detail-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 2rem;
      background: none;
      border: none;
      color: var(--text-light);
      z-index: 10;
      cursor: pointer;
    }
    /* footer */
    .footer-links {
      background: #0f0c1d;
      border-top: 1px solid #2a2740;
      padding: 30px 0;
    }
    .footer-links a {
      color: #9aa0c0;
      margin: 0 15px;
      text-decoration: none;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    /* 数字编号 */
    .step-list {
      list-style: none;
      counter-reset: step-counter;
      padding-left: 0;
    }
    .step-list li {
      counter-increment: step-counter;
      margin-bottom: 15px;
      font-weight: 500;
      position: relative;
      padding-left: 40px;
    }
    .step-list li::before {
      content: counter(step-counter);
      position: absolute;
      left: 0;
      top: 0;
      background: var(--primary);
      color: #0c0a1a;
      font-weight: 800;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
    }
    /* 悬浮元素 */
    .hero-decor {
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 30px;
      filter: blur(70px);
      opacity: 0.25;
      z-index: -1;
    }
    .decor1 { background: var(--primary); top: 10px; left: 10%; }
    .decor2 { background: var(--accent); bottom: 10px; right: 15%; }

/* --- 子页面追加 --- */
/* 页面专属微调 */
        .about-hero { padding: 5rem 0 3rem; position: relative; }
.about-hero h1 { font-size: 2.6rem; font-weight: 800; }
.about-section { padding: 2.5rem 0; }
.about-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.2rem; }
.about-section p, .about-section li { color: rgba(224, 242, 254, .85); line-height: 1.8; }
.about-section li { margin-bottom: .5rem; }
.stat-card { background: var(--card-bg); border: 1px solid rgba(6, 182, 212, .2); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); height: 100%; }
.stat-card .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card .label { color: var(--text-light); opacity: .8; margin-top: .3rem; }
.feature-list li { display: flex; gap: .8rem; align-items: baseline; }
.feature-list i { color: var(--accent); }
.about-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); height: 100%; border: 1px solid rgba(6, 182, 212, .1); }
.about-card h3 { color: var(--primary); font-size: 1.2rem; font-weight: 700; margin-bottom: .8rem; }
.about-card p { font-size: .95rem; }
.timeline { list-style: none; padding: 0; }
.timeline li { position: relative; padding-left: 1.8rem; margin-bottom: 1.2rem; }
.timeline li::before { content: ''; position: absolute; left: 0; top: .5rem; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.timeline li strong { color: var(--text-light); }

/* --- 子页面追加 --- */
.rank-page { padding: 3rem 0 5rem; }
.rank-header { margin-bottom: 3rem; }
.rank-header h1 { font-size: 2.8rem; margin-bottom: 0.8rem; }
.rank-header p { color: rgba(224, 242, 254, 0.7); max-width: 700px; margin: 0 auto; }
.rank-tabs { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.rank-tab-btn { padding: 0.5rem 1.5rem; border: 1px solid var(--primary); border-radius: 50px; background: transparent; color: var(--text-light); cursor: pointer; transition: all 0.3s ease; font-size: 0.95rem; }
.rank-tab-btn:hover, .rank-tab-btn.active { background: var(--primary); color: #fff; box-shadow: 0 0 15px rgba(6, 182, 212, 0.4); }
.rank-table-wrap { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem 1.8rem; box-shadow: var(--shadow); border: 1px solid rgba(6, 182, 212, 0.15); }
.rank-item { display: flex; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); gap: 1.2rem; flex-wrap: wrap; }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 1.8rem; font-weight: 800; min-width: 3.2rem; text-align: center; font-style: italic; }
.rank-num.gold { color: #fbbf24; }
.rank-num.silver { color: #c0c0c0; }
.rank-num.bronze { color: #cd7f32; }
.rank-num.normal { color: rgba(224, 242, 254, 0.4); }
.rank-thumb { width: 70px; height: 95px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rank-info { flex: 1; min-width: 200px; }
.rank-title { font-size: 1.1rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; }
.rank-badge { font-size: 0.7rem; padding: 0.15rem 0.6rem; border-radius: 20px; background: rgba(6, 182, 212, 0.2); color: var(--primary); border: 1px solid rgba(6, 182, 212, 0.3); white-space: nowrap; }
.rank-badge.hot { background: rgba(236, 72, 153, 0.2); color: var(--accent); border-color: rgba(236, 72, 153, 0.3); }
.rank-meta { font-size: 0.85rem; color: rgba(224, 242, 254, 0.55); display: flex; gap: 1rem; flex-wrap: wrap; }
.rank-score { display: flex; align-items: center; gap: 0.3rem; font-weight: 700; color: #fbbf24; font-size: 1.1rem; margin-left: auto; }
.rank-score i { font-size: 0.9rem; }
.rank-up { color: #4ade80; font-size: 0.8rem; display: flex; align-items: center; gap: 0.2rem; }
.rank-down { color: #f87171; font-size: 0.8rem; display: flex; align-items: center; gap: 0.2rem; }
.rank-flat { color: rgba(224, 242, 254, 0.4); font-size: 0.8rem; }
.rank-note { font-size: 0.8rem; color: rgba(224, 242, 254, 0.5); font-style: italic; }
.rank-legend { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; font-size: 0.9rem; color: rgba(224, 242, 254, 0.6); flex-wrap: wrap; }
.rank-legend span { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend-dot.up { background: #4ade80; }
.legend-dot.down { background: #f87171; }
.legend-dot.flat { background: rgba(224, 242, 254, 0.4); }
.rank-section-title { font-size: 1.6rem; font-weight: 700; color: var(--text-light); margin: 3rem 0 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.rank-section-title i { color: var(--primary); }
.trend-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid rgba(6, 182, 212, 0.1); height: 100%; }
.trend-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--text-light); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.trend-card h3 i { color: var(--accent); }
.trend-list { list-style: none; padding: 0; margin: 0; }
.trend-list li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: rgba(224, 242, 254, 0.8); }
.trend-list li:last-child { border-bottom: none; }
.trend-list .trend-rank { color: var(--primary); font-weight: 700; min-width: 1.5rem; }
.trend-list .trend-change { margin-left: auto; font-size: 0.8rem; }
.rank-notice { background: rgba(6, 182, 212, 0.08); border-left: 3px solid var(--primary); padding: 1rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 3rem; font-size: 0.9rem; color: rgba(224, 242, 254, 0.75); }
.rank-notice i { color: var(--primary); margin-right: 0.5rem; }
.rank-page { padding: 2rem 0 3rem; }
.rank-header h1 { font-size: 2rem; }
.rank-item { gap: 0.8rem; }
.rank-thumb { width: 55px; height: 75px; }
.rank-score { font-size: 0.95rem; }
.rank-title { font-size: 0.95rem; }
.rank-meta { font-size: 0.75rem; gap: 0.5rem; }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 自带组件白底，防止与深色主题冲突 */
        .accordion-item, .accordion-button, .list-group-item, .card, .card-body, .modal-content {
            background-color: var(--card-bg) !important;
            color: var(--text-light) !important;
            border-color: var(--primary) !important;
        }
.accordion-button:not(.collapsed) {
            background-color: rgba(6, 182, 212, 0.15) !important;
            color: var(--primary) !important;
            box-shadow: none;
        }
.accordion-button::after {
            filter: brightness(0) invert(1);
        }
.accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.2);
        }
/* 本页专属：免责声明列表装饰 */
        .disclaimer-list {
            list-style: none;
            padding-left: 0;
        }
.disclaimer-list li {
            padding: 0.6rem 0 0.6rem 1.8rem;
            position: relative;
            border-bottom: 1px dashed rgba(6,182,212,0.25);
        }
.disclaimer-list li::before {
            content: "\f05a";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0.7rem;
            color: var(--primary);
            font-size: 0.9rem;
        }
.legal-note {
            background: rgba(6,182,212,0.08);
            border-left: 3px solid var(--primary);
            padding: 1.2rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 1.8rem 0;
        }
.text-dim {
            color: rgba(224, 242, 254, 0.7);
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不会覆盖本站深色风格 (若有 .card 等则强制覆盖) */
    .card, .card-body, .card-header, .card-footer { background: var(--card-bg); color: var(--text-light); border-color: var(--border-color, #2b2740); }
.list-group-item { background: var(--card-bg); color: var(--text-light); border-color: #2b2740; }
.form-control, .form-select { background: rgba(0,0,0,.35); color: var(--text-light); border-color: #2b2740; }
.form-control::placeholder { color: rgba(255,255,255,.4); }
.accordion-item, .accordion-button { background: var(--card-bg); color: var(--text-light); border-color: #2b2740; }
.dropdown-menu { background: var(--card-bg); }
.dropdown-item { color: var(--text-light); }
.dropdown-item:hover { background: #221f36; color: #fff; }
.table { --bs-table-bg: transparent; color: var(--text-light); border-color: #2b2740; }
.nav-link-custom.active { color: var(--accent) !important; font-weight: 600; }
/* 站点地图专属 */
    .sitemap-section { margin-top: 2.5rem; }
.sitemap-section h2 { border-left: 4px solid var(--primary); padding-left: 0.75rem; margin-bottom: 1.5rem; font-weight: 700; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.sitemap-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1rem; transition: transform 0.2s; border: 1px solid #252238; }
.sitemap-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.sitemap-card i { color: var(--primary); margin-right: 8px; width: 1.6rem; }
.sitemap-card a { color: var(--text-light); text-decoration: none; font-weight: 500; display: flex; align-items: center; }
.sitemap-card a:hover { color: var(--accent); }
.sitemap-card .fa-chevron-right { margin-left: auto; font-size: 0.8rem; opacity: 0.6; }
.sitemap-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.sitemap-list li { margin-bottom: 0.6rem; }
.sitemap-list li a { color: var(--text-light); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sitemap-list li a:hover { color: var(--accent); }
.anchor-note { font-size: 0.85rem; color: rgba(224,242,254,0.6); }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#e0f2fe !important; }
.accordion-header { background:transparent !important; }
