:root {
      --primary: #06b6d4;
      --accent: #ec4899;
      --bg-dark: #0c0a1a;
      --text-light: #e0f2fe;
      --card-bg: rgba(255,255,255,0.04);
      --card-border: rgba(6,182,212,0.25);
      --radius-lg: 24px;
      --radius-md: 18px;
      --radius-sm: 12px;
      --shadow-glow: 0 8px 40px rgba(6,182,212,0.15), 0 0 0 1px rgba(236,72,153,0.1);
      --font-mono: 'SF Mono', 'Fira Code', 'Roboto Mono', monospace;
    }

    * { font-family: 'Inter', system-ui, sans-serif; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      letter-spacing: 0.2px;
      overflow-x: hidden;
    }

    /* 渐变文字 */
    .gradient-text {
      background: linear-gradient(120deg, var(--primary), var(--accent), #ffd166);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 800;
    }

    /* 吸顶导航 */
    .navbar-custom {
      background: rgba(12, 10, 26, 0.85) !important;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      transition: background 0.4s ease, box-shadow 0.3s;
      border-bottom: 1px solid rgba(6,182,212,0.2);
    }
    .navbar-custom.scrolled {
      background: rgba(12, 10, 26, 0.95) !important;
      box-shadow: 0 6px 24px rgba(0,0,0,0.7);
    }
    .navbar-brand, .nav-link {
      color: var(--text-light) !important;
      font-weight: 500;
      transition: 0.2s;
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .navbar-brand i {
      color: var(--accent);
    }

    /* 胶囊导航 */
    .category-pill {
      display: inline-flex;
      background: rgba(6,182,212,0.08);
      border: 1px solid var(--card-border);
      padding: 8px 18px;
      border-radius: 50rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-light);
      backdrop-filter: blur(4px);
      transition: 0.2s;
      cursor: pointer;
    }
    .category-pill:hover {
      background: rgba(6,182,212,0.2);
      border-color: var(--primary);
      transform: translateY(-1px);
    }

    /* 卡片风格 */
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      border: 1px solid var(--card-border);
      backdrop-filter: blur(12px);
      transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s;
      overflow: hidden;
      height: 100%;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    .movie-card:hover {
      transform: translateY(-12px);
      box-shadow: var(--shadow-glow), 0 18px 40px rgba(6,182,212,0.3);
      border-color: rgba(236,72,153,0.4);
    }
    .movie-card img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      background: #2a2a3a;
      display: block;
    }
    .card-body {
      padding: 14px 14px 16px;
    }
    .card-title {
      font-weight: 700;
      font-size: 1rem;
      line-height: 1.3;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.75rem;
      color: rgba(224,242,254,0.6);
    }
    .badge-rating {
      background: rgba(236,72,153,0.15);
      border-radius: 50rem;
      padding: 2px 8px;
      font-family: var(--font-mono);
      font-weight: 600;
      color: #ffc46b;
    }
    .badge-year {
      font-family: var(--font-mono);
      color: #94a3b8;
    }

    /* 区块标题 */
    .section-title {
      font-size: 1.6rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      border-left: 8px solid var(--accent);
      padding-left: 20px;
      margin: 40px 0 24px;
    }
    .section-title i {
      color: var(--primary);
      margin-right: 12px;
    }

    /* 排行榜奖牌 */
    .medal-1 { color: #ffd700; }
    .medal-2 { color: #c0c0c0; }
    .medal-3 { color: #cd7f32; }
    .rank-badge {
      font-family: var(--font-mono);
      font-size: 0.9rem;
      font-weight: 600;
      display: inline-block;
      width: 32px;
      text-align: center;
    }

    /* hero 视差 */
    .hero-section {
      background: radial-gradient(circle at 70% 20%, rgba(236,72,153,0.2), transparent 45%),
                  radial-gradient(circle at 20% 40%, rgba(6,182,212,0.25), transparent 60%);
      padding: 100px 0 60px;
      position: relative;
      overflow: hidden;
    }
    .hero-float {
      position: absolute;
      border-radius: 40px;
      background: rgba(255,255,255,0.03);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.08);
      width: 200px;
      height: 200px;
      top: 30px;
      right: 5%;
      transform: rotate(12deg);
      animation: float 6s infinite alternate;
    }
    .hero-float2 {
      left: 8%;
      bottom: 0;
      width: 140px;
      height: 140px;
      border-radius: 30px;
      animation: float2 8s infinite alternate;
    }
    @keyframes float { 0% { top: 30px; } 100% { top: 10px; } }
    @keyframes float2 { 0% { bottom: 0; } 100% { bottom: 40px; } }

    /* 手风琴/折叠 */
    .accordion-item {
      background: rgba(255,255,255,0.03);
      border-radius: var(--radius-md);
      border: 1px solid var(--card-border);
      margin-bottom: 14px;
    }
    .accordion-button {
      background: transparent;
      color: var(--text-light);
      font-weight: 600;
      border-radius: var(--radius-md) !important;
      box-shadow: none !important;
    }
    .accordion-button:not(.collapsed) {
      background: rgba(6,182,212,0.15);
      color: white;
    }

    /* 弹窗沉浸式 */
    .fullscreen-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(20px) saturate(160%);
      z-index: 10000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-panel {
      max-width: 760px;
      width: 100%;
      background: linear-gradient(145deg, rgba(20,20,40,0.9), rgba(30,20,30,0.85));
      backdrop-filter: blur(18px);
      border-radius: 32px;
      border: 1px solid rgba(236,72,153,0.3);
      padding: 30px;
      color: white;
      box-shadow: 0 20px 80px rgba(6,182,212,0.3);
    }
    .modal-panel h3 {
      font-weight: 800;
      font-size: 1.9rem;
      background: linear-gradient(135deg, #fff, var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .modal-panel .meta-tag {
      font-family: var(--font-mono);
      background: rgba(255,255,255,0.1);
      padding: 4px 10px;
      border-radius: 30px;
      display: inline-block;
      margin-right: 10px;
    }
    .modal-close {
      position: absolute;
      top: 24px; right: 30px;
      font-size: 2rem;
      color: white;
      cursor: pointer;
      opacity: 0.8;
      transition: 0.2s;
      background: none;
      border: none;
    }

    /* 页脚、友链 */
    .footer-links {
      background: rgba(0,0,0,0.4);
      border-radius: 30px;
      padding: 30px 20px;
      margin-top: 40px;
    }
    .friend-link-item {
      color: #9ab8d4;
      text-decoration: none;
      margin: 0 14px;
    }
    .friend-link-item:hover {
      color: var(--primary);
    }

    /* 等宽数字 */
    .mono-num {
      font-family: var(--font-mono);
      font-weight: 600;
    }

    /* 心情选片胶囊 */
    .mood-chip {
      background: rgba(255,255,255,0.05);
      border-radius: 40px;
      padding: 8px 18px;
      border: 1px solid rgba(6,182,212,0.25);
      color: var(--text-light);
      transition: 0.2s;
      cursor: pointer;
      margin-right: 12px;
    }
    .mood-chip:hover {
      background: rgba(236,72,153,0.1);
      border-color: var(--accent);
    }

    /* 左筛选右瀑布流 */
    .browse-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 28px;
    }
    @media (max-width: 900px) {
      .browse-layout { grid-template-columns: 1fr; }
    }
    .filter-panel {
      background: rgba(12,10,26,0.7);
      border-radius: var(--radius-lg);
      padding: 22px 16px;
      height: fit-content;
      position: sticky;
      top: 90px;
      backdrop-filter: blur(8px);
      border: 1px solid rgba(6,182,212,0.2);
    }
    .filter-panel h6 {
      font-weight: 600;
      margin: 14px 0 10px;
    }

/* --- 子页面追加 --- */
/* 保证bootstrap组件跟深色主题一致 */
    .card, .card-body, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .form-control, .modal-content {
      background: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--card-border) !important;
    }
.card-title, .card-text, .accordion-button, .accordion-body, .list-group-item {
      color: var(--text-light) !important;
    }
.form-control::placeholder {
      color: rgba(255,255,255,0.45) !important;
    }
/* 榜单排名徽章 等 */
    .rank-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 2.2rem;
      height: 2.2rem;
      background: rgba(236,72,153,0.15);
      border: 1px solid rgba(236,72,153,0.5);
      border-radius: 50%;
      color: var(--accent);
      font-weight: 800;
      margin-right: 0.5rem;
    }
