/* 深夜蓝紫 主题变量 */
    :root {
      --main-color: #6d5dfc;
      --accent-color: #22d3ee;
      --bg-color: #0f1020;
      --text-color: #e8eaf6;
      --card-bg: #1c1d33;
      --shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
      --radius: 16px;
      --pill-radius: 50rem;
    }

    * { font-family: 'Inter', sans-serif; }

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      overflow-x: hidden;
    }

    /* 全屏背景剧照(氛围) */
    .hero-backdrop {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-image: url("{随机图片}");
      background-size: cover;
      background-position: center 20%;
      opacity: 0.12;
      z-index: -1;
      pointer-events: none;
    }

    /* 胶囊导航 */
    .navbar-capsule {
      background: rgba(15, 16, 32, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      padding: 12px 0;
    }
    .navbar-capsule .navbar-brand {
      font-weight: 800;
      color: var(--text-color);
      font-size: 1.6rem;
      display: flex;
      align-items: center;
    }
    .navbar-capsule .navbar-brand i {
      color: var(--accent-color);
      margin-right: 8px;
    }
    .navbar-capsule .nav-link {
      color: #c9cdea;
      border-radius: var(--pill-radius);
      padding: 8px 18px !important;
      margin: 0 2px;
      transition: all 0.2s;
    }
    .navbar-capsule .nav-link:hover {
      background: rgba(109, 93, 252, 0.2);
      color: white;
    }
    .navbar-toggler {
      border: 1px solid var(--accent-color);
      background: transparent;
    }

    /* 通用标题 */
    .section-title {
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.75rem;
    }
    .section-title i {
      color: var(--main-color);
    }

    /* 海报卡片网格 */
    .movie-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 20px 16px;
    }
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,0.04);
      transition: transform 0.25s, box-shadow 0.3s;
      position: relative;
      cursor: pointer;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .movie-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    }
    .movie-card .poster-wrap {
      position: relative;
      aspect-ratio: 2 / 3;
      overflow: hidden;
      background: #22233a;
    }
    .movie-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s;
    }
    .movie-card:hover img {
      transform: scale(1.05);
    }
    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .movie-card:hover .play-overlay {
      opacity: 1;
    }
    .play-overlay i {
      font-size: 3rem;
      color: white;
      text-shadow: 0 2px 8px rgba(0,0,0,0.6);
      background: rgba(109, 93, 252, 0.7);
      border-radius: 50%;
      padding: 12px 16px;
      backdrop-filter: blur(4px);
    }
    .card-info {
      padding: 12px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .card-title {
      font-weight: 700;
      font-size: 0.98rem;
      margin-bottom: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-meta {
      font-size: 0.75rem;
      color: #a4a9ce;
      display: flex;
      justify-content: space-between;
    }
    .rating {
      color: #ffbc3b;
      font-weight: 700;
    }

    /* 榜单区块 */
    .rank-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .rank-item {
      background: rgba(28, 29, 51, 0.7);
      border-radius: var(--pill-radius);
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      border: 1px solid rgba(255,255,255,0.03);
      transition: background 0.2s;
    }
    .rank-item:hover {
      background: #262846;
    }
    .rank-badge {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
    }
    .rank-1 { background: #ffd966; color: #3a2e00; }
    .rank-2 { background: #cfd8e8; color: #2a3040; }
    .rank-3 { background: #e8a87c; color: #402c1c; }
    .rank-other { background: #3a3b5c; color: #bbbfe0; }

    .rank-item .rank-name {
      flex: 1;
      font-weight: 600;
    }
    .rank-item .rank-score {
      font-weight: 700;
      color: var(--accent-color);
    }

    /* 分类胶囊按钮 */
    .pill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }
    .pill-tags .tag {
      background: rgba(109, 93, 252, 0.2);
      color: #cfd2ff;
      padding: 6px 18px;
      border-radius: var(--pill-radius);
      font-weight: 500;
      font-size: 0.85rem;
      border: 1px solid rgba(109, 93, 252, 0.4);
      cursor: default;
    }

    /* 步骤条 */
    .steps-zone {
      background: rgba(28, 29, 51, 0.6);
      border-radius: 28px;
      padding: 28px;
    }
    .step-icon {
      width: 56px;
      height: 56px;
      background: var(--main-color);
      border-radius: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      color: white;
      margin-bottom: 12px;
    }

    /* 友情链接 */
    .friend-links {
      background: #15162b;
      border-radius: 40px;
      padding: 30px;
      margin: 40px 0;
      border: 1px solid rgba(255,255,255,0.03);
    }

    /* 回到顶部按钮 */
    #backToTop {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 999;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--main-color);
      color: white;
      border: none;
      font-size: 1.5rem;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      box-shadow: 0 4px 16px rgba(109, 93, 252, 0.5);
    }
    #backToTop.show {
      opacity: 1;
      visibility: visible;
    }

    /* 抽屉式弹窗 */
    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }
    .drawer-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    .drawer-panel {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      background: #1b1d36;
      border-top-left-radius: 30px;
      border-top-right-radius: 30px;
      padding: 28px;
      z-index: 1001;
      transform: translateY(100%);
      transition: 0.35s ease-out;
      max-height: 80vh;
      overflow-y: auto;
      box-shadow: 0 -10px 30px rgba(0,0,0,0.7);
    }
    .drawer-panel.open {
      transform: translateY(0);
    }
    .drawer-panel h3 {
      font-weight: 800;
    }
    .drawer-panel .close-btn {
      position: absolute;
      top: 16px;
      right: 20px;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: #b0b6d6;
    }

    .btn-purple {
      background: var(--main-color);
      border: none;
      border-radius: var(--pill-radius);
      padding: 12px 28px;
      font-weight: 600;
      color: white;
    }

    /* hero渐变文字 */
    .hero-title {
      font-size: 3.2rem;
      font-weight: 900;
      background: linear-gradient(90deg, var(--main-color), var(--accent-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      display: inline-block;
    }

    .float-decor {
      animation: float 4s ease-in-out infinite;
    }
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }

    /* 数字动画装饰 */
    .stat-number {
      font-weight: 900;
      font-size: 2.2rem;
      color: var(--accent-color);
    }

/* --- 子页面追加 --- */
/* 关于页专属微调 */
        .about-hero {
            padding: 100px 0 60px;
            text-align: center;
        }
.about-section {
            padding: 50px 0;
        }
.about-section h2 {
            font-weight: 800;
            font-size: 1.6rem;
            margin-bottom: 20px;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
.about-section h2 i {
            color: var(--accent-color);
        }
.about-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 28px 30px;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255,255,255,0.05);
        }
.about-card p {
            color: var(--text-color);
            line-height: 1.9;
            font-size: 0.98rem;
            opacity: 0.92;
        }
.about-card p strong {
            color: var(--accent-color);
            font-weight: 600;
        }
.about-highlight {
            background: linear-gradient(135deg, rgba(109,93,252,0.15), rgba(34,211,238,0.1));
            border-radius: var(--radius);
            padding: 40px;
            text-align: center;
            margin: 40px 0;
        }
.about-highlight h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-color);
            margin-bottom: 15px;
        }
