:root {
      --primary: #e50914;
      --accent: #f5c518;
      --bg-dark: #0b0b0f;
      --text-light: #f5f5f7;
      --card-bg: #1c1c22;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.7);
      --font-serif: 'Noto Serif SC', serif;
      --font-sans: 'Noto Sans SC', sans-serif;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: var(--font-sans);
      line-height: 1.5;
    }

    h1, h2, h3, h4, .navbar-brand, .display-title {
      font-family: var(--font-serif);
      letter-spacing: 0.5px;
    }

    /* 导航栏滚动吸顶效果 + 透明背景变化 */
    .navbar-custom {
      background: rgba(11, 11, 15, 0.6);
      backdrop-filter: blur(15px);
      transition: background 0.4s ease, box-shadow 0.4s ease;
      padding: 10px 0;
    }

    .navbar-custom.scrolled {
      background: rgba(11, 11, 15, 0.95);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }

    .navbar-brand {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--accent) !important;
    }

    .navbar-brand i {
      color: var(--accent);
      margin-right: 6px;
    }

    .nav-link {
      color: var(--text-light) !important;
      font-weight: 500;
      margin: 0 12px;
    }

    .nav-link:hover {
      color: var(--accent) !important;
    }

    /* 顶部大banner */
    .hero-banner {
      background: linear-gradient(135deg, #1a1a24 0%, #0b0b0f 100%), url('{随机图片}') center/cover no-repeat;
      background-blend-mode: overlay;
      background-size: cover;
      background-position: center 30%;
      min-height: 420px;
      display: flex;
      align-items: center;
      position: relative;
      border-radius: 0 0 40px 40px;
      box-shadow: var(--shadow-soft);
    }

    .hero-content {
      background: rgba(0, 0, 0, 0.5);
      padding: 40px;
      border-radius: var(--radius-lg);
      max-width: 700px;
      margin: 40px 20px;
      backdrop-filter: blur(3px);
    }

    .hero-content h1 {
      font-size: 3.2rem;
      font-weight: 800;
      color: #fff;
      text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
    }

    .hero-content p {
      color: #eee;
      font-size: 1.1rem;
    }

    /* 区块标题 */
    .section-title {
      font-weight: 700;
      margin: 40px 0 20px;
      border-left: 6px solid var(--primary);
      padding-left: 16px;
      display: inline-block;
      font-size: 1.7rem;
    }

    /* 海报卡片 */
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: none;
      transition: transform 0.25s ease, box-shadow 0.3s;
      height: 100%;
      box-shadow: 0 5px 15px rgba(0,0,0,0.5);
      position: relative;
      cursor: pointer;
    }

    .movie-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 35px rgba(0,0,0,0.8);
    }

    .poster-wrapper {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2 / 3;
    }

    .poster-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s;
    }

    .movie-card:hover .poster-wrapper img {
      transform: scale(1.08);
    }

    /* 角标 */
    .episode-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: var(--primary);
      color: white;
      padding: 4px 8px;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      z-index: 2;
    }

    .rating-badge {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: rgba(0, 0, 0, 0.7);
      color: var(--accent);
      padding: 4px 8px;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 700;
      backdrop-filter: blur(2px);
    }

    .card-body-info {
      padding: 10px 12px;
    }

    .movie-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .movie-meta {
      color: #aaa;
      font-size: 0.75rem;
    }

    .stars {
      color: var(--accent);
      font-size: 0.7rem;
      letter-spacing: 2px;
    }

    /* 分类区tab */
    .category-tabs .nav-pills .nav-link {
      background: #2a2a33;
      color: var(--text-light);
      border-radius: 30px;
      margin-right: 8px;
      font-weight: 500;
      padding: 8px 18px;
    }

    .category-tabs .nav-pills .nav-link.active {
      background: var(--primary);
    }

    /* 时间线 */
    .timeline-list {
      border-left: 3px solid var(--accent);
      padding-left: 20px;
      margin: 20px 0;
    }

    .timeline-item {
      margin-bottom: 20px;
      position: relative;
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      left: -27px;
      top: 6px;
      width: 12px;
      height: 12px;
      background: var(--accent);
      border-radius: 50%;
    }

    /* 回到顶部 */
    #backToTop {
      position: fixed;
      bottom: 40px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      border: none;
      font-size: 1.4rem;
      box-shadow: 0 10px 20px rgba(229, 9, 20, 0.5);
      display: none;
      z-index: 999;
      transition: opacity 0.3s;
    }

    #backToTop.show {
      display: block;
    }

    /* 底部抽屉弹窗 */
    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.7);
      z-index: 1050;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }

    .drawer-panel {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #1e1e26;
      border-radius: 24px 24px 0 0;
      padding: 30px 25px;
      z-index: 1060;
      transform: translateY(100%);
      transition: transform 0.35s ease;
      max-height: 70vh;
      overflow-y: auto;
      border-top: 4px solid var(--accent);
    }

    .drawer-open .drawer-overlay {
      opacity: 1;
      pointer-events: auto;
    }

    .drawer-open .drawer-panel {
      transform: translateY(0);
    }

    .btn-close-drawer {
      position: absolute;
      top: 15px;
      right: 20px;
      background: none;
      border: none;
      color: #aaa;
      font-size: 1.5rem;
    }

    /* 友情链接 */
    .friend-links {
      background: #111116;
      border-radius: var(--radius-lg);
      padding: 20px;
      margin: 30px 0;
    }

    footer {
      background: #0e0e12;
      padding: 20px 0;
      border-top: 1px solid #222;
      color: #aaa;
    }

    /* 响应式 */
    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2.2rem;
      }
      .section-title {
        font-size: 1.4rem;
      }
    }

