:root {
      --accent: #e50914;
      --gold: #f5c518;
      --bg-dark: #0b0b0f;
      --text-light: #f5f5f7;
      --border-thick: 3px solid var(--text-light);
      --shadow-hard: 6px 6px 0px rgba(245, 197, 24, 0.25);
    }
    
    * {
      border-radius: 0 !important;
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }
    
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      line-height: 1.5;
    }
    
    /* 全直角 + 粗边框 + 硬阴影 */
    .border-box {
      border: var(--border-thick);
      box-shadow: var(--shadow-hard);
    }
    
    .navbar {
      background: #0b0b0f;
      border-bottom: 3px solid var(--gold);
      padding: 0.8rem 1.5rem;
      z-index: 1030;
    }
    
    .navbar-brand {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--gold) !important;
      letter-spacing: -0.5px;
      border: none;
    }
    
    .navbar-nav .nav-link {
      color: var(--text-light) !important;
      font-weight: 600;
      margin: 0 0.5rem;
      border-bottom: 2px solid transparent;
      text-transform: uppercase;
      font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link:hover {
      border-bottom-color: var(--gold);
    }
    
    .btn-hard {
      border: 2px solid var(--text-light);
      background: transparent;
      color: var(--text-light);
      font-weight: 700;
      padding: 0.75rem 2rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 3px 3px 0 var(--gold);
      transition: all 0.15s;
    }
    
    .btn-hard:hover {
      background: var(--gold);
      color: var(--bg-dark);
      border-color: var(--gold);
      box-shadow: 0 0 0;
      transform: translate(3px, 3px);
    }
    
    .hero-section {
      padding: 4rem 0 3rem;
      border-bottom: 4px solid var(--gold);
      background: linear-gradient(145deg, #0b0b0f 0%, #1a1a2e 100%);
    }
    
    .hero-title {
      font-size: clamp(3rem, 8vw, 4.5rem);
      font-weight: 900;
      line-height: 1.1;
      letter-spacing: -2px;
      color: var(--gold);
    }
    
    .hero-sub {
      font-size: 1.25rem;
      font-weight: 400;
      color: #bbbbbb;
      max-width: 700px;
    }
    
    .poster-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1rem;
    }
    
    .movie-card {
      background: #141418;
      border: 2px solid #2a2a2e;
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      box-shadow: 4px 4px 0 rgba(245, 197, 24, 0.2);
    }
    
    .movie-card:hover {
      transform: translateY(-6px);
      box-shadow: 6px 6px 0 var(--gold);
      border-color: var(--gold);
    }
    
    .movie-poster {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      display: block;
      background: #222; /* 占位背景 */
      opacity: 0;
      transition: opacity 0.3s;
    }
    
    .movie-poster.loaded {
      opacity: 1;
    }
    
    .card-body {
      padding: 0.65rem;
      background: #141418;
    }
    
    .movie-title {
      font-weight: 700;
      font-size: 0.95rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #f5f5f7;
    }
    
    .movie-meta {
      display: flex;
      justify-content: space-between;
      color: var(--gold);
      font-size: 0.8rem;
      font-weight: 600;
    }
    
    .gradient-mask {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
      opacity: 0;
      transition: opacity 0.25s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .movie-card:hover .gradient-mask {
      opacity: 1;
    }
    
    .play-btn {
      width: 50px;
      height: 50px;
      border: 2px solid white;
      background: rgba(0,0,0,0.5);
      color: white;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .section-title {
      font-size: 2.2rem;
      font-weight: 800;
      letter-spacing: -1px;
      border-left: 8px solid var(--gold);
      padding-left: 1rem;
      margin: 2.5rem 0 1.5rem;
    }
    
    .rank-badge {
      background: var(--gold);
      color: #000;
      font-weight: 800;
      padding: 0.2rem 0.8rem;
      border: 2px solid black;
      box-shadow: 2px 2px 0 black;
    }
    
    .footer {
      border-top: 3px solid var(--gold);
      padding: 2rem 0;
      margin-top: 3rem;
    }
    
    /* 侧边详情栏 */
    .detail-sidebar {
      position: fixed;
      top: 0;
      right: -400px;
      width: 360px;
      height: 100vh;
      background: #101014;
      border-left: 4px solid var(--gold);
      transition: right 0.3s ease;
      z-index: 1050;
      overflow-y: auto;
      padding: 2rem 1.5rem;
      box-shadow: -8px 0 20px rgba(0,0,0,0.5);
    }
    
    .detail-sidebar.open {
      right: 0;
    }
    
    .sidebar-backdrop {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 1045;
      display: none;
    }
    
    .sidebar-backdrop.show {
      display: block;
    }
    
    .close-detail {
      border: 2px solid var(--gold);
      background: none;
      color: var(--gold);
      font-size: 1.5rem;
      padding: 0 10px;
      float: right;
      cursor: pointer;
    }
    
    .btn-top {
      position: fixed;
      bottom: 2rem;
      right: 1.5rem;
      width: 48px;
      height: 48px;
      border: 2px solid var(--gold);
      background: #0b0b0f;
      color: var(--gold);
      font-size: 1.4rem;
      display: none;
      z-index: 1100;
      cursor: pointer;
    }
    
    .btn-top.visible {
      display: block;
    }
    
    .lazy-img {
      background: #1f1f23;
      position: relative;
      overflow: hidden;
    }
    
    .tag {
      border: 1px solid var(--gold);
      color: var(--gold);
      padding: 0.3rem 1rem;
      font-weight: 600;
      cursor: pointer;
    }
    
    .tag:hover {
      background: var(--gold);
      color: black;
    }
    
    .list-group-item {
      background: transparent;
      border: 1px solid #333;
      color: #ddd;
    }

/* --- 子页面追加 --- */
.rank-page-hero {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
.rank-page-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            letter-spacing: -1px;
            margin-bottom: 12px;
        }
.rank-page-hero p {
            color: rgba(255,255,255,0.7);
            font-size: 1.1rem;
            max-width: 700px;
        }
.rank-tabs {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin: 40px 0 30px;
        }
.rank-tabs .tab-btn {
            background: transparent;
            border: 2px solid rgba(255,255,255,0.2);
            color: var(--text-light);
            padding: 10px 24px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.rank-tabs .tab-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
.rank-tabs .tab-btn.active {
            background: var(--accent);
            border-color: var(--accent);
            color: white;
        }
.rank-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.rank-item {
            display: flex;
            align-items: center;
            padding: 18px 20px;
            background: rgba(255,255,255,0.03);
            border-radius: 12px;
            margin-bottom: 12px;
            transition: transform 0.2s, background 0.2s;
            border: 1px solid rgba(255,255,255,0.06);
        }
.rank-item:hover {
            transform: translateX(6px);
            background: rgba(255,255,255,0.06);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 900;
            width: 60px;
            text-align: center;
            color: rgba(255,255,255,0.3);
            font-style: italic;
        }
.rank-number.top-1 {
            color: var(--gold);
        }
.rank-number.top-2 {
            color: #c0c0c0;
        }
.rank-number.top-3 {
            color: #cd7f32;
        }
.rank-poster {
            width: 60px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 20px;
            flex-shrink: 0;
            background: rgba(255,255,255,0.1);
        }
.rank-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
.rank-info {
            flex: 1;
            min-width: 0;
        }
.rank-info h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-info .rank-meta {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.6);
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
.rank-score {
            font-weight: 800;
            color: var(--gold);
            font-size: 1.1rem;
            margin-left: 15px;
            white-space: nowrap;
        }
.rank-change {
            font-size: 0.8rem;
            margin-left: 8px;
            font-weight: 600;
        }
.rank-change.up {
            color: #4ade80;
        }
.rank-change.down {
            color: #f87171;
        }
.rank-change.steady {
            color: rgba(255,255,255,0.4);
        }
.rank-section-title {
            font-size: 1.6rem;
            font-weight: 800;
            margin: 50px 0 20px;
            padding-left: 16px;
            border-left: 4px solid var(--accent);
        }
.rank-section-title span {
            color: var(--accent);
        }
.rank-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 16px;
            margin-bottom: 40px;
        }
.rank-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 20px;
            transition: transform 0.2s;
        }
.rank-card:hover {
            transform: translateY(-4px);
        }
.rank-card h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
.rank-card .card-stats {
            display: flex;
            gap: 12px;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.6);
        }
.rank-card .card-stats i {
            color: var(--gold);
            margin-right: 4px;
        }
.rank-note {
            background: rgba(245,197,24,0.08);
            border: 1px solid rgba(245,197,24,0.2);
            border-radius: 12px;
            padding: 20px 24px;
            margin: 30px 0;
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }
.rank-note i {
            color: var(--gold);
            font-size: 1.4rem;
            margin-top: 2px;
        }
.rank-note p {
            margin: 0;
            color: rgba(255,255,255,0.8);
            font-size: 0.95rem;
            line-height: 1.6;
        }
.rank-page-hero h1 {
                font-size: 2rem;
            }
.rank-item {
                padding: 14px;
                flex-wrap: wrap;
            }
.rank-poster {
                width: 48px;
                height: 64px;
                margin-right: 12px;
            }
.rank-number {
                width: 40px;
                font-size: 1.4rem;
            }
.rank-score {
                font-size: 0.95rem;
                margin-left: 0;
                width: 100%;
                margin-top: 8px;
            }

/* --- 子页面追加 --- */
/* 关于页专属样式 */
        .about-hero {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
            padding: 80px 0 60px;
            border-bottom: var(--border-thick);
            position: relative;
            overflow: hidden;
        }
.about-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.about-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--text-light);
            position: relative;
            z-index: 1;
        }
