:root {
    --primary: #f472b6;
    --accent: #fbbf24;
    --bg: #fff5f7;
    --text: #4a2530;
    --card-radius: 1rem;
    --shadow-sm: 0 4px 12px rgba(244,114,182,0.1);
    --shadow-hover: 0 20px 30px rgba(244,114,182,0.25);
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  }

  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  h1, h2, h3, .navbar-brand {
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  h2 { font-size: 1.75rem; margin-bottom: 1.2rem; }

  .navbar {
    background-color: rgba(255,245,247,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(244,114,182,0.2);
    padding: 0.8rem 0;
  }

  .navbar-brand {
    color: var(--primary);
    font-size: 1.7rem;
    font-weight: 900;
    margin-right: 2rem;
    transition: transform .2s;
  }
  .navbar-brand i { color: var(--accent); margin-right: 6px; }
  .navbar-nav .nav-link {
    color: var(--text);
    font-weight: 600;
    margin: 0 0.5rem;
    border-radius: 2rem;
    padding: 0.5rem 1rem !important;
    transition: background .2s, color .2s;
  }
  .navbar-nav .nav-link:hover {
    background-color: var(--primary);
    color: white;
  }

  .progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
  }

  .hero {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('{随机图片}');
    background-size: cover;
    background-position: center 30%;
    padding: 7rem 0 5rem;
    margin-top: 70px;
    color: white;
    border-radius: 0 0 3rem 3rem;
  }
  .hero .display-3 {
    font-weight: 900;
    text-shadow: 0 4px 18px rgba(0,0,0,0.4);
    letter-spacing: -0.01em;
  }

  .section-title {
    border-left: 8px solid var(--primary);
    padding-left: 1rem;
  }

  .poster-row {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1rem 0 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
  }
  .poster-row::-webkit-scrollbar { height: 6px; }
  .poster-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

  .card-film {
    min-width: 180px;
    max-width: 180px;
    border: none;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
  }
  .card-film:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
  }
  .card-film img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background: #f5d7e3;
  }
  .card-film .badge-hd {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
  }
  .card-film .info {
    padding: 0.8rem 0.6rem 0.9rem;
  }
  .card-film .film-name {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-film .film-meta {
    font-size: 0.8rem;
    color: #a06b7a;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
  }
  .film-rating { color: var(--accent); font-weight: 700; }

  .category-tabs .btn {
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    margin: 0.2rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    background: white;
    transition: all 0.2s;
  }
  .category-tabs .btn.active, .category-tabs .btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 12px rgba(244,114,182,0.4);
  }

  .timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary);
  }
  .timeline-item {
    margin-bottom: 1.5rem;
    position: relative;
  }
  .timeline-item::before {
    content: "";
    position: absolute;
    left: -1.7rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 3px var(--primary);
  }

  .footer-links {
    background: #ffe4ee;
    padding: 1.5rem 0;
    border-radius: 2rem 2rem 0 0;
  }

  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(244,114,182,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    z-index: 999;
  }
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }

  .film-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
    z-index: 1050;
    max-height: 80vh;
    overflow-y: auto;
  }
  .film-drawer.open { transform: translateY(0); }
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1049;
  }
  .drawer-overlay.show { opacity: 1; visibility: visible; }
  .drawer-title { font-weight: 900; font-size: 1.8rem; }
  .btn-glow {
    background: linear-gradient(90deg, var(--primary), #fa8cb8, var(--primary));
    background-size: 200%;
    animation: flow 3s infinite;
    color: white;
    border: none;
    border-radius: 40px;
    transition: all 0.2s;
  }
  @keyframes flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .btn-glow:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(244,114,182,0.5);
  }
  .mood-badge {
    background: white;
    border-radius: 50rem;
    padding: 0.3rem 1rem;
    font-weight: 600;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    transition: 0.2s;
    cursor: pointer;
  }
  .mood-badge:hover {
    background: var(--primary);
    color: white;
  }

  @media (max-width: 768px) {
    .hero { padding: 4rem 0 3rem; }
    .navbar-nav .nav-link { padding: 0.3rem 0.8rem !important; }
  }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .about-hero {
            background: linear-gradient(135deg, rgba(244,114,182,0.12) 0%, rgba(251,191,36,0.08) 100%);
            border-radius: var(--card-radius);
            padding: 3rem 2rem;
            margin-top: 2rem;
            border: 1px solid rgba(244,114,182,0.15);
        }
.about-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 1rem;
            line-height: 1.3;
        }
.about-hero p {
            font-size: 1.05rem;
            color: var(--text);
            opacity: 0.85;
            max-width: 720px;
            margin: 0 auto;
        }
.about-section {
            padding: 3rem 0 2rem;
        }
.about-section h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.2rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
.about-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }
.about-section h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text);
            margin: 1.5rem 0 0.8rem;
        }
.about-section p {
            color: var(--text);
            opacity: 0.9;
            line-height: 1.8;
            font-size: 0.98rem;
        }
.feature-card {
            background: rgba(255,255,255,0.55);
            border: 1px solid rgba(244,114,182,0.12);
            border-radius: var(--card-radius);
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
            height: 100%;
        }
.feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.feature-card i {
            font-size: 1.6rem;
            color: var(--primary);
            margin-bottom: 0.8rem;
        }
.feature-card h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
.feature-card p {
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.8;
            line-height: 1.6;
            margin-bottom: 0;
        }
.timeline-wrap {
            background: rgba(255,255,255,0.45);
            border-radius: var(--card-radius);
            padding: 2rem;
            border: 1px solid rgba(244,114,182,0.1);
        }
.timeline-item h5 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.3rem;
        }
.timeline-item p {
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.75;
            margin-bottom: 0.2rem;
        }
.timeline-item .date {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            color: var(--primary);
            opacity: 0.8;
        }
.quote-block {
            background: rgba(251,191,36,0.08);
            border-left: 4px solid var(--accent);
            border-radius: 0 var(--card-radius) var(--card-radius) 0;
            padding: 1.2rem 1.5rem;
            margin: 1.5rem 0;
        }
.quote-block p {
            font-style: italic;
            font-size: 1rem;
            color: var(--text);
            opacity: 0.85;
            margin-bottom: 0;
        }
.quote-block .quote-author {
            font-style: normal;
            font-size: 0.85rem;
            color: var(--primary);
            font-weight: 600;
            margin-top: 0.5rem;
        }
.about-meta {
            font-family: var(--font-mono);
            font-size: 0.85rem;
            color: var(--primary);
            background: rgba(244,114,182,0.08);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 1rem;
        }
.about-hero {
                padding: 2rem 1.5rem;
            }
.about-hero h1 {
                font-size: 1.7rem;
            }
.about-section h2 {
                font-size: 1.3rem;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card { background:rgba(0,0,0,.03) !important; color:#4a2530 !important; border-color:rgba(0,0,0,.12) !important; }
