:root {
      --primary: #e50914;
      --accent: #f5c518;
      --bg-dark: #0b0b0f;
      --text-light: #f5f5f7;
      --card-radius: 8px;
      --border-light: rgba(255,255,255,0.1);
      --shadow-soft: 0 4px 20px rgba(0,0,0,0.5);
    }
    * { font-family: 'Inter', system-ui, sans-serif; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-size: 0.925rem;
      line-height: 1.5;
    }
    /* 导航吸顶+透明渐变 */
    .navbar-custom {
      backdrop-filter: blur(14px);
      background: rgba(11,11,15,0.7) !important;
      border-bottom: 1px solid var(--border-light);
      transition: all 0.3s ease;
    }
    .navbar-custom.scrolled {
      background: rgba(11,11,15,0.9) !important;
      box-shadow: 0 8px 30px rgba(0,0,0,0.7);
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.5rem;
      letter-spacing: -0.02em;
      color: var(--text-light) !important;
      display: flex;
      align-items: center;
    }
    .navbar-brand i { color: var(--primary); margin-right: 6px; }
    .navbar-dark .navbar-nav .nav-link {
      color: rgba(245,245,247,0.8);
      font-weight: 500;
      padding: 0.5rem 1rem;
      transition: 0.2s;
      font-size: 0.9rem;
    }
    .navbar-dark .navbar-nav .nav-link:hover { color: var(--accent); }

    /* 区块标题 */
    .section-title {
      font-weight: 900;
      font-size: 1.5rem;
      letter-spacing: -0.02em;
      border-left: 6px solid var(--primary);
      padding-left: 14px;
      margin-bottom: 1.2rem;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .section-title i { color: var(--accent); font-size: 1.3rem; }

    /* 海报卡片 */
    .movie-card {
      background: #111118;
      border-radius: var(--card-radius);
      overflow: hidden;
      border: 1px solid var(--border-light);
      transition: transform 0.2s, border 0.2s;
      height: 100%;
      cursor: pointer;
      position: relative;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .movie-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent);
      box-shadow: 0 12px 25px rgba(0,0,0,0.8);
    }
    .poster-wrapper {
      position: relative;
      aspect-ratio: 2 / 3;
      overflow: hidden;
      background: linear-gradient(145deg, #1a1a22, #0e0e13);
    }
    .poster-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.5s, transform 0.5s;
      opacity: 0.9;
    }
    .movie-card:hover .poster-wrapper img { transform: scale(1.05); opacity: 1; }
    .gradient-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(11,11,15,0.95) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    }
    .play-icon {
      position: absolute;
      top: 45%;
      left: 50%;
      transform: translate(-50%,-50%);
      background: rgba(229,9,20,0.7);
      width: 46px;
      height: 46px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: 0.3s;
      backdrop-filter: blur(4px);
      border: 1px solid rgba(255,255,255,0.2);
    }
    .movie-card:hover .play-icon { opacity: 1; }
    .play-icon i { color: white; font-size: 1.1rem; margin-left: 4px; }
    .card-info {
      padding: 0.6rem 0.6rem 0.9rem;
      background: #101017;
    }
    .movie-title {
      font-weight: 700;
      font-size: 0.9rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 0.15rem;
    }
    .movie-meta {
      display: flex;
      justify-content: space-between;
      font-size: 0.7rem;
      color: #aaa;
      font-family: monospace;
    }
    .rating {
      color: var(--accent);
      font-weight: 800;
      font-size: 0.75rem;
    }

    /* 分类入口 */
    .category-pill {
      background: #171720;
      border: 1px solid var(--border-light);
      padding: 0.55rem 1.2rem;
      border-radius: 50px;
      font-weight: 600;
      transition: 0.2s;
      color: var(--text-light) !important;
      font-size: 0.8rem;
    }
    .category-pill:hover {
      background: var(--primary);
      border-color: var(--primary);
      color: white !important;
    }

    /* 横向滚动行 */
    .poster-row {
      display: flex;
      gap: 0.8rem;
      overflow-x: auto;
      padding-bottom: 0.5rem;
      scrollbar-width: thin;
      scrollbar-color: var(--primary) #222;
    }
    .poster-row .movie-card { flex: 0 0 150px; }

    /* 排行榜列表 */
    .rank-item {
      background: #101018;
      border-radius: 8px;
      padding: 0.6rem 0.8rem;
      margin-bottom: 0.4rem;
      display: flex;
      align-items: center;
      gap: 12px;
      border: 1px solid rgba(255,255,255,0.04);
    }
    .rank-number {
      font-family: monospace;
      font-weight: 800;
      color: var(--accent);
      width: 28px;
      font-size: 1rem;
    }
    .rank-title { font-weight: 600; font-size: 0.9rem; flex: 1; }
    .rank-score { font-family: monospace; color: var(--accent); font-size: 0.8rem; }

    /* 今天看什么 widget */
    .randomizer-box {
      background: linear-gradient(135deg, #1c1c26, #0b0b10);
      border-radius: 16px;
      padding: 2rem;
      text-align: center;
      border: 1px solid var(--border-light);
    }

    /* 友链区 */
    .friend-links {
      border-top: 1px solid var(--border-light);
      padding-top: 2rem;
      margin-top: 3rem;
    }

    /* 播放弹窗 (沉浸式) */
    .modal-movie {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(0,0,0,0.75);
      backdrop-filter: blur(8px);
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
    .modal-movie.open { display: flex; }
    .modal-backdrop-img {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: blur(40px) brightness(0.5);
      z-index: -1;
    }
    .modal-card {
      background: rgba(20,20,28,0.9);
      border: 1px solid var(--border-light);
      border-radius: 20px;
      max-width: 520px;
      width: 100%;
      padding: 1.8rem;
      color: white;
      position: relative;
      box-shadow: 0 30px 60px rgba(0,0,0,0.9);
    }
    .modal-close {
      position: absolute;
      top: 12px; right: 16px;
      font-size: 1.8rem;
      color: #aaa;
      cursor: pointer;
      background: none;
      border: none;
      line-height: 1;
      z-index: 10;
    }
    .modal-close:hover { color: var(--primary); }

    /* 渐变文字 hero */
    .hero-gradient-text {
      background: linear-gradient(120deg, #f5f5f7, #f5c518, #e50914);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 900;
    }
    .hero-deco {
      font-size: 3rem;
      animation: float 3s ease-in-out infinite;
    }
    @keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

    .btn-glow {
      background: var(--primary);
      border: none;
      font-weight: 600;
      padding: 0.6rem 1.8rem;
      border-radius: 50px;
      transition: 0.3s;
    }
    .btn-glow:hover { background: #ff2b36; box-shadow: 0 0 25px rgba(229,9,20,0.6); }

    /* footer */
    footer {
      background: #07070b;
      padding: 2rem 0;
      border-top: 1px solid var(--border-light);
    }

/* --- 子页面追加 --- */
/* 导航与品牌 */
    .navbar-custom {
      background: rgba(11,11,15,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
      padding: 12px 0;
    }
.navbar-brand:hover { color: var(--accent); }
.navbar-nav .nav-link.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
      font-weight: 600;
    }
.navbar-toggler { border:1px solid rgba(255,255,255,0.2); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
/* 通用排版 */
    .section-title {
      font-size: 1.9rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 14px;
    }
/* 卡片/海报 (完全自写, 不用 bootstrap card) */
    .movie-card {
      background: #14141c;
      border-radius: var(--card-radius);
      overflow: hidden;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-soft);
      transition: transform 0.25s ease, box-shadow 0.2s;
      height: 100%;
    }
/* 排行榜区块 (toplist 专属) */
    .rank-section { margin: 50px 0; }
.rank-item:hover { background: #1a1a26; }
.rank-item:nth-child(1) .rank-number { color: #f5c518; opacity: 1; }
.rank-item:nth-child(2) .rank-number { color: #c0c0c0; }
.rank-item:nth-child(3) .rank-number { color: #b87333; }
/* 随机器 */
    .randomizer-box {
      background: linear-gradient(145deg, #151520, #0e0e16);
      border: 1px solid var(--border-light);
      border-radius: 20px;
      padding: 30px 28px;
      margin: 40px 0;
      box-shadow: var(--shadow-soft);
    }
/* 页脚 */
    .friend-links {
      border-top: 1px solid var(--border-light);
      margin-top: 60px;
      padding-top: 30px;
      font-size: 0.9rem;
    }
.friend-links a {
      color: #a0a0b0;
      margin-right: 28px;
      text-decoration: none;
    }
.friend-links a:hover { color: var(--accent); }
/* 小工具 */
    .bg-deep { background: #0e0e14; }
.text-muted { color: #9b9ba7 !important; }
.border-light { border-color: var(--border-light) !important; }
.btn-outline-accent {
      background: transparent;
      border: 1.5px solid var(--accent);
      color: var(--accent);
      padding: 8px 26px;
      border-radius: 50px;
      font-weight: 600;
      transition: 0.2s;
    }
.btn-outline-accent:hover { background: var(--accent); color: #0b0b0f; }
/* 确保没有 bootstrap 白底干扰 */
    .collapse:not(.show) { display: none; }
.navbar-collapse { background: transparent; }

/* --- 子页面追加 --- */
.about-page { padding: 60px 0; }
.about-hero { background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(245, 197, 24, 0.08) 100%); border-radius: 16px; padding: 50px 40px; margin-bottom: 50px; border: 1px solid var(--border-light); }
.about-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--text-light); margin-bottom: 20px; }
.about-hero h1 span { color: var(--primary); }
.about-hero p { color: rgba(245, 245, 247, 0.85); font-size: 1.1rem; line-height: 1.8; max-width: 800px; }
.about-section { padding: 40px 0; border-bottom: 1px solid var(--border-light); }
.about-section:last-child { border-bottom: none; }
.about-section h2 { color: var(--text-light); font-size: 1.75rem; font-weight: 700; margin-bottom: 25px; position: relative; padding-left: 18px; }
.about-section h2::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--primary); border-radius: 2px; }
.about-section p { color: rgba(245, 245, 247, 0.8); line-height: 1.9; margin-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.feature-item { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-light); border-radius: var(--card-radius); padding: 30px 25px; transition: transform 0.3s ease, border-color 0.3s ease; }
.feature-item:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-item i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.feature-item h3 { color: var(--text-light); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.feature-item p { color: rgba(245, 245, 247, 0.7); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0; }
.update-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.stat-item { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-light); border-radius: var(--card-radius); padding: 25px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 5px; }
.stat-label { color: rgba(245, 245, 247, 0.7); font-size: 0.95rem; }
.value-list { list-style: none; padding: 0; margin: 20px 0; }
.value-list li { padding: 12px 0; color: rgba(245, 245, 247, 0.8); line-height: 1.7; display: flex; align-items: flex-start; }
.value-list li i { color: var(--accent); margin-right: 12px; margin-top: 4px; }
.about-hero { padding: 30px 20px; }
.about-hero h1 { font-size: 1.8rem; }
.about-section h2 { font-size: 1.4rem; }

/* --- 子页面追加 --- */
.disclaimer-section {
      background: var(--bg-dark);
      padding: 60px 0 80px;
    }
.disclaimer-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border-light);
      border-radius: var(--card-radius);
      padding: 40px 50px;
      margin-bottom: 30px;
      box-shadow: var(--shadow-soft);
    }
.disclaimer-card h2 {
      color: var(--accent);
      font-size: 1.6rem;
      font-weight: 700;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
.disclaimer-card h2 i {
      color: var(--primary);
      font-size: 1.4rem;
    }
.disclaimer-card p {
      color: var(--text-light);
      line-height: 1.8;
      font-size: 0.95rem;
      opacity: 0.88;
      margin-bottom: 16px;
    }
.disclaimer-card ul {
      list-style: none;
      padding-left: 0;
    }
.disclaimer-card ul li {
      color: var(--text-light);
      padding: 8px 0;
      padding-left: 28px;
      position: relative;
      line-height: 1.7;
      opacity: 0.88;
    }
.disclaimer-card ul li::before {
      content: "\f058";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      left: 0;
      color: var(--primary);
      font-size: 0.9rem;
    }
.highlight-box {
      background: rgba(229, 9, 20, 0.08);
      border-left: 4px solid var(--primary);
      padding: 20px 25px;
      border-radius: 0 var(--card-radius) var(--card-radius) 0;
      margin: 25px 0;
    }
.highlight-box p {
      margin-bottom: 0;
      font-weight: 500;
    }
.disclaimer-card {
        padding: 25px 20px;
      }
.disclaimer-card h2 {
        font-size: 1.3rem;
      }