:root {
    --primary: #06b6d4;
    --accent: #ec4899;
    --bg-dark: #0c0a1a;
    --text-light: #e0f2fe;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
    position: relative;
  }
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }
  .custom-nav {
    background: linear-gradient(180deg, rgba(12,10,26,0.95) 0%, rgba(12,10,26,0.85) 80%, transparent 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6,182,212,0.2);
    padding: 0.8rem 0;
    position: relative;
    z-index: 100;
  }
  .custom-nav .navbar-brand {
    font-family: 'Ma Shan Zheng', 'Noto Serif SC', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(6,182,212,0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .custom-nav .navbar-brand i { color: var(--accent); }
  .nav-link-custom {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  .nav-link-custom:hover {
    color: var(--primary) !important;
    background: rgba(6,182,212,0.1);
  }
  .hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0c0a1a 0%, #1a1035 100%);
    overflow: hidden;
    padding: 4rem 1rem;
  }
  .hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 140%; height: 200%;
    background: url('{随机图片}') center/cover no-repeat;
    opacity: 0.4;
    filter: blur(2px) brightness(0.6);
    animation: heroPan 30s ease-in-out infinite alternate;
  }
  @keyframes heroPan {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.1) translateX(-3%); }
  }
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
  }
  .hero-content h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
  }
  .hero-badge {
    display: inline-block;
    background: rgba(236,72,153,0.8);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
  }
  .section-block {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
  }
  .section-title {
    font-family: 'Ma Shan Zheng', 'Noto Serif SC', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .section-title i {
    color: var(--accent);
    font-size: 1.8rem;
  }
  .section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
  }
  .movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
  .movie-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  }
  .movie-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(6,182,212,0.3), 0 0 30px rgba(6,182,212,0.1);
  }
  .movie-card .poster-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1035, #2a1a4a);
  }
  .movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0; left: 0;
  }
  .movie-card img.loaded {
    opacity: 1;
    transform: scale(1);
  }
  .movie-card:hover img { transform: scale(1.08); }
  .quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(236,72,153,0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 3;
  }
  .rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #ffd700;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    z-index: 3;
  }
  .movie-info {
    padding: 1rem;
    background: rgba(0,0,0,0.3);
  }
  .movie-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .movie-info p {
    font-size: 0.8rem;
    color: rgba(224,242,254,0.6);
    margin: 0;
  }
  .rank-list {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
  }
  .rank-list:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(6,182,212,0.1);
  }
  .rank-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .rank-item:last-child { border-bottom: none; }
  .rank-item:hover { background: rgba(6,182,212,0.05); padding-left: 0.5rem; }
  .rank-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    width: 50px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 10px rgba(236,72,153,0.3);
  }
  .rank-title {
    flex: 1;
    font-weight: 500;
    margin-left: 1rem;
  }
  .rank-rating {
    color: #ffd700;
    font-weight: 600;
  }
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .compare-table th, .compare-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .compare-table th {
    background: linear-gradient(135deg, rgba(6,182,212,0.3), rgba(236,72,153,0.2));
    font-weight: 600;
  }
  .compare-table td:first-child {
    font-weight: 600;
    color: var(--primary);
  }
  .modal-content {
    background: #1a1035;
    border: 1px solid rgba(6,182,212,0.3);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  }
  .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
  }
  .modal-body { padding: 1.5rem; }
  .modal-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.8rem;
    color: var(--primary);
  }
  .detail-poster {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .detail-info h4 { color: var(--primary); margin-bottom: 0.5rem; }
  .detail-info p { margin-bottom: 0.5rem; font-size: 0.9rem; }
  .plot-text {
    line-height: 1.8;
    color: rgba(224,242,254,0.8);
  }
  .footer-section {
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(6,182,212,0.2);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 2;
  }
  .friend-links {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  .friend-links h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  .list-number {
    counter-reset: step;
    padding-left: 0;
    list-style: none;
  }
  .list-number li {
    counter-increment: step;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
  }
  .list-number li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
  }
  .lazy-img {
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .lazy-img.loaded { opacity: 1; }
  @media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
    .section-title { font-size: 1.6rem; }
  }
  .navbar-toggler {
    border-color: rgba(6,182,212,0.5);
  }
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(6,182,212,0.25);
  }
  .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件配色与暗色站点一致 (只覆盖本页用到的) */
        .accordion-item, .accordion-button {
            background-color: var(--bg-dark);
            color: var(--text-light);
            border-color: rgba(255,255,255,0.08);
        }
.accordion-button:not(.collapsed) {
            background-color: rgba(6, 182, 212, 0.1);
            color: var(--primary);
            box-shadow: none;
        }
.accordion-button:focus {
            box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.2);
        }
.accordion-button::after {
            filter: invert(80%) sepia(60%) saturate(500%) hue-rotate(150deg);
        }
.list-group-item {
            background-color: transparent;
            color: var(--text-light);
            border-color: rgba(255,255,255,0.08);
        }
/* 细节：页面内部间距 */
        .about-section {
            padding: 4rem 0;
        }
.about-hero {
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
.stat-box {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 16px;
            padding: 1.5rem;
            transition: 0.2s;
        }
.stat-box i {
            color: var(--primary);
        }
.about-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(236, 72, 153, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-weight: 700;
            margin-right: 12px;
        }
.feature-icon {
            font-size: 2rem;
            color: var(--primary);
            width: 60px;
            height: 60px;
            background: rgba(6, 182, 212, 0.08);
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
.border-soft {
            border: 1px solid rgba(255,255,255,0.06);
        }

/* --- 子页面追加 --- */
/* 覆盖Bootstrap组件默认白底黑字，保证与深色站一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item {
            background: var(--bg-dark);
            color: var(--text-light);
            border-color: #1e293b;
        }
.form-control, .form-select {
            background: rgba(0,0,0,.35);
            color: var(--text-light);
            border-color: #1e293b;
        }
.form-control::placeholder { color: rgba(255,255,255,.45); }
.nav-link-custom, .navbar-brand { color: var(--text-light) !important; }
/* 本页微调 */
        .disclaimer-title { color: var(--primary); font-weight: 700; }
.disclaimer-section { background: rgba(6,182,212,0.03); border-left: 4px solid var(--primary); }
.disclaimer-highlight { color: var(--accent); }
.section-block h2 { font-size: 1.8rem; }
.section-block h2 { font-size: 1.4rem; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
