:root {
      --main: #10b981;
      --accent: #fbbf24;
      --bg-dark: #0a1410;
      --text-light: #ecfdf5;
      --border-soft: rgba(236, 253, 245, 0.08);
      --card-bg: rgba(16, 185, 129, 0.04);
      --shadow-soft: 0 10px 25px -5px rgba(0,0,0,0.5);
      --radius: 8px;
      --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
    }

    * { scroll-behavior: smooth; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: 'Inter', sans-serif;
      letter-spacing: 0.2px;
      line-height: 1.65;
    }

    /* 滚动进度条 */
    #progress-bar {
      position: fixed;
      top: 0;
      left: 0;
      height: 4px;
      width: 0%;
      background: linear-gradient(90deg, var(--main), var(--accent));
      z-index: 10000;
      transition: width 0.1s;
      border-radius: 0 4px 4px 0;
    }

    .navbar {
      background: rgba(10, 20, 16, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-soft);
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.6rem;
      color: var(--main) !important;
      letter-spacing: -0.5px;
    }
    .navbar-brand i {
      color: var(--accent);
      margin-right: 6px;
    }
    .nav-link {
      color: var(--text-light) !important;
      font-weight: 500;
      margin: 0 8px;
      transition: color 0.2s;
      border-radius: 20px;
      padding: 8px 14px !important;
    }
    .nav-link:hover {
      color: var(--main) !important;
      background: rgba(16, 185, 129, 0.08);
    }
    .navbar-toggler {
      border-color: var(--border-soft);
    }
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%2310b981' stroke-width='2' linecap='round' linejoin='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .hero {
      padding: 5rem 0 4rem;
      border-bottom: 1px solid var(--border-soft);
      background: radial-gradient(circle at 30% 30%, rgba(16,185,129,0.1), transparent 60%);
    }
    .typewriter h1 {
      font-weight: 900;
      font-size: 3.2rem;
      letter-spacing: -1px;
      color: var(--text-light);
      border-right: 3px solid var(--accent);
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      animation: blink 0.8s step-end infinite;
    }
    @keyframes blink {
      50% { border-color: transparent; }
    }
    .hero-sub {
      color: rgba(236, 253, 245, 0.7);
      max-width: 650px;
      margin-top: 20px;
      font-size: 1.1rem;
    }
    .hero .btn-custom {
      background: var(--main);
      border: none;
      color: #0a1410;
      font-weight: 700;
      padding: 12px 28px;
      border-radius: 40px;
      margin-top: 30px;
      box-shadow: 0 6px 15px rgba(16, 185, 129, 0.25);
      transition: all 0.2s;
    }
    .hero .btn-custom:hover {
      transform: translateY(-2px);
      background: var(--accent);
    }

    /* 通用卡片与海报 */
    .section-title {
      font-weight: 800;
      font-size: 2rem;
      letter-spacing: -0.3px;
      margin: 3rem 0 2rem;
      border-left: 6px solid var(--accent);
      padding-left: 18px;
    }
    .section-title i {
      color: var(--main);
      margin-right: 10px;
    }

    .poster-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
      gap: 22px 18px;
    }

    .movie-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      position: relative;
      min-height: 280px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      display: flex;
      flex-direction: column;
      animation: fadeUp 0.6s ease forwards;
      opacity: 0;
      transform: translateY(25px);
    }
    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }
    .movie-card:nth-child(1) { animation-delay: 0.02s; }
    .movie-card:nth-child(2) { animation-delay: 0.06s; }
    .movie-card:nth-child(3) { animation-delay: 0.1s; }
    .movie-card:nth-child(4) { animation-delay: 0.14s; }
    .movie-card:nth-child(5) { animation-delay: 0.18s; }
    .movie-card:nth-child(6) { animation-delay: 0.22s; }
    .movie-card:nth-child(7) { animation-delay: 0.26s; }
    .movie-card:nth-child(8) { animation-delay: 0.3s; }
    .movie-card:nth-child(9) { animation-delay: 0.34s; }
    .movie-card:nth-child(10) { animation-delay: 0.38s; }
    .movie-card:nth-child(11) { animation-delay: 0.42s; }
    .movie-card:nth-child(12) { animation-delay: 0.46s; }

    .movie-card:hover {
      transform: translateY(-6px) scale(1.02);
      box-shadow: 0 15px 35px rgba(0,0,0,0.6);
      border-color: rgba(16,185,129,0.4);
    }

    .poster {
      position: relative;
      aspect-ratio: 2/3;
      overflow: hidden;
      background: #1c2a22;
    }
    .poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      display: block;
    }
    .movie-card:hover .poster img {
      transform: scale(1.08);
    }
    .poster .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10,20,16,0.95) 5%, rgba(10,20,16,0.3) 50%, transparent 90%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 12px;
      opacity: 0;
      transition: opacity 0.25s;
    }
    .movie-card:hover .overlay {
      opacity: 1;
    }
    .overlay .play-btn {
      background: rgba(251,191,36,0.9);
      border-radius: 50%;
      width: 42px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 8px;
      color: #0a1410;
      font-size: 1rem;
      transition: background 0.2s;
    }
    .overlay .rating {
      font-family: var(--font-mono);
      font-weight: 600;
      color: var(--accent);
    }
    .card-info {
      padding: 12px;
    }
    .card-info .title {
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 3px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-info .meta {
      font-size: 0.75rem;
      opacity: 0.75;
      font-family: var(--font-mono);
    }

    /* 分类选项卡 */
    .category-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 25px 0 20px;
    }
    .cat-tab {
      background: transparent;
      border: 1px solid var(--border-soft);
      color: var(--text-light);
      padding: 8px 20px;
      border-radius: 30px;
      font-weight: 500;
      transition: all 0.2s;
    }
    .cat-tab:hover, .cat-tab.active {
      background: var(--main);
      border-color: var(--main);
      color: #0a1410;
      box-shadow: 0 4px 10px rgba(16,185,129,0.2);
    }

    /* 对比表格 */
    .compare-table {
      background: rgba(255,255,255,0.02);
      border-radius: var(--radius);
      border: 1px solid var(--border-soft);
      width: 100%;
      margin: 2rem 0;
    }
    .compare-table th, .compare-table td {
      padding: 15px 18px;
      border-bottom: 1px solid var(--border-soft);
    }
    .compare-table tr:last-child td {
      border-bottom: none;
    }
    .compare-table thead th {
      font-weight: 700;
      color: var(--accent);
      background: rgba(16,185,129,0.08);
    }

    /* 编号清单 */
    .steps-list {
      counter-reset: step-counter;
      list-style: none;
      padding-left: 0;
    }
    .steps-list li {
      counter-increment: step-counter;
      margin-bottom: 16px;
      padding-left: 45px;
      position: relative;
      font-weight: 500;
    }
    .steps-list li::before {
      content: counter(step-counter);
      background: var(--main);
      color: #0a1410;
      font-weight: 800;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      left: 0;
      top: 0;
      font-family: var(--font-mono);
      font-size: 0.9rem;
    }

    /* FAQ */
    .faq-item {
      background: rgba(16,185,129,0.03);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius);
      padding: 1.5rem 1.8rem;
      margin-bottom: 1rem;
    }
    .faq-item h5 {
      font-weight: 700;
      color: var(--accent);
    }

    /* 今天看什么 */
    .random-pick {
      background: linear-gradient(145deg, rgba(16,185,129,0.08), rgba(251,191,36,0.05));
      padding: 2rem;
      border-radius: 20px;
      border: 1px dashed var(--main);
    }
    .random-pick .btn-pick {
      background: var(--accent);
      border: none;
      color: #0a1410;
      font-weight: 700;
      border-radius: 40px;
      padding: 10px 32px;
      transition: transform 0.2s;
    }
    .random-pick .btn-pick:active {
      transform: scale(0.95);
    }
    #randomResult {
      font-family: var(--font-mono);
      font-size: 1.2rem;
      color: var(--main);
    }

    /* 友链 */
    .friend-links {
      border-top: 1px solid var(--border-soft);
      padding: 2.5rem 0 1rem;
      margin-top: 4rem;
    }
    .friend-links h5 {
      font-weight: 700;
      margin-bottom: 1rem;
    }

    footer {
      background: #060c08;
      padding: 3rem 0;
      margin-top: 4rem;
      border-top: 1px solid var(--border-soft);
    }

    /* 翻转卡片弹窗 */
    .movie-card.flipped .flip-inner {
      transform: rotateY(180deg);
    }
    .flip-container {
      perspective: 1200px;
      display: inline-block;
    }
    .flip-inner {
      transition: transform 0.5s;
      transform-style: preserve-3d;
      position: relative;
      width: 100%;
      height: 100%;
    }
    .flip-front, .flip-back {
      backface-visibility: hidden;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .flip-back {
      transform: rotateY(180deg);
      background: #12241b;
      border-radius: var(--radius);
      padding: 15px;
      overflow-y: auto;
      font-size: 0.85rem;
      border: 1px solid var(--main);
    }
    .flip-back p {
      margin-bottom: 8px;
      border-bottom: 1px dashed rgba(255,255,255,0.2);
      padding-bottom: 6px;
    }
    .flip-back .close-flip {
      position: absolute;
      top: 6px;
      right: 10px;
      background: none;
      border: none;
      color: var(--accent);
      font-size: 1.3rem;
      cursor: pointer;
    }
    .close-flip i {
      pointer-events: none;
    }

    @media (max-width: 768px) {
      .typewriter h1 { font-size: 2.2rem; }
      .hero { padding: 3rem 0; }
      .section-title { font-size: 1.6rem; }
    }

/* --- 子页面追加 --- */
/* 本页专属样式——仅补充,不覆盖全局变量 */
    .about-hero {
      padding: 80px 0 50px;
      text-align: center;
    }
.about-hero h1 {
      font-size: 2.6rem;
      font-weight: 800;
      color: var(--text-light);
      margin-bottom: 16px;
    }
.about-hero .hero-sub {
      font-size: 1.1rem;
      color: rgba(236, 253, 245, 0.7);
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.7;
    }
.about-section {
      padding: 45px 0;
      border-bottom: 1px solid var(--border-soft);
    }
.about-section:last-child {
      border-bottom: none;
    }
.about-section h2 {
      font-size: 1.7rem;
      font-weight: 700;
      color: var(--main);
      margin-bottom: 20px;
      position: relative;
      padding-left: 18px;
    }
.about-section h2::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 4px;
      height: 24px;
      background: var(--accent);
      border-radius: 2px;
    }