.table-custom td { border-color: rgba(6,182,212,0.15) !important; }
.table-custom th { border-color: rgba(6,182,212,0.2) !important; color: var(--accent); }

/* --- 子页面追加 --- */
.page-hero {
            padding: 120px 0 60px;
            position: relative;
            background: radial-gradient(ellipse at 20% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 0%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
        }
.movie-card .card-body {
            padding: 1.25rem;
            background: transparent;
            color: var(--text-light);
            border: none;
        }
.movie-card .card-title {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }
.movie-card .card-text {
            font-size: 0.9rem;
            color: rgba(224, 242, 254, 0.7);
            line-height: 1.5;
        }
.movie-card .badge-rating {
            background: rgba(6, 182, 212, 0.15);
            color: var(--primary);
            font-weight: 700;
        }
.movie-card .badge-year {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(224, 242, 254, 0.7);
        }
.section-divider {
            height: 1px;
            background: linear-gradient(to right, transparent, var(--card-border), transparent);
            margin: 60px 0;
        }
.film-poster {
            width: 100%;
            aspect-ratio: 2/3;
            object-fit: cover;
            background: rgba(255,255,255,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            border-bottom: 1px solid var(--card-border);
        }
.why-love {
            background: rgba(6, 182, 212, 0.05);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: 40px;
            margin: 60px 0;
        }
.why-love h2 {
            color: var(--primary);
            margin-bottom: 20px;
        }
.tip-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(6, 182, 212, 0.15);
            border-radius: var(--radius-md);
            padding: 24px;
            height: 100%;
        }
.tip-card i {
            color: var(--accent);
            font-size: 2rem;
            margin-bottom: 12px;
        }
.tip-card h3 {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 10px;
        }
.tip-card p {
            font-size: 0.9rem;
            color: rgba(224, 242, 254, 0.7);
            margin: 0;
        }
.active-nav {
            color: var(--primary) !important;
            text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
        }

/* --- 子页面追加 --- */
/* 本页专属微调 */
    .series-hero {
      position: relative;
      padding: 80px 0 40px;
      background: radial-gradient(ellipse at 30% 20%, rgba(6,182,212,0.15) 0%, transparent 60%),
                  radial-gradient(ellipse at 80% 80%, rgba(236,72,153,0.08) 0%, transparent 50%);
    }
.series-hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      font-weight: 900;
      letter-spacing: -0.02em;
    }
