:root {
      --main-color: #2563eb;
      --accent-color: #06b6d4;
      --bg-color: #f4f8ff;
      --text-color: #0f1e3d;
      --border-light: #e2e8f0;
      --shadow-sm: 0 2px 8px rgba(15, 30, 61, 0.06);
      --shadow-hover: 0 8px 25px rgba(37, 99, 235, 0.12);
    }
    * { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      line-height: 1.7;
      overflow-x: hidden;
    }
    h1,h2,h3,h4,h5 { font-weight: 800; letter-spacing: -0.01em; }
    a { text-decoration: none; color: var(--main-color); }
    /* 导航 */
    .navbar-custom {
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border-light);
      box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.6rem;
      color: var(--text-color);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .navbar-brand i { color: var(--main-color); }
    .navbar-nav .nav-link {
      font-weight: 600;
      color: var(--text-color);
      margin: 0 8px;
      padding: 0.5rem 0;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
    }
    .navbar-nav .nav-link:hover { color: var(--main-color); border-bottom-color: var(--main-color); }
    /* hero 标签云 */
    .hero-tags {
      padding: 3.5rem 0 2rem;
      background: linear-gradient(180deg, #ffffff, var(--bg-color));
    }
    .hero-tags .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 18px;
      justify-content: center;
      font-weight: 700;
    }
    .tag-item {
      background: white;
      padding: 0.4rem 1.2rem;
      border-radius: 40px;
      font-size: 1rem;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-light);
      transition: 0.2s;
      color: var(--text-color);
    }
    .tag-item:hover { background: var(--main-color); color: white; transform: translateY(-2px); }
    .tag-item i { color: var(--accent-color); margin-right: 6px; }
    .hero-tags h2 { font-weight: 800; color: var(--text-color); margin-bottom: 2rem; font-size: 2.2rem; }
    .hero-tags h2 span { color: var(--main-color); }
    /* 卡片通用 */
    .section-title {
      font-size: 1.8rem;
      font-weight: 800;
      margin: 3rem 0 1.8rem;
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
    }
    .section-title i { color: var(--main-color); font-size: 1.8rem; }
    .movie-card {
      background: white;
      border-radius: 8px;
      border: 1px solid var(--border-light);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.25s ease, box-shadow 0.3s ease;
      height: 100%;
      cursor: pointer;
      position: relative;
      scroll-shrink: 0;
    }
    .movie-card:hover {
      transform: scale(1.02) translateY(-3px);
      box-shadow: var(--shadow-hover);
      border-color: var(--main-color);
    }
    .poster-wrap { position: relative; overflow: hidden; background: #eef2f7; }
    .poster-wrap img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      display: block;
      transition: 0.3s;
    }
    .badge-quality {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15,30,61,0.8);
      color: white;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      backdrop-filter: blur(2px);
    }
    .card-body { padding: 0.8rem 0.9rem 1rem; }
    .card-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-meta { color: #4b5b7a; font-size: 0.85rem; display: flex; gap: 8px; align-items: center; }
    .rating { color: #f59e0b; font-weight: 700; }
    .genre { background: #f1f5f9; padding: 2px 8px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
    /* 横向滚动 */
    .scroll-row {
      display: flex;
      overflow-x: auto;
      gap: 16px;
      padding-bottom: 12px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .scroll-row .movie-card { min-width: 160px; flex: 0 0 160px; scroll-snap-align: start; }
    @media (max-width: 576px) { .scroll-row .movie-card { min-width: 130px; flex-basis: 130px; } }
    /* 榜单 */
    .rank-list {
      background: white;
      border-radius: 8px;
      border: 1px solid var(--border-light);
      padding: 1rem 1.2rem;
    }
    .rank-item {
      display: flex;
      align-items: center;
      padding: 0.6rem 0;
      border-bottom: 1px dashed var(--border-light);
    }
    .rank-item:last-child { border-bottom: none; }
    .rank-num {
      font-weight: 900;
      color: var(--main-color);
      font-size: 1.2rem;
      width: 40px;
    }
    .rank-info { flex: 1; font-weight: 600; }
    .rank-info small { color: #64748b; font-weight: 400; }
    .rank-score { color: #f59e0b; font-weight: 700; }
    /* 弹窗 */
    .modal-mask {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(4px);
      z-index: 1050;
      display: none;
      justify-content: center;
      align-items: center;
    }
    .modal-mask.active { display: flex; }
    .modal-card {
      background: white;
      border-radius: 12px;
      max-width: 700px;
      width: 90%;
      display: flex;
      flex-wrap: wrap;
      padding: 0;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
      max-height: 90vh;
      overflow-y: auto;
    }
    .modal-card img {
      width: 200px;
      object-fit: cover;
      background: #e2e8f0;
    }
    .modal-info { flex: 1; padding: 1.8rem 1.5rem; }
    .modal-info h3 { font-weight: 800; margin-bottom: 0.5rem; }
    .modal-close {
      position: absolute;
      top: 10px; right: 10px;
      width: 32px; height: 32px;
      border-radius: 50%;
      background: rgba(15,30,61,0.6);
      color: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      z-index: 2;
    }
    @media (max-width: 576px) {
      .modal-card { flex-direction: column; }
      .modal-card img { width: 100%; height: 200px; }
    }
    /* 内容区块 */
    .tip-box, .info-card {
      background: white;
      border-radius: 8px;
      border: 1px solid var(--border-light);
      padding: 1.2rem;
      height: 100%;
    }
    .tip-box i { color: var(--main-color); }
    .watch-more { margin-top: 2rem; }
    .footer {
      background: #ffffff;
      border-top: 1px solid var(--border-light);
      margin-top: 3rem;
      padding: 2.5rem 0 1.5rem;
      color: #475569;
    }
    .footer-links a { margin: 0 10px; }
    .friend-links {
      background: white;
      border-radius: 8px;
      padding: 1.2rem 1.5rem;
      border: 1px solid var(--border-light);
      margin: 2rem 0;
    }
    .movie-card .badge-quality { background: rgba(37,99,235,0.9); }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不破坏配色 — 但我们基本不用组件类，这里做兜底 */
        .card, .card-body, .form-control, .list-group-item { background: transparent; color: var(--text-color); border-color: var(--border-light); }
/* 关于页专属修饰 */
        .about-hero {
            background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(6,182,212,0.05) 100%);
            border-bottom: 1px solid var(--border-light);
            padding: 3.5rem 0 2.5rem;
        }
.about-hero h1 {
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text-color);
        }
.about-hero h1 i {
            color: var(--main-color);
            margin-right: 0.4rem;
        }
.about-section {
            padding: 3rem 0;
            border-bottom: 1px solid var(--border-light);
        }
.about-section:last-of-type {
            border-bottom: none;
        }
.section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.4rem;
            bottom: 0.4rem;
            width: 5px;
            background: var(--main-color);
            border-radius: 3px;
        }
.feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.8rem;
            margin-top: 1.5rem;
        }
.feature-item {
            background: white;
            border-radius: 18px;
            padding: 1.8rem 1.5rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all 0.2s ease;
        }
.feature-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
.feature-item i {
            font-size: 2.4rem;
            color: var(--main-color);
            margin-bottom: 1rem;
            display: inline-block;
        }
.feature-item h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
.feature-item p {
            color: #3a4a6b;
            font-size: 0.95rem;
            line-height: 1.6;
        }
.stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin: 2rem 0 1rem;
            background: white;
            padding: 1.8rem 2rem;
            border-radius: 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }
.stat-item {
            flex: 1;
            min-width: 140px;
            text-align: center;
        }
.stat-item .num {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--main-color);
            line-height: 1.2;
        }