.about-section p {
      color: var(--text-light);
      opacity: 0.85;
      line-height: 1.85;
      font-size: 1.02rem;
      margin-bottom: 15px;
    }
.about-section .highlight {
      color: var(--accent);
      font-weight: 600;
    }
.about-section ul {
      list-style: none;
      padding-left: 0;
    }
.about-section ul li {
      color: var(--text-light);
      opacity: 0.85;
      padding: 8px 0 8px 28px;
      position: relative;
      line-height: 1.7;
    }
.about-section ul li::before {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      color: var(--main);
      position: absolute;
      left: 0;
      top: 8px;
      font-size: 0.9rem;
    }
.feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
      margin-top: 25px;
    }
.feature-card {
      background: var(--card-bg);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius);
      padding: 25px 20px;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }
.feature-card:hover {
      transform: translateY(-5px);
      border-color: var(--main);
    }
.feature-card .icon-box {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }
.feature-card .icon-box i {
      color: var(--main);
      font-size: 1.3rem;
    }
.feature-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 10px;
    }
.feature-card p {
      font-size: 0.92rem;
      line-height: 1.65;
      color: rgba(236, 253, 245, 0.75);
      margin: 0;
    }
.steps-list li:last-child {
      border-bottom: none;
    }
.steps-list li::after {
      content: none;
    }
