:root {
      --primary: #e50914;
      --accent: #f5c518;
      --bg-dark: #0b0b0f;
      --text-light: #f5f5f7;
      --card-radius: 18px;
      --pill-radius: 50rem;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-light);
      letter-spacing: 0.2px;
      line-height: 1.7;
    }

    /* 导航胶囊 */
    .nav-pills-custom .nav-link {
      border-radius: var(--pill-radius);
      padding: 0.5rem 1.2rem;
      font-weight: 500;
      color: var(--text-light);
      transition: 0.3s;
    }
    .nav-pills-custom .nav-link:hover {
      background: rgba(245, 197, 24, 0.1);
      color: var(--accent);
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.8rem;
      letter-spacing: -0.5px;
    }
    .navbar-brand i {
      color: var(--accent);
      margin-right: 6px;
    }

    /* 渐变标题 */
    .gradient-hero {
      background: linear-gradient(135deg, var(--accent), var(--primary), #b31217);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 900;
      letter-spacing: -1px;
    }

    /* 浮动装饰 */
    .float-deco {
      position: absolute;
      font-size: 3rem;
      opacity: 0.08;
      pointer-events: none;
      animation: floatAnim 8s infinite alternate ease-in-out;
    }
    @keyframes floatAnim {
      0% { transform: translateY(0px); }
      100% { transform: translateY(-30px); }
    }

    /* 卡片设计 */
    .poster-card {
      background: #15151f;
      border-radius: var(--card-radius);
      box-shadow: 0 12px 24px rgba(0,0,0,0.5);
      transition: 0.3s ease;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.05);
    }
    .poster-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 36px rgba(229, 9, 20, 0.15);
      border-color: var(--primary);
    }
    .poster-card img {
      height: 260px;
      object-fit: cover;
      width: 100%;
      background: #1f1f2b;
    }

    .badge-rank {
      background: var(--bg-dark);
      border-radius: var(--pill-radius);
      padding: 2px 10px;
      font-weight: 700;
      font-size: 0.8rem;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }
    .rank-gold { color: #f5c518; border: 1px solid #f5c518; }
    .rank-silver { color: #c0c0c0; border: 1px solid #c0c0c0; }
    .rank-bronze { color: #cd7f32; border: 1px solid #cd7f32; }

    .genre-chip {
      background: rgba(245,197,24,0.12);
      border: 1px solid rgba(245,197,24,0.4);
      color: var(--accent);
      padding: 0.35rem 1rem;
      border-radius: var(--pill-radius);
      font-weight: 500;
      transition: 0.2s;
    }
    .genre-chip:hover {
      background: var(--accent);
      color: #0b0b0f;
      border-color: var(--accent);
    }

    /* 特色对比表格 */
    .compare-table {
      background: rgba(255,255,255,0.04);
      border-radius: 18px;
      padding: 1.2rem;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .compare-table .col-header {
      font-weight: 800;
      color: var(--accent);
    }

    /* 编号清单 */
    .number-list {
      list-style: none;
      counter-reset: my-counter;
    }
    .number-list li {
      counter-increment: my-counter;
      margin-bottom: 0.8rem;
      display: flex;
      gap: 10px;
      align-items: baseline;
    }
    .number-list li::before {
      content: counter(my-counter) ".";
      font-family: 'Courier New', monospace;
      font-weight: 800;
      color: var(--accent);
      font-size: 1.2rem;
    }

    /* 卡片错落渐显 */
    .stagger-card {
      opacity: 0;
      animation: cardFadeIn 0.8s ease forwards;
    }
    @keyframes cardFadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }
    .delay-5 { animation-delay: 0.5s; }
    .delay-6 { animation-delay: 0.6s; }

    /* 回到顶部按钮 */
    #backToTop {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      border: none;
      box-shadow: 0 6px 18px rgba(229,9,20,0.4);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 1000;
      font-size: 1.4rem;
    }
    #backToTop.show {
      opacity: 1;
      visibility: visible;
    }

    /* 侧滑弹窗 */
    .detail-sidebar {
      position: fixed;
      top: 0;
      right: -420px;
      width: 420px;
      max-width: 90vw;
      height: 100vh;
      background: #1a1a24;
      box-shadow: -5px 0 30px rgba(0,0,0,0.8);
      transition: right 0.35s ease;
      z-index: 1050;
      overflow-y: auto;
      padding: 1.5rem;
      border-left: 2px solid var(--accent);
    }
    .detail-sidebar.active {
      right: 0;
    }
    .detail-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.65);
      z-index: 1040;
      opacity: 0;
      pointer-events: none;
      transition: 0.3s;
    }
    .detail-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .btn-hover-glow {
      position: relative;
      overflow: hidden;
    }
    .btn-hover-glow::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s;
    }
    .btn-hover-glow:hover::after {
      left: 100%;
    }

    footer a {
      color: var(--text-light);
      text-decoration: none;
    }
    footer a:hover {
      color: var(--accent);
    }

    .font-mono {
      font-family: 'Courier New', monospace;
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件默认白底黑字,确保与本站深色风格一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--bg-dark);
            color: var(--text-light);
            border-color: rgba(255,255,255,0.08);
        }