.stat-item .label {
            color: #506690;
            font-weight: 500;
            letter-spacing: 0.3px;
        }
.tip-box {
            background: rgba(37,99,235,0.04);
            border-left: 4px solid var(--main-color);
            border-radius: 0 14px 14px 0;
            padding: 1.5rem 1.8rem;
            margin: 2rem 0;
        }
.update-list {
            list-style: none;
            padding-left: 0;
        }
.update-list li {
            padding: 0.7rem 0;
            border-bottom: 1px dashed var(--border-light);
            display: flex;
            gap: 0.8rem;
            align-items: baseline;
        }
.update-list li:last-child {
            border-bottom: none;
        }
.update-list li i {
            color: var(--accent-color);
            width: 1.4rem;
            font-size: 1rem;
        }
.about-hero h1 { font-size: 1.9rem; }
.feature-grid { grid-template-columns: 1fr; }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .privacy-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 60px 20px 80px;
        }
.privacy-header {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
            border: 1px solid var(--border-light);
            border-radius: 16px;
            padding: 40px;
            margin-bottom: 40px;
            text-align: center;
        }
.privacy-header h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-color);
            margin-bottom: 15px;
        }
.privacy-header p {
            color: var(--text-color);
            opacity: 0.7;
            font-size: 1.05rem;
            line-height: 1.8;
        }