/* --- 子页面追加 --- */
/* 本页专属微调,不动全局变量 */
    .about-hero {
      background: linear-gradient(145deg, var(--bg-dark) 0%, #151520 100%);
      border-bottom: 1px solid rgba(245,197,24,0.15);
      padding: 70px 0 50px;
    }
.about-hero .section-title {
      font-family: var(--font-serif);
      font-weight: 800;
      letter-spacing: 1px;
      margin-bottom: 18px;
    }
.about-hero p.lead {
      color: rgba(245,245,247,0.75);
      max-width: 760px;
      margin: 0 auto;
      font-size: 1.12rem;
      line-height: 1.9;
    }
.about-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 30px 28px;
      box-shadow: var(--shadow-soft);
      height: 100%;
      border-left: 4px solid var(--primary);
      transition: transform .25s ease;
    }
.about-card:hover {
      transform: translateY(-5px);
    }
.about-card h3 {
      font-family: var(--font-serif);
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 15px;
      line-height: 1.5;
    }
.about-card p {
      color: rgba(245,245,247,0.82);
      font-size: .95rem;
      line-height: 1.8;
      margin-bottom: 0;
    }
.about-card .icon-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 46px;
      height: 46px;
      border-radius: 14px;
      background: rgba(229,9,20,0.15);
      color: var(--accent);
      font-size: 1.25rem;
      margin-bottom: 18px;
    }
.timeline-about {
      position: relative;
      padding-left: 30px;
      margin-top: 20px;
    }
.timeline-about::before {
      content: '';
      position: absolute;
      left: 8px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--primary), var(--accent));
      border-radius: 2px;
    }
.timeline-about .tl-item {
      position: relative;
      padding-bottom: 28px;
      padding-left: 20px;
    }
.timeline-about .tl-item::before {
      content: '';
      position: absolute;
      left: -26px;
      top: 5px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--primary);
      border: 3px solid var(--bg-dark);
      box-shadow: 0 0 0 2px var(--primary);
    }
.timeline-about .tl-year {
      font-family: var(--font-serif);
      color: var(--accent);
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 6px;
    }
.timeline-about .tl-text {
      color: rgba(245,245,247,0.8);
      font-size: .93rem;
      line-height: 1.75;
    }
.about-quote {
      background: rgba(229,9,20,0.07);
      border-radius: var(--radius-md);
      padding: 35px 40px;
      margin: 50px 0 20px;
      border-left: 5px solid var(--primary);
      position: relative;
    }
.about-quote p {
      font-family: var(--font-serif);
      font-size: 1.15rem;
      color: var(--text-light);
      font-style: italic;
      margin-bottom: 12px;
      line-height: 1.9;
    }
.about-quote .quote-author {
      color: var(--accent);
      font-weight: 600;
      font-size: .95rem;
      letter-spacing: 1px;
    }
.about-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 40px;
      justify-content: center;
    }
.about-stats .stat-box {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 20px 32px;
      text-align: center;
      min-width: 130px;
      border-bottom: 3px solid var(--primary);
    }
.about-stats .stat-num {
      font-family: var(--font-serif);
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.2;
    }
.about-stats .stat-label {
      color: rgba(245,245,247,0.6);
      font-size: .85rem;
      margin-top: 4px;
    }
.about-hero { padding: 50px 0 35px; }
.about-card { padding: 24px 20px; }
.about-quote { padding: 25px 20px; }