.form-control, .form-select, .form-label, .input-group-text {
            background: rgba(255,255,255,0.06);
            color: var(--text-light);
            border-color: rgba(255,255,255,0.15);
        }
.form-control::placeholder {
            color: rgba(255,255,255,0.4);
        }
.list-group-item {
            background: transparent;
            color: var(--text-light);
            border-color: rgba(255,255,255,0.08);
        }
.accordion-item, .accordion-button, .accordion-body {
            background: var(--bg-dark);
            color: var(--text-light);
            border-color: rgba(255,255,255,0.08);
        }
.accordion-button:not(.collapsed) {
            background: rgba(255,255,255,0.06);
            color: var(--accent);
        }
.modal-content, .modal-header, .modal-body {
            background: var(--bg-dark);
            color: var(--text-light);
            border-color: rgba(255,255,255,0.08);
        }
.dropdown-menu, .dropdown-item {
            background: var(--bg-dark);
            color: var(--text-light);
        }
.dropdown-item:hover {
            background: rgba(255,255,255,0.08);
            color: var(--accent);
        }
.nav-link, .navbar, .navbar-brand {
            color: var(--text-light);
        }
.btn-light, .btn-outline-* {
            background: transparent;
            color: var(--text-light);
            border-color: rgba(255,255,255,0.2);
        }
/* 关于页专属装饰 */
        .about-hero {
            background: radial-gradient(circle at 20% 30%, rgba(229,9,20,0.25), transparent 50%),
                        radial-gradient(circle at 80% 70%, rgba(245,197,24,0.15), transparent 40%),
                        var(--bg-dark);
            padding: 6rem 0 3rem;
        }
.about-section {
            padding: 4rem 0;
        }
.about-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: var(--card-radius);
            padding: 2rem;
            height: 100%;
            transition: all 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-6px);
            border-color: rgba(229,9,20,0.4);
            box-shadow: 0 12px 30px rgba(0,0,0,0.4);
        }
.about-icon {
            font-size: 2.2rem;
            color: var(--accent);
            margin-bottom: 1.2rem;
        }
.timeline-list {
            list-style: none;
            padding-left: 0;
            position: relative;
        }
.timeline-list::before {
            content: '';
            position: absolute;
            left: 12px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary), var(--accent));
            opacity: 0.3;
        }
.timeline-list li {
            padding: 0.8rem 0 0.8rem 2.5rem;
            position: relative;
        }
.timeline-list li::before {
            content: '';
            position: absolute;
            left: 7px;
            top: 1.3rem;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--bg-dark);
            box-shadow: 0 0 0 2px rgba(229,9,20,0.3);
        }
.timeline-list li:nth-child(even)::before {
            background: var(--accent);
            box-shadow: 0 0 0 2px rgba(245,197,24,0.3);
        }
