:root {
      --primary: #10b981;
      --accent: #fbbf24;
      --bg-deep: #0a1410;
      --text-light: #ecfdf5;
      --text-muted: #94a3b8;
      --card-bg: #111f19;
      --border-light: #1e2e26;
      --shadow: 0 8px 20px rgba(0,0,0,0.6);
      --radius: 8px;
    }
    * { box-sizing: border-box; }
    body {
      background-color: var(--bg-deep);
      color: var(--text-light);
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      line-height: 1.75;
      letter-spacing: 0.02em;
    }
    h1, h2, h3, h4, h5, .display-1, .brand-font {
      font-weight: 800;
      letter-spacing: 0.01em;
    }
    .brand-font {
      font-family: 'Kalam', 'Comic Neue', 'Segoe Print', cursive, sans-serif;
      font-weight: 700;
    }
    /* 滚动进度条 */
    #scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 4px;
      width: 0%;
      background: linear-gradient(90deg, var(--accent), var(--primary));
      z-index: 9999;
      transition: width 0.1s ease-out;
      border-radius: 2px;
    }
    /* 导航栏 */
    .navbar {
      background: rgba(10,20,16,0.85);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border-light);
      padding: 0.6rem 0;
    }
    .navbar-brand {
      color: var(--accent);
      font-weight: 800;
      font-size: 1.6rem;
      letter-spacing: 1px;
      margin-right: 2rem;
      white-space: nowrap;
    }
    .navbar-brand i {
      color: var(--primary);
      margin-right: 6px;
    }
    .nav-link {
      color: var(--text-light) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      transition: color 0.2s, border-bottom 0.2s;
      border-bottom: 2px solid transparent;
    }
    .nav-link:hover {
      color: var(--accent) !important;
      border-bottom-color: var(--accent);
    }
    .navbar-toggler {
      border-color: var(--text-muted);
    }
    .navbar-toggler-icon {
      filter: invert(0.8);
    }
    /* 区块统一样式 */
    .section-title {
      margin: 2.5rem 0 1.5rem;
      border-left: 6px solid var(--primary);
      padding-left: 1rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .section-title i {
      color: var(--accent);
    }
    .badge-hot {
      background: var(--accent);
      color: #0a1410;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 30px;
      font-size: 0.75rem;
    }
    /* 卡片通用 */
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      border: 1px solid var(--border-light);
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
      height: 100%;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .movie-card:hover {
      transform: scale(1.02);
      border-color: var(--primary);
      box-shadow: 0 10px 20px rgba(16,185,129,0.2);
    }
    .movie-card .poster-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2 / 3;
      background: #1c2b23;
    }
    .movie-card .poster-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s;
    }
    .movie-card:hover .poster-wrap img {
      transform: scale(1.05);
    }
    .ep-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: rgba(0,0,0,0.75);
      color: var(--accent);
      font-size: 0.7rem;
      padding: 3px 8px;
      border-radius: 20px;
      font-weight: 600;
      backdrop-filter: blur(2px);
    }
    .rating-badge {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: rgba(0,0,0,0.7);
      color: var(--accent);
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 16px;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .movie-card .card-body {
      padding: 0.8rem;
    }
    .movie-title {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 4px;
      color: var(--text-light);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .movie-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      justify-content: space-between;
    }
    /* 侧边筛选栏 */
    .filter-sidebar {
      background: #0d1813;
      border-radius: var(--radius);
      padding: 1.5rem 1rem;
      border: 1px solid var(--border-light);
      position: sticky;
      top: 90px;
    }
    .filter-sidebar h6 {
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 1rem;
      font-size: 1rem;
    }
    .filter-cat {
      list-style: none;
      padding: 0;
    }
    .filter-cat li {
      margin-bottom: 0.5rem;
    }
    .filter-cat a {
      color: var(--text-light);
      text-decoration: none;
      display: flex;
      justify-content: space-between;
      padding: 6px 10px;
      border-radius: 30px;
      transition: background 0.2s;
      font-size: 0.9rem;
    }
    .filter-cat a:hover, .filter-cat a.active {
      background: rgba(16,185,129,0.15);
      color: var(--primary);
    }
    .filter-cat a span {
      color: var(--text-muted);
      font-size: 0.8rem;
    }
    /* 手风琴样式 */
    .accordion-item {
      background: transparent;
      border: 1px solid var(--border-light);
      margin-bottom: 0.8rem;
      border-radius: 8px !important;
      overflow: hidden;
    }
    .accordion-button {
      background: var(--card-bg);
      color: var(--text-light);
      font-weight: 600;
      box-shadow: none;
      border-radius: 0;
    }
    .accordion-button:not(.collapsed) {
      background: #152a20;
      color: var(--accent);
    }
    .accordion-body {
      background: #0d1a14;
      color: var(--text-light);
    }
    /* 心情选片 */
    .mood-chip {
      background: #17281f;
      border: 1px solid var(--border-light);
      border-radius: 30px;
      padding: 6px 18px;
      color: var(--text-light);
      cursor: pointer;
      transition: all 0.2s;
      display: inline-block;
      margin: 0.25rem 0.5rem 0.25rem 0;
      font-weight: 500;
      font-size: 0.9rem;
    }
    .mood-chip i {
      color: var(--primary);
      margin-right: 6px;
    }
    .mood-chip:hover {
      background: var(--primary);
      color: #0a1410;
      border-color: var(--primary);
    }
    .friend-links {
      background: #0d1813;
      border: 1px solid var(--border-light);
      border-radius: var(--radius);
      padding: 1.5rem;
      margin: 3rem 0 1rem;
    }
    footer {
      border-top: 1px solid var(--border-light);
      padding: 2rem 0 1rem;
      color: var(--text-muted);
      background: #07110c;
    }
    footer a {
      color: var(--text-muted);
      text-decoration: none;
    }
    footer a:hover {
      color: var(--accent);
    }
    /* 弹窗样式 */
    .movie-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(20px);
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
    .movie-modal.active {
      display: flex;
    }
    .modal-backdrop-img {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: blur(30px) brightness(0.4);
      z-index: -1;
    }
    .modal-content-card {
      background: rgba(13,24,19,0.9);
      border: 1px solid var(--primary);
      border-radius: 16px;
      max-width: 550px;
      width: 100%;
      padding: 2rem;
      position: relative;
      box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    }
    .modal-content-card .close-modal {
      position: absolute;
      top: 12px;
      right: 16px;
      font-size: 2rem;
      color: var(--text-muted);
      cursor: pointer;
      line-height: 1;
    }
    .modal-content-card .close-modal:hover {
      color: var(--accent);
    }
    .rating-highlight {
      background: rgba(251,191,36,0.2);
      color: var(--accent);
      font-weight: 700;
      padding: 2px 12px;
      border-radius: 30px;
      display: inline-block;
    }
    .modal-title {
      font-size: 1.8rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
    }
    /* 卡片错落渐显动效 */
    .reveal-card {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s cubic-bezier(0.2,0.9,0.3,1), transform 0.6s;
    }
    .reveal-card.visible {
      opacity: 1;
      transform: translateY(0);
    }
    @media (max-width: 992px) {
      .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
      }
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 默认白底,防止出现白块 */
        .card, .card-body, .card-header, .card-footer,
        .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body,
        .list-group-item, .form-control, .form-select {
            background-color: var(--card-bg);
            color: var(--text-light);
            border-color: var(--border-light);
        }
.accordion-button::after {
            filter: invert(1) hue-rotate(100deg);
        }
.nav-link.active-page {
            color: var(--primary) !important;
            font-weight: 600;
        }
.about-hero {
            padding: 60px 0 40px;
            text-align: center;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 40px;
        }
.about-hero h1 {
            font-size: 2.4rem;
            margin-bottom: 16px;
        }
.about-hero p {
            color: var(--text-muted);
            max-width: 720px;
            margin: 0 auto;
            font-size: 1.05rem;
            line-height: 1.8;
        }
.section-block {
            margin-bottom: 50px;
        }
.section-block h2 {
            font-size: 1.6rem;
            margin-bottom: 20px;
            position: relative;
            padding-left: 18px;
        }
.section-block h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 6px;
            bottom: 6px;
            width: 4px;
            background: var(--primary);
            border-radius: 2px;
        }