.about-hero p {
            color: rgba(245, 245, 247, 0.8);
            font-size: 1.1rem;
            max-width: 700px;
            position: relative;
            z-index: 1;
        }
.about-section {
            padding: 60px 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
.about-section h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 20px;
            position: relative;
            padding-left: 20px;
        }
.about-section h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 8px;
            height: 24px;
            background: var(--accent);
            border-radius: 4px;
        }
.about-section p {
            color: rgba(245, 245, 247, 0.85);
            line-height: 1.9;
            font-size: 1.05rem;
            margin-bottom: 16px;
        }
.about-section .lead {
            font-size: 1.15rem;
            font-weight: 500;
            color: var(--text-light);
        }
.about-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 30px;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hard);
        }
.about-card .icon-box {
            width: 56px;
            height: 56px;
            background: var(--accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.4rem;
            color: white;
        }
.about-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 12px;
        }
.about-card p {
            font-size: 0.95rem;
            color: rgba(245, 245, 247, 0.75);
            line-height: 1.7;
        }
.about-stats {
            background: rgba(229, 9, 20, 0.08);
            border: 1px solid rgba(229, 9, 20, 0.2);
            border-radius: 16px;
            padding: 40px;
            margin-top: 30px;
        }
.about-stats .stat-item {
            text-align: center;
            padding: 20px;
        }
