:root {
      --primary: #6d5dfc;
      --accent: #22d3ee;
      --bg-dark: #0f1020;
      --text-light: #e8eaf6;
      --card-bg: rgba(30, 30, 50, 0.7);
      --shadow-deep: 0 15px 35px -10px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.4);
      --shadow-glow: 0 0 30px rgba(109, 93, 252, 0.3);
      --radius: 18px;
      --font-serif: 'Noto Serif SC', serif;
      --font-sans: 'Noto Sans SC', 'Inter', sans-serif;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: var(--font-sans);
      background-image: radial-gradient(circle at 30% 20%, rgba(109, 93, 252, 0.15) 0%, transparent 40%);
      overflow-x: hidden;
    }

    /* 滚动进度条 */
    #scroll-progress {
      position: fixed; top: 0; left: 0; height: 4px; width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 10000; border-radius: 0 4px 4px 0; transition: width 0.1s;
    }

    /* 回到顶部按钮 */
    #back-to-top {
      position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
      background: var(--primary); color: white; border: none; border-radius: 30px;
      font-size: 22px; box-shadow: var(--shadow-deep); z-index: 9999;
      opacity: 0; visibility: hidden; transition: 0.3s; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
    }
    #back-to-top.show { opacity: 1; visibility: visible; }
    #back-to-top:hover { background: var(--accent); color: #000; transform: scale(1.1); }

    /* 导航栏 */
    .navbar-custom {
      background: rgba(15, 16, 32, 0.85) !important;
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(109, 93, 252, 0.2);
      padding: 10px 20px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    }
    .navbar-brand {
      font-family: var(--font-serif);
      font-weight: 900;
      font-size: 1.8rem;
      color: white !important;
      letter-spacing: 1px;
      text-shadow: 0 0 20px var(--primary);
    }
    .navbar-brand i { color: var(--accent); margin-right: 6px; }
    .nav-link {
      color: #c0c4e0 !important;
      font-weight: 500;
      margin: 0 10px;
      transition: 0.3s;
    }
    .nav-link:hover { color: var(--accent) !important; text-shadow: 0 0 10px var(--accent); }
    .navbar-toggler { border: 1px solid rgba(255,255,255,0.2); }

    /* 主容器 */
    .main-layout {
      display: flex;
      gap: 25px;
      padding: 30px 30px;
      max-width: 1600px;
      margin: 0 auto;
    }

    /* 左侧分类栏 */
    .sidebar {
      width: 220px;
      flex-shrink: 0;
      background: rgba(20, 20, 35, 0.6);
      backdrop-filter: blur(10px);
      border-radius: var(--radius);
      padding: 20px 15px;
      border: 1px solid rgba(109, 93, 252, 0.2);
      height: fit-content;
      position: sticky;
      top: 90px;
      box-shadow: var(--shadow-deep);
    }
    .sidebar-title {
      font-family: var(--font-serif);
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 20px;
      border-bottom: 2px solid var(--primary);
      padding-bottom: 8px;
    }
    .sidebar .category-item {
      display: block;
      padding: 12px 15px;
      margin-bottom: 8px;
      border-radius: 30px;
      color: #c0c4e0;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s;
      background: rgba(255,255,255,0.02);
    }
    .sidebar .category-item:hover, .sidebar .category-item.active {
      background: linear-gradient(145deg, var(--primary), #5a4bd0);
      color: white;
      box-shadow: 0 5px 15px rgba(109, 93, 252, 0.5);
      transform: scale(1.02);
    }
    .sidebar .category-item i { width: 25px; color: var(--accent); }

    /* 右侧内容区 */
    .content-area { flex: 1; min-width: 0; }

    /* Banner轮播 */
    .hero-banner {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 40px;
      box-shadow: var(--shadow-deep);
      min-height: 320px;
      background: linear-gradient(135deg, #1a1a35, #0d0e1f);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(109, 93, 252, 0.2);
    }
    .hero-banner .banner-content {
      text-align: center;
      padding: 30px;
      z-index: 2;
      position: relative;
    }
    .banner-content h1 {
      font-family: var(--font-serif);
      font-size: 4.2rem;
      font-weight: 900;
      background: linear-gradient(135deg, var(--primary), var(--accent), #fff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 10px;
      letter-spacing: 2px;
      text-shadow: 0 10px 30px rgba(109, 93, 252, 0.5);
    }
    .banner-content p {
      font-size: 1.2rem;
      color: #b0b4d0;
      letter-spacing: 2px;
    }
    .banner-float {
      position: absolute;
      width: 100%; height: 100%;
      top: 0; left: 0;
      pointer-events: none;
    }
    .banner-float i {
      position: absolute;
      color: var(--primary);
      opacity: 0.2;
      animation: float 6s infinite alternate ease-in-out;
    }
    @keyframes float {
      0% { transform: translateY(0px) rotate(0deg); }
      100% { transform: translateY(-20px) rotate(10deg); }
    }

    /* 区块标题 */
    .section-title {
      font-family: var(--font-serif);
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 25px;
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .section-title i {
      color: var(--accent);
      background: rgba(109, 93, 252, 0.2);
      border-radius: 50%;
      padding: 10px;
      font-size: 1.5rem;
    }
    .section-title .title-underline {
      flex: 1; height: 2px;
      background: linear-gradient(90deg, var(--primary), transparent);
    }

    /* 海报卡片网格 */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 20px;
      margin-bottom: 40px;
    }
    .movie-card {
      background: var(--card-bg);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow-deep);
      transition: 0.3s ease;
      cursor: pointer;
      border: 1px solid rgba(255,255,255,0.05);
      position: relative;
    }
    .movie-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 40px -10px rgba(109, 93, 252, 0.6);
      border-color: var(--primary);
    }
    .movie-card .poster {
      position: relative;
      aspect-ratio: 2/3;
      overflow: hidden;
    }
    .movie-card .poster img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: 0.5s;
    }
    .movie-card:hover .poster img { transform: scale(1.1); }
    .movie-card .badge {
      position: absolute;
      top: 8px; left: 8px;
      background: rgba(0,0,0,0.7);
      color: var(--accent);
      font-size: 0.7rem;
      padding: 4px 8px;
      border-radius: 20px;
      border: 1px solid var(--accent);
      backdrop-filter: blur(4px);
      font-weight: 600;
    }
    .movie-card .rating-badge {
      position: absolute;
      top: 8px; right: 8px;
      background: linear-gradient(145deg, #ffaa00, #ff5500);
      color: black;
      font-weight: 800;
      font-size: 0.8rem;
      padding: 3px 8px;
      border-radius: 30px;
      box-shadow: 0 2px 8px rgba(255,100,0,0.5);
    }
    .movie-card .card-body {
      padding: 12px 10px;
    }
    .movie-card .card-body h5 {
      font-size: 1rem;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .movie-card .meta {
      color: #a0a4c0;
      font-size: 0.75rem;
      display: flex;
      justify-content: space-between;
      margin-top: 6px;
    }

    /* 排行榜 */
    .ranking-list {
      background: rgba(20, 20, 35, 0.5);
      border-radius: var(--radius);
      padding: 20px;
      border: 1px solid rgba(109,93,252,0.2);
    }
    .ranking-item {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 12px 0;
      border-bottom: 1px dashed rgba(255,255,255,0.1);
      transition: 0.2s;
    }
    .ranking-item:hover { background: rgba(109,93,252,0.1); }
    .ranking-num {
      width: 40px; height: 40px;
      background: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      border-radius: 12px;
    }
    .ranking-item .info h6 { font-size: 1rem; font-weight: 600; }
    .ranking-item .info p { font-size: 0.8rem; color: #999; }

    /* 专题、精选片单 */
    .topic-card {
      background: linear-gradient(145deg, rgba(109,93,252,0.2), rgba(34,211,238,0.1));
      border-radius: 20px;
      padding: 20px;
      box-shadow: var(--shadow-deep);
      transition: 0.3s;
      margin-bottom: 20px;
      border-left: 4px solid var(--accent);
    }
    .step-tag {
      display: inline-block;
      background: var(--accent);
      color: #000;
      font-weight: bold;
      padding: 4px 14px;
      border-radius: 30px;
      font-size: 0.8rem;
      margin-bottom: 10px;
    }

    /* 按钮光泽 */
    .btn-glossy {
      background: linear-gradient(145deg, var(--primary), #4a3fd0);
      color: white;
      border: none;
      padding: 10px 25px;
      border-radius: 40px;
      font-weight: 600;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-deep);
      transition: 0.3s;
    }
    .btn-glossy::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: 0.5s;
    }
    .btn-glossy:hover::after { left: 100%; }

    /* 友情链接 */
    .friend-links {
      background: rgba(20,20,35,0.5);
      border-radius: var(--radius);
      padding: 20px;
      margin: 40px 0;
    }

    /* 页脚 */
    footer {
      border-top: 1px solid rgba(109,93,252,0.3);
      padding: 30px;
      background: rgba(0,0,0,0.3);
    }

    /* 弹窗 */
    .movie-modal {
      position: fixed; inset: 0; z-index: 100000;
      background: rgba(0,0,0,0.8);
      display: none;
      align-items: center; justify-content: center;
      backdrop-filter: blur(10px);
    }
    .modal-content-card {
      width: 90%; max-width: 600px;
      background: var(--bg-dark);
      border-radius: 30px;
      padding: 30px;
      box-shadow: 0 0 80px rgba(109,93,252,0.5);
      border: 1px solid var(--primary);
    }

    /* 响应式 */
    @media (max-width: 992px) {
      .main-layout { flex-direction: column; padding: 20px; }
      .sidebar { width: 100%; position: static; }
      .card-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
      .banner-content h1 { font-size: 3rem; }
    }
    @media (max-width: 576px) {
      .card-grid { grid-template-columns: repeat(2, 1fr); }
      .banner-content h1 { font-size: 2.2rem; }
    }

/* --- 子页面追加 --- */
.about-hero {
            background: linear-gradient(135deg, rgba(109,93,252,0.15) 0%, rgba(34,211,238,0.05) 100%);
            border-radius: var(--radius);
            padding: 3rem 2rem;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(109,93,252,0.2);
            margin-bottom: 3rem;
        }
.about-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(109,93,252,0.2) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
.about-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 1rem;
            position: relative;
        }
.about-hero p {
            color: rgba(232,234,246,0.8);
            font-size: 1.05rem;
            max-width: 700px;
            line-height: 1.8;
            position: relative;
        }
.about-section {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 2.5rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(109,93,252,0.1);
            backdrop-filter: blur(10px);
        }
.about-section h2 {
            color: var(--text-light);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.about-section h2 i {
            color: var(--primary);
            font-size: 1.3rem;
        }
.about-section p {
            color: rgba(232,234,246,0.85);
            line-height: 1.9;
            margin-bottom: 1rem;
        }
.about-section ul {
            padding-left: 1.5rem;
            color: rgba(232,234,246,0.85);
            line-height: 2;
        }
.about-section ul li::marker {
            color: var(--primary);
        }
.value-card {
            background: rgba(109,93,252,0.08);
            border: 1px solid rgba(109,93,252,0.15);
            border-radius: 12px;
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.value-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }
.value-card i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.value-card h5 {
            color: var(--text-light);
            font-weight: 600;
            margin-bottom: 0.75rem;
        }
.value-card p {
            color: rgba(232,234,246,0.75);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }
.stat-label {
            color: rgba(232,234,246,0.7);
            font-size: 0.9rem;
        }
.btn-glossy.about-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 2rem;
            font-size: 1rem;
        }
.about-hero {
                padding: 2rem 1.5rem;
            }
.about-hero h1 {
                font-size: 1.6rem;
            }
.about-section {
                padding: 1.5rem;
            }
.stat-number {
                font-size: 2rem;
            }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件可能的默认白底 —— 但本页几乎不用组件类，只做保险 */
    .card, .card-body, .form-control, .list-group-item, .accordion-item, .accordion-button {
      background: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: rgba(109, 93, 252, 0.2) !important;
    }
/* 让免责声明更优雅 */
    .disclaimer-hero {
      background: radial-gradient(circle at 20% 20%, rgba(109,93,252,.15), transparent 50%),
                  radial-gradient(circle at 80% 70%, rgba(34,211,238,.1), transparent 50%);
    }
.legal-block {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 2rem 2rem 1.5rem;
      box-shadow: var(--shadow-deep);
      backdrop-filter: blur(6px);
      border-left: 4px solid var(--primary);
      transition: transform .2s;
    }
.legal-block:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-glow);
    }
.legal-block h2 {
      color: var(--primary);
      font-weight: 700;
      font-size: 1.6rem;
      letter-spacing: .5px;
      border-bottom: 1px dashed rgba(109,93,252,.3);
      padding-bottom: .5rem;
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: .6rem;
    }
.legal-block h2 i {
      color: var(--accent);
      font-size: 1.4rem;
    }
.legal-block p, .legal-block li {
      color: var(--text-light);
      opacity: .9;
      line-height: 1.8;
    }
.legal-block ul {
      padding-left: 1.2rem;
    }
.legal-block ul li {
      margin-bottom: .6rem;
    }
.legal-block a {
      color: var(--accent);
      text-decoration: underline dotted;
    }
.legal-block a:hover {
      color: var(--primary);
    }
.btn-glossy:hover {
      opacity: .9;
      color: #fff;
    }