.section-block p, .section-block li {
            color: var(--text-muted);
            line-height: 1.9;
            font-size: 0.95rem;
        }
.section-block strong {
            color: var(--text-light);
        }
.value-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
.value-item {
            background: rgba(16, 185, 129, 0.04);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 24px 20px;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }
.value-item:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
        }
.value-item i {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 14px;
            display: inline-block;
        }
.value-item h3 {
            font-size: 1.05rem;
            margin-bottom: 10px;
            color: var(--text-light);
            font-weight: 600;
        }
.value-item p {
            font-size: 0.88rem;
            margin: 0;
        }
.stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin: 30px 0;
            justify-content: center;
        }
.stat-box {
            text-align: center;
            padding: 20px 30px;
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            min-width: 140px;
        }
.stat-box .num {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
        }
.stat-box .label {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-top: 4px;
        }
.timeline {
            position: relative;
            padding-left: 24px;
            margin-top: 20px;
        }
.timeline::before {
            content: "";
            position: absolute;
            left: 6px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--border-light);
        }
.timeline-item {
            position: relative;
            margin-bottom: 24px;
        }
.timeline-item::before {
            content: "";
            position: absolute;
            left: -22px;
            top: 6px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--bg-deep);
        }
.timeline-item .date {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 4px;
        }