.about-highlight p {
            color: var(--text-color);
            opacity: 0.85;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }
.value-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: rgba(109,93,252,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--main-color);
            margin-bottom: 16px;
        }
.timeline-zone {
            position: relative;
            padding-left: 28px;
        }
.timeline-zone::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 8px;
            width: 2px;
            height: calc(100% - 16px);
            background: linear-gradient(to bottom, var(--main-color), var(--accent-color));
            opacity: 0.5;
        }
.timeline-item {
            position: relative;
            margin-bottom: 30px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--main-color);
            border: 3px solid var(--bg-color);
            box-shadow: 0 0 0 2px var(--main-color);
        }
.timeline-item h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 6px;
        }
.timeline-item p {
            color: var(--text-color);
            opacity: 0.75;
            font-size: 0.92rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.about-hero { padding: 80px 0 40px; }
.about-section { padding: 30px 0; }
.about-card { padding: 22px 20px; }
.about-highlight { padding: 30px 20px; }

/* --- 子页面追加 --- */
/* 隐私政策页专属样式——仅补充本站通用类未覆盖的部分 */
        .privacy-hero {
            padding: 4rem 0 2.5rem;
            text-align: center;
            background: radial-gradient(ellipse at 30% 40%, rgba(109,93,252,0.12), transparent 60%),
                        radial-gradient(ellipse at 70% 60%, rgba(34,211,238,0.08), transparent 50%);
        }
.privacy-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            background: linear-gradient(90deg, var(--main-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.8rem;
        }
.privacy-hero .lead {
            color: rgba(232,234,246,0.7);
            font-weight: 400;
            max-width: 640px;
            margin: 0 auto 1.5rem;
            font-size: 1.05rem;
        }
.privacy-content {
            max-width: 860px;
            margin: 0 auto;
            padding: 0 1rem 4rem;
        }
.privacy-section {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 1.8rem 2rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255,255,255,0.04);
            transition: transform 0.2s ease;
        }
.privacy-section:hover {
            transform: translateY(-2px);
        }
.privacy-section h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.privacy-section h2 i {
            color: var(--main-color);
            font-size: 1.1rem;
            width: 1.6rem;
            text-align: center;
        }
.privacy-section p {
            color: rgba(232,234,246,0.8);
            line-height: 1.85;
            font-size: 0.95rem;
            margin-bottom: 0.8rem;
        }
.privacy-section ul {
            color: rgba(232,234,246,0.8);
            padding-left: 1.2rem;
            margin-bottom: 0.8rem;
        }
.privacy-section li {
            margin-bottom: 0.4rem;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.privacy-section strong {
            color: var(--accent-color);
            font-weight: 600;
        }
.privacy-updated {
            text-align: center;
            color: rgba(232,234,246,0.5);
            font-size: 0.85rem;
            margin-top: 2.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.06);
        }
.privacy-contact {
            background: linear-gradient(135deg, rgba(109,93,252,0.15), rgba(34,211,238,0.08));
            border: 1px solid rgba(109,93,252,0.3);
        }
.privacy-hero { padding: 2.5rem 1rem 1.5rem; }
.privacy-hero h1 { font-size: 1.7rem; }
.privacy-section { padding: 1.4rem 1.2rem; }

/* --- 子页面追加 --- */
/* 保证bootstrap组件配色与暗色主题一致 */
        .navbar, .navbar-collapse { background: transparent !important; }
.navbar .nav-link { color: var(--text-color); }
.navbar .nav-link:hover { color: var(--accent-color); }
.navbar .nav-link.active { color: var(--accent-color); font-weight: 600; }
/* 卡片与表格覆盖暗色 */
        .card, .card-body, .list-group-item, .accordion-item {
            background: var(--card-bg) !important;
            color: var(--text-color) !important;
            border-color: rgba(109, 93, 252, 0.25) !important;
        }
.card-title, .card-text { color: var(--text-color) !important; }
/* 免责声明专用列表样式 */
        .disclaimer-box {
            background: var(--card-bg);
            border: 1px solid rgba(34, 211, 238, 0.15);
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
.disclaimer-box h3 {
            color: var(--accent-color);
            font-weight: 700;
            font-size: 1.6rem;
            margin-bottom: 1.2rem;
            border-left: 4px solid var(--main-color);
            padding-left: 1rem;
        }
.disclaimer-box p, .disclaimer-box li {
            color: var(--text-color);
            line-height: 1.8;
            font-size: 1rem;
            letter-spacing: 0.01em;
        }
.disclaimer-box ul {
            padding-left: 1.4rem;
            list-style-type: square;
            margin-top: 0.8rem;
        }
.highlight-warning {
            background: rgba(109, 93, 252, 0.15);
            border-left: 6px solid var(--accent-color);
            padding: 1.2rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
        }
.btn-purple:hover {
            background: var(--accent-color);
            color: #0f1020;
        }
.small-meta {
            color: rgba(232, 234, 246, 0.6);
            font-size: 0.85rem;
        }
.friend-links a {
            color: var(--accent-color);
            text-decoration: none;
        }
.friend-links a:hover {
            text-decoration: underline;
        }
/* 导航高亮当前页 */
        .navbar-nav .nav-item .nav-link.active {
            color: var(--accent-color) !important;
            font-weight: 700;
        }
/* 页脚样式微调 */
        footer a { color: var(--accent-color); }
footer { border-top: 1px solid rgba(255,255,255,0.05); }