/* --- 子页面追加 --- */
/* 仅覆盖 Bootstrap 必须组件 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: rgba(245,245,247,0.12);
        }
.card-title, .card-text { color: var(--text-light); }
.form-control, .form-select {
            background: rgba(0,0,0,0.35);
            color: var(--text-light);
            border-color: rgba(245,245,247,0.2);
        }
.form-control::placeholder { color: rgba(255,255,255,0.45); }
.navbar, .navbar-brand, .nav-link {
            background: transparent;
            color: var(--text-light);
        }
.btn-light {
            background: rgba(255,255,255,0.1);
            color: var(--text-light);
            border-color: transparent;
        }
.btn-outline-light {
            border-color: rgba(245,245,247,0.4);
            color: var(--text-light);
        }
.btn-outline-light:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.accordion-item, .accordion-button {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: rgba(245,245,247,0.1);
        }
.accordion-button:not(.collapsed) {
            background: rgba(229,9,20,0.2);
            color: var(--accent);
        }
.list-group-item {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: rgba(245,245,247,0.1);
        }
.modal-content, .modal-header, .modal-body {
            background: var(--card-bg);
            color: var(--text-light);
        }
.dropdown-menu, .dropdown-item {
            background: var(--card-bg);
            color: var(--text-light);
        }
/* 基础 */
        body {
            background: var(--bg-dark);
            color: var(--text-light);
            font-family: var(--font-sans);
        }
.footer {
            background: rgba(0,0,0,0.3);
            padding: 2.5rem 0;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
/* 分类区块 */
        .genre-shelf { margin-bottom: 3rem; }
.genre-chip {
            background: rgba(245,245,247,0.05);
            border-radius: 50px;
            padding: 0.3rem 1rem;
            font-size: 0.85rem;
            border: 1px solid rgba(255,255,255,0.1);
            display: inline-block;
            margin: 0.2rem 0.3rem;
            transition: all 0.2s;
        }
.genre-chip:hover { border-color: var(--accent); color: var(--accent); }
.genre-divider {
            height: 2px;
            background: linear-gradient(90deg, var(--primary), transparent);
            margin: 2.5rem 0 1.5rem;
            opacity: 0.3;
        }

/* --- 子页面追加 --- */
/* 隐私政策页微调：保证组件与深色主题融合，同时不依赖Bootstrap组件类 */
        .privacy-hero {
            background: linear-gradient(145deg, var(--bg-dark) 0%, #14141a 100%);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 3rem 0 2rem;
        }
.privacy-hero h1 {
            color: var(--text-light);
            font-family: var(--font-sans);
            font-weight: 800;
            letter-spacing: -0.02em;
        }
.privacy-hero .lead {
            color: rgba(255,255,255,0.6);
            font-weight: 400;
        }
.privacy-section {
            background: transparent;
            padding: 2rem 0;
        }
.privacy-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-soft);
            padding: 2rem 2rem 2.2rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(255,255,255,0.04);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.privacy-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px rgba(0,0,0,0.8);
        }
.privacy-card h2 {
            font-family: var(--font-sans);
            font-weight: 700;
            font-size: 1.6rem;
            color: var(--accent);
            margin-bottom: 1.2rem;
            letter-spacing: -0.01em;
            border-left: 4px solid var(--primary);
            padding-left: 1rem;
        }
.privacy-card h3 {
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 1.2rem;
            color: var(--text-light);
            margin-top: 1.5rem;
            margin-bottom: 0.6rem;
        }
.privacy-card p, .privacy-card li {
            color: rgba(245,245,247,0.82);
            font-size: 0.98rem;
            line-height: 1.7;
            font-family: var(--font-sans);
        }
.privacy-card ul, .privacy-card ol {
            padding-left: 1.3rem;
            margin-bottom: 1rem;
        }
.privacy-card li {
            margin-bottom: 0.45rem;
        }
.privacy-card strong {
            color: var(--text-light);
        }
.privacy-card a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
.privacy-card a:hover {
            color: #fff;
        }
.btn-back-home {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 50px;
            padding: 0.6rem 1.6rem;
            font-weight: 600;
            font-family: var(--font-sans);
            transition: background 0.2s;
        }
.btn-back-home:hover {
            background: #b00610;
            color: #fff;
        }
/* 覆盖任何可能来自bootstrap的白色底（确保没有任何白块） */
        .navbar, .navbar-collapse, .nav-link, .navbar-brand {
            background: transparent !important;
        }
.navbar-nav .nav-link {
            color: rgba(255,255,255,0.75) !important;
        }
.navbar-nav .nav-link.active {
            color: var(--accent) !important;
        }

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