.value-badge {
            display: inline-block;
            padding: 0.35rem 1rem;
            border-radius: var(--pill-radius);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            background: rgba(229,9,20,0.15);
            color: var(--accent);
            border: 1px solid rgba(229,9,20,0.3);
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
.highlight-text {
            color: var(--accent);
            font-weight: 600;
        }
.stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            font-family: 'Inter', sans-serif;
        }
.stat-label {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.7);
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }
.page-header-title {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
.gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
.page-header-title {
                font-size: 2rem;
            }
.about-section {
                padding: 2.5rem 0;
            }

/* --- 子页面追加 --- */
/* 覆盖 bootstrap 组件默认白底，使用站点配色 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--bg-dark);
      color: var(--text-light);
      border-color: rgba(255,255,255,.1);
    }
.accordion-item, .accordion-button {
      background: var(--bg-dark);
      color: var(--text-light);
      border-color: rgba(255,255,255,.1);
    }
.form-control, .form-select {
      background: rgba(0,0,0,.4);
      border-color: var(--border-color, #2a2a35);
      color: var(--text-light);
    }
.navbar {
      background: rgba(11,11,15,.85) !important; /* 半透明深色 */
      backdrop-filter: blur(10px);
    }
/* 导航栏品牌连续，图标外置 */
    .navbar-brand i {
      margin-right: 6px;
    }
/* 隐私页特殊排版 */
    .privacy-wrap {
      max-width: 900px;
      margin: 0 auto;
    }
.privacy-section {
      background: rgba(255,255,255,.02);
      border-radius: var(--card-radius);
      padding: 2rem 2.2rem;
      margin-bottom: 2.2rem;
      border-left: 4px solid var(--primary);
      box-shadow: 0 10px 30px rgba(0,0,0,.3);
    }
.privacy-section h2 {
      font-weight: 800;
      font-size: 1.6rem;
      color: var(--text-light);
      margin-bottom: 1.2rem;
      letter-spacing: -.5px;
    }
.privacy-section h2 i {
      color: var(--accent);
      margin-right: 10px;
    }
.privacy-section p, .privacy-section li {
      color: rgba(245,245,247,.8);
      line-height: 1.8;
    }
.privacy-section ul {
      padding-left: 1.2rem;
    }
.privacy-section li {
      margin-bottom: .6rem;
    }
.privacy-highlight {
      background: rgba(245,197,24,.06);
      padding: .4rem 1rem;
      border-radius: 30px;
      color: var(--accent);
      font-weight: 600;
    }
.footer-links a {
      color: rgba(245,245,247,.6);
      text-decoration: none;
      margin: 0 1rem;
      transition: .2s;
    }
.footer-links a:hover {
      color: var(--accent);
    }
/* 确保导航active状态 */
    .nav-link.active {
      color: var(--accent) !important;
    }

/* --- 子页面追加 --- */
/* 本页专属少量补充样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(229, 9, 20, 0.08) 0%, rgba(11, 11, 15, 0.9) 100%);
        }
.legal-section {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--card-radius);
            padding: 2rem 2.5rem;
            margin-bottom: 1.5rem;
        }
.legal-section h2 {
            color: var(--accent);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.legal-section h2 i {
            color: var(--primary);
            font-size: 1.2rem;
        }
.legal-section p, .legal-section li {
            color: rgba(245,245,247,0.8);
            font-size: 0.95rem;
            line-height: 1.8;
        }
.legal-section ul {
            padding-left: 1.2rem;
        }
.legal-section li {
            margin-bottom: 0.5rem;
        }
.highlight-box {
            background: rgba(229, 9, 20, 0.06);
            border-left: 3px solid var(--primary);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--card-radius) var(--card-radius) 0;
            margin: 1.5rem 0;
        }
.highlight-box p {
            margin: 0;
            color: var(--text-light);
        }
.last-updated {
            color: rgba(245,245,247,0.5);
            font-size: 0.85rem;
            text-align: center;
            margin-top: 2rem;
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#f5f5f7 !important; border-color:rgba(255,255,255,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#f5f5f7 !important; }
