:root {
      --primary: #6d5dfc;
      --accent: #22d3ee;
      --bg: #0f1020;
      --text: #e8eaf6;
      --card-bg: #1c1e32;
      --shadow: 0 12px 28px rgba(0,0,0,0.6);
      --shadow-hover: 0 18px 36px rgba(0,0,0,0.9);
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      overflow-x: hidden;
    }
    /* 滚动进度条 */
    #progress-bar {
      position: fixed; top: 0; left: 0; height: 4px; width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 9999; transition: width 0.05s;
    }
    /* 回到顶部 */
    #back-to-top {
      position: fixed; bottom: 30px; right: 30px; z-index: 999;
      background: var(--primary); color: #fff; border: none; width: 46px; height: 46px;
      border-radius: 50%; font-size: 1.4rem; box-shadow: 0 6px 16px rgba(0,0,0,0.5);
      opacity: 0; visibility: hidden; transition: 0.3s; cursor: pointer;
    }
    #back-to-top.show { opacity: 1; visibility: visible; }
    #back-to-top:hover { background: var(--accent); color: #000; }

    /* 导航 */
    .navbar-custom {
      background: rgba(15,16,32,0.95) !important;
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(109,93,252,0.3);
      padding: 14px 0;
    }
    .navbar-brand {
      font-weight: 900; font-size: 1.8rem; color: #fff !important;
      letter-spacing: 1px; display: flex; align-items: center;
    }
    .navbar-brand i { color: var(--accent); margin-right: 8px; }
    .nav-link {
      color: #c8cbe0 !important; font-weight: 500; margin: 0 12px;
      transition: 0.2s; border-bottom: 2px solid transparent;
    }
    .nav-link:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
    .navbar-toggler { border-color: rgba(255,255,255,0.3); }

    /* 通用卡片 */
    .movie-card {
      background: var(--card-bg);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      height: 100%;
      border: 1px solid rgba(255,255,255,0.05);
    }
    .movie-card:hover {
      transform: translateY(-12px);
      box-shadow: var(--shadow-hover);
    }
    .poster-wrapper {
      position: relative; width: 100%; aspect-ratio: 2/3; overflow: hidden;
    }
    .poster-wrapper img {
      width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .gradient-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(15,16,32,0.9) 5%, transparent 60%);
      opacity: 0.7; transition: 0.3s;
    }
    .play-btn {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
      width: 48px; height: 48px; background: rgba(109,93,252,0.9); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.2rem; opacity: 0; transition: 0.3s;
      box-shadow: 0 0 20px rgba(109,93,252,0.6);
    }
    .movie-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    .card-body { padding: 0.9rem; }
    .card-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-meta { font-size: 0.8rem; color: #9ea0b5; display: flex; justify-content: space-between; }
    .rating { color: #ffc107; font-weight: 700; }

    /* Hero */
    .hero-section {
      position: relative; padding: 100px 0 60px; text-align: center;
      background: radial-gradient(ellipse at top left, rgba(109,93,252,0.2), transparent 60%), 
                  radial-gradient(ellipse at bottom right, rgba(34,211,238,0.1), transparent 60%);
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .hero-title {
      font-size: 4.2rem; font-weight: 900;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      display: inline-block; letter-spacing: -1px;
      filter: drop-shadow(0 10px 18px rgba(0,0,0,0.5));
      animation: float 3s ease-in-out infinite;
    }
    @keyframes float { 0%{transform:translateY(0)} 50%{transform:translateY(-12px)} 100%{transform:translateY(0)} }
    .hero-sub { font-size: 1.2rem; color: #b9bccf; margin-top: 15px; font-weight: 300; letter-spacing: 1px; }

    /* 区块标题 */
    .section-title {
      font-weight: 800; font-size: 2.2rem; margin-bottom: 25px; position: relative;
      display: inline-block; padding-left: 20px;
    }
    .section-title::before {
      content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 6px;
      background: linear-gradient(var(--primary), var(--accent)); border-radius: 6px;
    }
    .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
    .view-all { color: var(--accent); font-weight: 600; text-decoration: none; }

    /* 分类表格 */
    .type-table {
      background: #1a1c30; border-radius: 20px; padding: 24px; border: 1px solid rgba(255,255,255,0.05);
    }
    .type-table table { width: 100%; border-collapse: collapse; }
    .type-table th, .type-table td { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; }
    .type-table th { color: var(--accent); font-weight: 600; }
    .type-table td:first-child { color: var(--primary); font-weight: 700; }

    /* 列表编号 */
    .tips-list { counter-reset: tips; }
    .tips-list li { counter-increment: tips; list-style: none; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-weight: 400; }
    .tips-list li::before { content: counter(tips) "."; color: var(--accent); font-weight: 700; margin-right: 10px; font-size: 1.2rem; }

    /* 友链 */
    .friend-links {
      background: #15162a; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05);
      margin-top: 40px;
    }
    .friend-links h5 { color: #b9bccf; font-weight: 600; margin-bottom: 15px; }
    .friend-links a { color: #8d8fb5; margin-right: 25px; text-decoration: none; }
    .friend-links a:hover { color: var(--accent); }

    footer { background: #0b0c1a; padding: 30px 0; text-align: center; color: #8d8fb5; }
    footer .brand-footer { font-weight: 800; font-size: 1.6rem; color: #d7d9f0; }

    /* 弹窗 */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
      display: none; align-items: center; justify-content: center; z-index: 1000;
    }
    .modal-overlay.active { display: flex; }
    .modal-card {
      background: #fff; color: #111; width: 90%; max-width: 720px; border-radius: 24px;
      display: flex; flex-wrap: wrap; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6);
      position: relative; max-height: 90vh; overflow-y: auto;
    }
    .modal-poster { width: 100%; max-width: 240px; min-height: 300px; background: #ddd; }
    .modal-poster img { width: 100%; height: 100%; object-fit: cover; }
    .modal-info { flex: 1; padding: 30px 25px; }
    .modal-info h3 { font-weight: 800; font-size: 1.8rem; margin-bottom: 10px; }
    .modal-close { position: absolute; top: 10px; right: 15px; font-size: 2.5rem; cursor: pointer; color: #666; }
    .modal-close:hover { color: #000; }
    .badge { background: var(--primary); color: white; padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; }

    /* 海报墙网格 */
    .poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
    @media (max-width: 768px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } .hero-title { font-size: 2.8rem; } }

    .random-widget { background: #1a1c30; border-radius: 20px; padding: 30px; border-left: 6px solid var(--accent); }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 可能出现的白底, 确保与深色主题一致 */
    .about-section .card, 
    .about-section .card-body,
    .about-section .accordion-item,
    .about-section .accordion-button {
      background: var(--card-bg);
      color: var(--text);
      border-color: rgba(109, 93, 252, 0.3);
    }
.about-section .accordion-button:not(.collapsed) {
      background: rgba(109, 93, 252, 0.15);
      color: var(--text);
    }
.about-section .accordion-button::after {
      filter: invert(0.8);
    }
.about-section .accordion-body {
      background: var(--card-bg);
      color: var(--text);
    }
.about-section .list-group-item {
      background: var(--card-bg);
      color: var(--text);
      border-color: rgba(255,255,255,0.05);
    }
/* 防止导航栏下拉白色 (若需要) */
    .navbar-custom .nav-link.active {
      color: var(--accent) !important;
      font-weight: 600;
    }
/* 一些小修饰 */
    .about-icon {
      color: var(--accent);
      margin-right: 6px;
    }
.about-blockquote {
      border-left: 4px solid var(--primary);
      background: rgba(109, 93, 252, 0.05);
      padding: 1rem 1.5rem;
      border-radius: 0 12px 12px 0;
    }
.about-highlight {
      color: var(--accent);
      font-weight: 600;
    }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .disclaimer-section { padding: 60px 0; }
.disclaimer-card { background: var(--card-bg); border-radius: 12px; padding: 32px; margin-bottom: 28px; box-shadow: var(--shadow); transition: box-shadow .3s ease; }
.disclaimer-card:hover { box-shadow: var(--shadow-hover); }
.disclaimer-card h2 { color: var(--primary); font-weight: 700; font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.disclaimer-card h2 i { color: var(--accent); }
.disclaimer-card p, .disclaimer-card li { color: var(--text); opacity: .9; line-height: 1.8; font-size: .95rem; }
.disclaimer-card ul, .disclaimer-card ol { padding-left: 20px; margin-bottom: 16px; }
.disclaimer-card li { margin-bottom: 8px; }
.disclaimer-card .highlight { color: var(--accent); font-weight: 600; }
.disclaimer-card .divider { border-top: 1px solid rgba(255,255,255,.08); margin: 20px 0; }
.update-date { display: inline-block; background: rgba(109,93,252,.15); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: .85rem; font-weight: 500; margin-bottom: 24px; }
.page-hero { padding: 60px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(109,93,252,.12) 0%, transparent 70%); z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.page-hero h1 span { color: var(--primary); }
.page-hero p { color: var(--text); opacity: .7; max-width: 700px; margin: 0 auto; font-size: 1.05rem; }
.disclaimer-card { padding: 24px; }
.page-hero h1 { font-size: 1.8rem; }
.disclaimer-card h2 { font-size: 1.2rem; }

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