:root {
      --primary: #dc2626;
      --accent: #fb923c;
      --bg: #141013;
      --text: #fef2f2;
      --card-bg: #1e171c;
      --border-color: #3a2a2f;
    }
    * { font-family: 'Inter', system-ui, sans-serif; }
    body {
      background-color: var(--bg);
      color: var(--text);
      letter-spacing: 0.3px;
    }
    /* 极简无阴影，纯描边 */
    .border-custom { border: 1px solid var(--border-color); }
    .no-shadow { box-shadow: none !important; }
    .section-title {
      font-weight: 900;
      font-size: 2.5rem;
      border-bottom: 3px solid var(--primary);
      display: inline-block;
      padding-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .big-hero-number {
      font-size: 4rem;
      font-weight: 900;
      line-height: 1;
      color: var(--primary);
      font-family: 'Inter', sans-serif;
    }
    .hero-stat-text { font-weight: 500; font-size: 1rem; color: var(--text); opacity: 0.8; }
    /* 导航 */
    .navbar {
      background-color: rgba(20, 16, 19, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      padding: 0.8rem 0;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 2rem;
      color: var(--text) !important;
      letter-spacing: 1px;
    }
    .navbar-brand i { color: var(--primary); margin-right: 6px; }
    .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      margin-left: 1.2rem;
      transition: 0.2s;
    }
    .nav-link:hover { color: var(--accent) !important; }
    .btn-movie { transition: all 0.2s; }
    /* 海报卡片 */
    .poster-card {
      background: transparent;
      border: 1px solid var(--border-color);
      border-radius: 0px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
    }
    .poster-card:hover {
      transform: scale(1.03) translateY(-6px);
      box-shadow: 0 18px 35px -10px rgba(220, 38, 38, 0.25);
      border-color: var(--primary);
    }
    .poster-card img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      background-color: #2b1d22;
    }
    .card-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: var(--primary);
      color: white;
      font-size: 0.7rem;
      font-weight: 800;
      padding: 4px 6px;
      letter-spacing: 0.5px;
    }
    .poster-title {
      font-weight: 700;
      font-size: 1rem;
      margin-top: 10px;
    }
    .poster-meta { color: var(--accent); font-size: 0.8rem; font-weight: 500; }
    .rating { font-family: monospace; font-weight: 700; color: var(--accent); }
    /* 分类入口 */
    .category-pill {
      border: 1px solid var(--border-color);
      padding: 8px 18px;
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--text);
      background: transparent;
      transition: all 0.2s;
      border-radius: 0px;
    }
    .category-pill:hover, .category-pill.active {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }
    /* 对比表格 */
    .table-compare {
      border: 1px solid var(--border-color);
    }
    .table-compare th, .table-compare td {
      border: 1px solid var(--border-color);
      padding: 12px 16px;
      background: transparent;
      color: var(--text);
    }
    .table-compare .highlight { color: var(--primary); font-weight: 800; }
    /* 心情标签 */
    .mood-tag {
      border: 1px solid var(--border-color);
      padding: 6px 16px;
      font-weight: 600;
      margin-right: 10px;
      transition: 0.2s;
      background: transparent;
      color: var(--text);
    }
    .mood-tag:hover { background: var(--primary); border-color: var(--primary); }
    /* 动画 */
    .fade-up { opacity: 0; transform: translateY(25px); transition: all 0.6s ease-out; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    /* 回到顶部 */
    #backToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 99;
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 16px;
      font-size: 1.2rem;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      border-radius: 0px;
      border: 1px solid var(--primary);
    }
    #backToTop.show { opacity: 1; visibility: visible; }
    /* 弹窗 */
    .custom-modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.85);
      backdrop-filter: blur(8px);
      z-index: 1050;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-content {
      max-width: 500px;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      padding: 2rem;
      color: var(--text);
      position: relative;
      width: 100%;
    }
    .modal-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 2rem;
      cursor: pointer;
      color: var(--text);
      background: none;
      border: none;
    }
    .modal-rating { color: var(--primary); font-size: 2rem; font-weight: 900; }
    /* footer */
    footer {
      border-top: 1px solid var(--border-color);
      background: #0f0b0d;
      padding: 2rem 0;
      margin-top: 4rem;
    }
    .footer-links a { color: var(--text); opacity: 0.7; margin-right: 20px; text-decoration: none; }
    .footer-links a:hover { color: var(--accent); opacity: 1; }
    .friend-links { border-top: 1px solid var(--border-color); margin-top: 30px; padding-top: 20px; }
    /* 按钮光泽 */
    .btn-special {
      position: relative;
      overflow: hidden;
      z-index: 1;
      transition: 0.3s;
      border: 1px solid var(--primary);
      color: white;
      background: var(--primary);
      padding: 10px 24px;
      font-weight: 700;
      border-radius: 0px;
    }
    .btn-special::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: left 0.5s;
      z-index: -1;
    }
    .btn-special:hover::after { left: 100%; }

/* --- 子页面追加 --- */
/* 关于我们页面专属样式 */
        .about-hero {
            padding: 80px 0 60px;
            text-align: center;
        }
.about-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 20px;
            color: var(--text);
        }
.about-hero p.lead {
            font-size: 1.2rem;
            color: rgba(254, 242, 242, 0.8);
            max-width: 700px;
            margin: 0 auto;
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid var(--border-color);
        }
.about-section:last-child {
            border-bottom: none;
        }
.about-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 25px;
            color: var(--text);
            position: relative;
            padding-bottom: 12px;
        }
.about-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
.about-section p {
            color: rgba(254, 242, 242, 0.85);
            line-height: 1.8;
            font-size: 1rem;
        }