.about-quote {
      background: rgba(251, 191, 36, 0.06);
      border-left: 3px solid var(--accent);
      padding: 20px 25px;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 25px 0;
    }
.about-quote p {
      font-style: italic;
      color: rgba(236, 253, 245, 0.9);
      margin: 0;
    }
.about-quote .quote-author {
      display: block;
      text-align: right;
      font-size: 0.9rem;
      color: var(--accent);
      margin-top: 8px;
      font-style: normal;
      font-weight: 600;
    }
.update-badge {
      display: inline-block;
      background: rgba(251, 191, 36, 0.15);
      color: var(--accent);
      border: 1px solid rgba(251, 191, 36, 0.3);
      padding: 3px 12px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-right: 8px;
      margin-bottom: 8px;
    }
.about-hero h1 { font-size: 2rem; }
.about-section h2 { font-size: 1.4rem; }
.feature-grid { grid-template-columns: 1fr; }

/* --- 子页面追加 --- */
.disclaimer-hero {
            padding: 80px 0 50px;
            background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(0,0,0,0.3) 100%);
        }
.disclaimer-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }
.disclaimer-card {
            background: var(--card-bg);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-soft);
        }
.disclaimer-card h2 {
            color: var(--main);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border-soft);
        }
.disclaimer-card h3 {
            color: var(--accent);
            font-size: 1.15rem;
            font-weight: 600;
            margin: 25px 0 12px;
        }
.disclaimer-card p {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 15px;
            font-size: 0.95rem;
        }
.disclaimer-card ul {
            color: var(--text-light);
            padding-left: 20px;
            margin-bottom: 15px;
        }
.disclaimer-card ul li {
            margin-bottom: 8px;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.notice-box {
            background: rgba(251, 191, 36, 0.05);
            border-left: 3px solid var(--accent);
            padding: 18px 22px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 25px 0;
        }
.notice-box p {
            margin-bottom: 0;
            color: var(--accent);
            font-style: italic;
        }
.update-date {
            text-align: center;
            color: var(--text-light);
            opacity: 0.6;
            font-size: 0.85rem;
            margin-top: 40px;
            font-family: var(--font-mono);
        }
.disclaimer-card {
                padding: 25px 20px;
            }
.disclaimer-hero {
                padding: 60px 0 35px;
            }

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