.series-hero .lead {
      max-width: 720px;
      color: var(--text-light);
      opacity: 0.85;
      font-size: 1.1rem;
      line-height: 1.8;
    }
.series-section-title {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 48px 0 24px;
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--text-light);
    }
.series-section-title i {
      color: var(--primary);
      font-size: 1.3rem;
    }
.series-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 20px;
      height: 100%;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
.series-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-glow);
    }
.series-card .badge-rating {
      background: rgba(236,72,153,0.2);
      color: #f9a8d4;
      border: 1px solid rgba(236,72,153,0.3);
    }
.series-card .badge-year {
      background: rgba(6,182,212,0.15);
      color: var(--primary);
      border: 1px solid rgba(6,182,212,0.3);
    }
.series-card .card-meta {
      color: var(--text-light);
      opacity: 0.7;
      font-size: 0.85rem;
      font-family: var(--font-mono);
    }
.series-card .card-title {
      color: var(--text-light);
      font-weight: 700;
      font-size: 1.15rem;
      margin: 12px 0 8px;
      line-height: 1.4;
    }
.series-card .card-text {
      color: var(--text-light);
      opacity: 0.75;
      font-size: 0.9rem;
      line-height: 1.7;
    }
.why-card {
      background: rgba(6,182,212,0.06);
      border: 1px solid rgba(6,182,212,0.15);
      border-radius: var(--radius-sm);
      padding: 20px;
      height: 100%;
      transition: background 0.3s;
    }
.why-card:hover {
      background: rgba(6,182,212,0.12);
    }
.why-card h3 {
      color: var(--text-light);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
.why-card p {
      color: var(--text-light);
      opacity: 0.75;
      font-size: 0.9rem;
      line-height: 1.7;
    }
.why-card i {
      color: var(--primary);
      font-size: 1.5rem;
      margin-bottom: 12px;
    }
.tip-box {
      background: rgba(236,72,153,0.05);
      border-left: 3px solid var(--accent);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      padding: 16px 20px;
      margin: 24px 0;
      color: var(--text-light);
      font-size: 0.95rem;
      line-height: 1.7;
    }
.tip-box strong {
      color: #f9a8d4;
    }
.watchlist-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 14px 0;
      border-bottom: 1px solid rgba(6,182,212,0.1);
    }
.watchlist-item:last-child {
      border-bottom: none;
    }