.about-stats .stat-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--gold);
            display: block;
            margin-bottom: 8px;
        }
.about-stats .stat-label {
            color: rgba(245, 245, 247, 0.7);
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
.about-timeline {
            position: relative;
            padding-left: 30px;
            border-left: 3px solid var(--accent);
            margin-left: 20px;
        }
.about-timeline .timeline-item {
            position: relative;
            margin-bottom: 30px;
            padding-left: 20px;
        }
.about-timeline .timeline-item::before {
            content: '';
            position: absolute;
            left: -35px;
            top: 5px;
            width: 12px;
            height: 12px;
            background: var(--gold);
            border-radius: 50%;
            border: 3px solid var(--bg-dark);
            box-shadow: 0 0 0 3px var(--accent);
        }
.about-timeline .timeline-year {
            color: var(--gold);
            font-weight: 800;
            font-size: 1.1rem;
            margin-bottom: 6px;
        }
.about-timeline .timeline-text {
            color: rgba(245, 245, 247, 0.85);
            line-height: 1.7;
            font-size: 1rem;
        }
.about-quote {
            background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(245, 197, 24, 0.1) 100%);
            border: 1px solid rgba(229, 9, 20, 0.2);
            border-radius: 16px;
            padding: 40px;
            margin: 40px 0;
            text-align: center;
        }
.about-quote .quote-mark {
            font-size: 3rem;
            color: var(--accent);
            margin-bottom: 20px;
        }
.about-quote blockquote {
            font-size: 1.3rem;
            font-style: italic;
            color: var(--text-light);
            margin-bottom: 20px;
            line-height: 1.8;
        }
.about-quote .quote-author {
            color: var(--gold);
            font-weight: 600;
            font-size: 1rem;
        }
.about-hero h1 {
                font-size: 2rem;
            }
.about-stats .stat-number {
                font-size: 1.8rem;
            }

/* --- 子页面追加 --- */
/* 本页专属微调，保持整体风格 */
        .disclaimer-hero {
            background: var(--bg-dark);
            padding: 3rem 0 1.5rem;
            border-bottom: var(--border-thick);
        }
.disclaimer-hero .hero-title {
            font-size: 2.8rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            color: var(--text-light);
            text-shadow: 3px 3px 0 var(--accent);
            margin-bottom: 0.5rem;
        }
.disclaimer-hero .hero-sub {
            color: rgba(245, 245, 247, 0.8);
            font-size: 1.2rem;
            border-left: 4px solid var(--gold);
            padding-left: 1rem;
            margin-top: 0.3rem;
        }
.disclaimer-body {
            padding: 3.5rem 0;
            background: var(--bg-dark);
            color: var(--text-light);
        }
.disclaimer-body .section-title {
            font-size: 1.9rem;
            font-weight: 800;
            letter-spacing: -0.3px;
            border-bottom: 2px solid var(--gold);
            display: inline-block;
            padding-bottom: 0.4rem;
            margin-bottom: 1.8rem;
            color: var(--text-light);
        }
.disclaimer-body h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            color: var(--gold);
            letter-spacing: -0.2px;
        }
.disclaimer-body p, .disclaimer-body li {
            font-size: 1.05rem;
            line-height: 1.8;
            color: rgba(245, 245, 247, 0.9);
        }
.disclaimer-body ul {
            padding-left: 1.5rem;
        }
.disclaimer-body li {
            margin-bottom: 0.6rem;
        }
.highlight-box {
            background: rgba(229, 9, 20, 0.1);
            border-left: 5px solid var(--accent);
            padding: 1.2rem 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
.highlight-box strong {
            color: var(--gold);
        }
/* 覆盖bootstrap组件默认白底 */
        .accordion-item, .accordion-button, .accordion-body {
            background: transparent !important;
            color: var(--text-light) !important;
            border-color: rgba(245,245,247,0.2) !important;
        }
.accordion-button:not(.collapsed) {
            background: rgba(245,197,24,0.1) !important;
            color: var(--gold) !important;
        }
.accordion-button::after {
            filter: invert(1);
        }

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