.privacy-section {
            margin-bottom: 45px;
            padding: 35px;
            background: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.3s ease;
        }
.privacy-section:hover {
            box-shadow: var(--shadow-hover);
        }
.privacy-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--main-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.privacy-section h2 i {
            color: var(--accent-color);
            font-size: 1.3rem;
        }
.privacy-section h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text-color);
            margin: 20px 0 12px;
        }
.privacy-section p {
            color: var(--text-color);
            opacity: 0.8;
            line-height: 1.9;
            margin-bottom: 15px;
            font-size: 0.98rem;
        }
.privacy-section ul, .privacy-section ol {
            color: var(--text-color);
            opacity: 0.8;
            line-height: 1.9;
            padding-left: 20px;
            margin-bottom: 15px;
        }
.privacy-section li {
            margin-bottom: 8px;
        }
.privacy-section .highlight-box {
            background: rgba(37, 99, 235, 0.04);
            border-left: 4px solid var(--main-color);
            padding: 18px 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
            font-size: 0.95rem;
        }
.last-updated {
            display: inline-block;
            background: rgba(6, 182, 212, 0.1);
            color: var(--accent-color);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-top: 10px;
        }
.privacy-container {
                padding: 30px 15px 50px;
            }
.privacy-header {
                padding: 25px 20px;
            }
.privacy-header h1 {
                font-size: 1.7rem;
            }
.privacy-section {
                padding: 20px 18px;
            }
.privacy-section h2 {
                font-size: 1.25rem;
                flex-wrap: wrap;
            }

/* --- 子页面追加 --- */
/* 免责声明页面专属样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
            border-radius: 20px;
            padding: 3rem 2.5rem;
            margin-bottom: 3rem;
            border: 1px solid var(--border-light);
        }
.disclaimer-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-color);
            margin-bottom: 1rem;
        }
.disclaimer-hero p {
            color: #4a5b7d;
            font-size: 1.05rem;
            line-height: 1.8;
            max-width: 900px;
        }
.disclaimer-section {
            background: #ffffff;
            border-radius: 16px;
            padding: 2.2rem 2.5rem;
            margin-bottom: 2rem;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.3s ease;
        }
.disclaimer-section:hover {
            box-shadow: var(--shadow-hover);
        }
.disclaimer-section h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--main-color);
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid rgba(37, 99, 235, 0.15);
        }
.disclaimer-section h2 i {
            margin-right: 0.5rem;
            color: var(--accent-color);
        }
.disclaimer-section p {
            color: #3a4a6b;
            line-height: 1.9;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }
.disclaimer-section ul {
            padding-left: 1.5rem;
            margin-bottom: 1.2rem;
        }
.disclaimer-section ul li {
            color: #3a4a6b;
            line-height: 1.9;
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
        }
.disclaimer-section ul li::marker {
            color: var(--main-color);
        }
.tip-box p {
            margin-bottom: 0;
            font-size: 0.92rem;
            color: #3a4a6b;
        }
.tip-box strong {
            color: var(--main-color);
        }
.disclaimer-hero {
                padding: 2rem 1.5rem;
            }
.disclaimer-hero h1 {
                font-size: 1.6rem;
            }
.disclaimer-section {
                padding: 1.5rem 1.2rem;
            }
.disclaimer-section h2 {
                font-size: 1.15rem;
            }