.about-section ul {
            color: rgba(254, 242, 242, 0.85);
            line-height: 1.8;
            padding-left: 20px;
        }
.about-section ul li {
            margin-bottom: 8px;
        }
.about-highlight {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 25px;
            margin: 20px 0;
        }
.about-highlight h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--accent);
        }
.about-highlight p {
            margin-bottom: 0;
        }
.about-feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
.about-feature-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 25px;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }
.about-feature-item:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
        }
.about-feature-item i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
.about-feature-item h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text);
        }
.about-feature-item p {
            font-size: 0.9rem;
            color: rgba(254, 242, 242, 0.75);
            margin-bottom: 0;
        }
.about-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.about-stat-item {
            text-align: center;
            padding: 20px;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
        }
.about-stat-item .big-hero-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
        }
.about-stat-item .hero-stat-text {
            color: rgba(254, 242, 242, 0.7);
            font-size: 0.9rem;
            margin-top: 5px;
        }
.about-cta {
            background: var(--card-bg);
            border: 1px solid var(--primary);
            border-radius: 12px;
            padding: 40px;
            text-align: center;
            margin-top: 40px;
        }
.about-cta h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 15px;
        }
.about-cta p {
            color: rgba(254, 242, 242, 0.8);
            margin-bottom: 20px;
        }
.about-hero h1 {
                font-size: 2rem;
            }
.about-section {
                padding: 40px 0;
            }

/* --- 子页面追加 --- */
/* 本页专属微调样式 */
        .disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 1.5rem;
        }
.disclaimer-section h2 {
            color: var(--accent);
            font-weight: 700;
            margin-bottom: 1rem;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.disclaimer-section h2 i {
            color: var(--primary);
            font-size: 1.3rem;
        }
.disclaimer-section p, .disclaimer-section li {
            color: rgba(254, 242, 242, 0.85);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-section ul {
            padding-left: 1.2rem;
        }
.disclaimer-section li {
            margin-bottom: 0.5rem;
        }
.highlight-box {
            background: rgba(220, 38, 38, 0.1);
            border-left: 4px solid var(--primary);
            padding: 1rem 1.2rem;
            border-radius: 8px;
            margin: 1.2rem 0;
        }
.highlight-box p {
            margin: 0;
            color: var(--text);
            font-weight: 500;
        }
.last-updated {
            color: rgba(254, 242, 242, 0.5);
            font-size: 0.85rem;
            margin-top: 2rem;
            text-align: right;
        }
.disclaimer-section {
                padding: 1.2rem;
            }
.disclaimer-section h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
.ranking-hero { padding: 80px 0 40px; text-align: center; }
.ranking-hero h1 { font-size: 2.8rem; font-weight: 900; color: var(--text); margin-bottom: 16px; }
.ranking-hero h1 span { color: var(--accent); }
.ranking-hero p { color: rgba(254, 242, 242, .7); max-width: 700px; margin: 0 auto; font-size: 1.05rem; }
.rank-tabs { display: flex; justify-content: center; gap: 12px; margin: 40px 0 20px; flex-wrap: wrap; }
.rank-tab { padding: 10px 24px; border-radius: 30px; background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text); font-weight: 600; cursor: pointer; transition: all .3s; font-size: .95rem; }
.rank-tab:hover, .rank-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.rank-section { margin-bottom: 50px; }
.rank-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.rank-section-title .icon-circle { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.rank-section-title h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0; }
.rank-section-title .sub { color: rgba(254, 242, 242, .5); font-size: .9rem; margin-left: 4px; }
.rank-card { display: flex; align-items: center; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 16px 20px; margin-bottom: 14px; transition: transform .3s, box-shadow .3s; }
.rank-card:hover { transform: translateX(6px); box-shadow: 0 8px 24px rgba(220, 38, 38, .15); }
.rank-number { font-size: 1.8rem; font-weight: 900; width: 60px; text-align: center; color: var(--border-color); font-style: italic; }
.rank-card.top-1 .rank-number { color: var(--accent); }
.rank-card.top-2 .rank-number { color: #c0c0c0; }
.rank-card.top-3 .rank-number { color: #cd7f32; }
.rank-poster { width: 60px; height: 85px; border-radius: 8px; object-fit: cover; margin-right: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.rank-info { flex: 1; }
.rank-info .title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.rank-info .meta { font-size: .85rem; color: rgba(254, 242, 242, .55); margin-bottom: 6px; }
.rank-info .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.rank-info .tag { font-size: .75rem; padding: 3px 10px; border-radius: 20px; background: rgba(220, 38, 38, .15); color: var(--accent); border: 1px solid rgba(220, 38, 38, .25); }
.rank-stats { text-align: right; margin-left: 20px; }
.rank-stats .rating { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.rank-stats .views { font-size: .8rem; color: rgba(254, 242, 242, .45); margin-top: 4px; }
.rank-stats .trend { font-size: .8rem; color: #4ade80; margin-top: 4px; }
.rank-stats .trend.down { color: #f87171; }
.ranking-hero h1 { font-size: 2rem; }
.rank-poster { width: 48px; height: 68px; margin-right: 14px; }
.rank-number { width: 40px; font-size: 1.4rem; }
.rank-stats .rating { font-size: 1.1rem; }
.rank-stats .views, .rank-stats .trend { display: none; }
.banner-ad { background: linear-gradient(135deg, rgba(220, 38, 38, .1), rgba(251, 146, 60, .1)); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; margin: 40px 0; flex-wrap: wrap; gap: 16px; }
.banner-ad .text h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.banner-ad .text p { font-size: .9rem; color: rgba(254, 242, 242, .6); margin: 0; }
.banner-ad .btn-special { padding: 10px 24px; font-size: .95rem; }

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