.watchlist-item .num {
      font-family: var(--font-mono);
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--primary);
      min-width: 32px;
      opacity: 0.8;
    }
.watchlist-item .info {
      flex: 1;
    }
.watchlist-item .info h4 {
      color: var(--text-light);
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 4px;
    }
.watchlist-item .info p {
      color: var(--text-light);
      opacity: 0.65;
      font-size: 0.85rem;
      line-height: 1.6;
      margin: 0;
    }
.watchlist-item .meta {
      color: var(--text-light);
      opacity: 0.5;
      font-size: 0.75rem;
      font-family: var(--font-mono);
      white-space: nowrap;
    }
.nav-link.active-custom {
      color: var(--primary) !important;
      font-weight: 600;
    }
.nav-link.active-custom::after {
      content: '';
      display: block;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      margin-top: 2px;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .anime-hero {
            background: linear-gradient(135deg, rgba(6,182,212,0.15) 0%, rgba(236,72,153,0.1) 50%, rgba(12,10,26,0.8) 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.anime-hero::before {
            content: '🌸';
            position: absolute;
            top: 20px;
            right: 60px;
            font-size: 120px;
            opacity: 0.08;
            animation: float 6s ease-in-out infinite;
        }
.anime-hero::after {
            content: '🎬';
            position: absolute;
            bottom: 10px;
            left: 40px;
            font-size: 90px;
            opacity: 0.06;
            animation: float 8s ease-in-out infinite reverse;
        }
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(10deg); }
.anime-badge {
            display: inline-block;
            background: rgba(236,72,153,0.2);
            color: #f0a0c0;
            border: 1px solid rgba(236,72,153,0.4);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
.anime-tag {
            display: inline-block;
            background: rgba(6,182,212,0.12);
            color: var(--primary);
            border: 1px solid rgba(6,182,212,0.3);
            padding: 3px 12px;
            border-radius: 16px;
            font-size: 0.8rem;
            margin: 3px;
            transition: all 0.3s ease;
        }
.anime-tag:hover {
            background: rgba(6,182,212,0.25);
            transform: translateY(-2px);
        }
.day-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            padding: 20px;
            transition: all 0.4s ease;
            height: 100%;
        }
.day-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-glow);
            transform: translateY(-4px);
        }
.day-label {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
.day-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.day-list li {
            padding: 8px 0;
            border-bottom: 1px dashed rgba(255,255,255,0.08);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.day-list li:last-child {
            border-bottom: none;
        }
.day-list li::before {
            content: '✦';
            color: var(--primary);
            font-size: 0.7rem;
        }
.season-card {
            background: linear-gradient(145deg, rgba(6,182,212,0.08), rgba(236,72,153,0.05));
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: 24px;
            transition: all 0.4s ease;
            height: 100%;
        }
.season-card:hover {
            box-shadow: var(--shadow-glow);
            transform: translateY(-5px);
        }
.season-number {
            font-size: 2.2rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }
.season-title {
            font-weight: 700;
            font-size: 1.15rem;
            margin: 8px 0 6px;
            color: var(--text-light);
        }
.season-desc {
            font-size: 0.88rem;
            color: rgba(224,242,254,0.7);
            line-height: 1.6;
        }
.stat-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.stat-label {
            font-size: 0.85rem;
            color: rgba(224,242,254,0.6);
            margin-top: 4px;
        }
.watchlist-card {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-sm);
            padding: 14px;
            transition: all 0.3s ease;
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }
.watchlist-card:hover {
            background: rgba(255,255,255,0.05);
            border-color: var(--card-border);
        }
.watchlist-rank {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--accent);
            min-width: 28px;
        }
.watchlist-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-light);
        }
.watchlist-meta {
            font-size: 0.8rem;
            color: rgba(224,242,254,0.6);
            margin-top: 2px;
        }

/* --- 子页面追加 --- */
/* 本页专属微调——保持与首页完全一致的视觉语言 */
        .doc-hero {
            background: radial-gradient(circle at 30% 40%, rgba(6,182,212,0.12), transparent 60%),
                        radial-gradient(circle at 80% 70%, rgba(236,72,153,0.08), transparent 50%);
            border-bottom: 1px solid var(--card-border);
        }
.nature-card-grid .movie-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.nature-card-grid .movie-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-glow);
        }
.doc-quote {
            border-left: 4px solid var(--accent);
            background: rgba(236,72,153,0.06);
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        }
.badge-year, .badge-rating {
            backdrop-filter: blur(4px);
        }

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