.timeline-item h3 {
            font-size: 1rem;
            margin-bottom: 6px;
            color: var(--text-light);
        }
.timeline-item p {
            font-size: 0.88rem;
            margin: 0;
        }
.about-cta {
            background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(251,191,36,0.05) 100%);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 30px;
            text-align: center;
            margin: 40px 0;
        }
.about-cta h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
        }
.about-cta p {
            margin-bottom: 20px;
            color: var(--text-muted);
        }
.btn-about {
            display: inline-block;
            padding: 10px 28px;
            background: var(--primary);
            color: #fff;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            transition: opacity 0.2s;
        }
.btn-about:hover {
            opacity: 0.85;
            color: #fff;
        }

/* --- 子页面追加 --- */
/* 确保卡片、列表等组件在深色背景下可读，覆盖 Bootstrap 默认白底 */
    .privacy-card, .privacy-card-body {
      background: var(--card-bg);
      color: var(--text-light);
      border: 1px solid var(--border-light);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 1.75rem 1.5rem;
      height: 100%;
    }
.privacy-card h3, .privacy-card h4 {
      color: var(--primary);
      font-weight: 700;
      letter-spacing: -0.01em;
      margin-bottom: 0.75rem;
    }
.privacy-card p, .privacy-card li {
      color: var(--text-muted);
      line-height: 1.7;
    }
.privacy-card a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
.privacy-card a:hover {
      color: #fff;
    }
.privacy-list {
      list-style: none;
      padding-left: 0;
    }
.privacy-list li {
      padding-left: 1.5rem;
      position: relative;
      margin-bottom: 0.4rem;
    }
.privacy-list li::before {
      content: "◆";
      color: var(--primary);
      position: absolute;
      left: 0;
      font-size: 0.85rem;
      top: 0.1rem;
    }
.table-privacy {
      background: transparent;
      color: var(--text-light);
      border-color: var(--border-light);
    }
.table-privacy th, .table-privacy td {
      border-color: var(--border-light);
      color: var(--text-muted);
      padding: 0.9rem 0.75rem;
    }
.table-privacy thead th {
      color: var(--primary);
      font-weight: 600;
      border-bottom: 2px solid var(--border-light);
    }
.table-privacy td:first-child {
      color: var(--text-light);
      font-weight: 500;
    }
.badge-privacy {
      background: rgba(16, 185, 129, 0.15);
      color: var(--primary);
      border: 1px solid rgba(16, 185, 129, 0.3);
      padding: 0.3rem 0.8rem;
      border-radius: 30px;
      font-size: 0.75rem;
      font-weight: 600;
    }
.section-gap {
      padding: 5rem 0;
    }
.privacy-card {
        padding: 1.25rem;
      }
.section-gap {
        padding: 3.5rem 0;
      }
/* 确保 accordion (若用到) 也符合配色 — 本页不使用 accordion，但以防万一 */
    .accordion-item, .accordion-button {
      background: var(--card-bg);
      color: var(--text-light);
      border-color: var(--border-light);
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-title { color:#ecfdf5 !important; }
.card-text { color:#ecfdf5 !important; }
.table { color:#ecfdf5 !important; border-color:rgba(255,255,255,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#ecfdf5 !important; }
.accordion-header { background:transparent !important; }
