:root {
      --primary: #f97316;
      --accent: #facc15;
      --bg-deep: #1a1410;
      --text-light: #fff7ed;
      --card-bg: #2a2119;
      --radius-lg: 24px;
      --radius-md: 16px;
      --shadow-soft: 0 12px 30px rgba(0,0,0,0.3);
    }

    * { box-sizing: border-box; }
    body {
      background-color: var(--bg-deep);
      color: var(--text-light);
      font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
      line-height: 1.5;
    }
    h1, h2, h3, .serif-title {
      font-family: 'Noto Serif SC', serif;
      font-weight: 700;
    }
    .navbar, .navbar-brand, .nav-link {
      background: transparent !important;
      color: var(--text-light) !important;
    }
    .navbar {
      backdrop-filter: blur(10px);
      background: rgba(26,20,16,0.85) !important;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      padding: 12px 0;
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 1.8rem;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Noto Serif SC', serif;
    }
    .navbar-brand i {
      color: var(--primary);
    }
    .navbar-nav .nav-link {
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 30px;
      transition: all 0.2s;
    }
    .navbar-nav .nav-link:hover {
      color: var(--primary) !important;
      background: rgba(249,115,22,0.1);
    }
    .banner-hero {
      padding: 3rem 0 2rem;
      background: radial-gradient(circle at 20% 30%, rgba(249,115,22,0.15), transparent 60%);
    }
    .typewriter {
      font-size: 2.8rem;
      font-weight: 900;
      font-family: 'Noto Serif SC', serif;
      color: var(--text-light);
      min-height: 4.5rem;
      border-right: 4px solid var(--primary);
      display: inline-block;
      padding-right: 10px;
      animation: blink 0.7s step-end infinite;
      white-space: nowrap;
      overflow: hidden;
    }
    @keyframes blink { 50% { border-color: transparent; } }
    .category-pills .badge {
      background: rgba(249,115,22,0.15);
      color: var(--primary);
      border: 1px solid rgba(249,115,22,0.3);
      padding: 12px 22px;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 500;
      transition: 0.2s;
      margin: 0.3rem;
    }
    .category-pills .badge:hover {
      background: var(--primary);
      color: #1a1410;
      transform: translateY(-2px);
    }
    .section-title {
      border-left: 6px solid var(--primary);
      padding-left: 18px;
      margin: 3rem 0 1.8rem;
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: 1px;
    }
    .movie-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.3s;
      position: relative;
      border: none;
      height: 100%;
      cursor: pointer;
      box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    }
    .movie-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 32px rgba(0,0,0,0.5);
    }
    .movie-card img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      display: block;
    }
    .movie-card .card-body {
      padding: 12px 12px 14px;
    }
    .movie-card .card-title {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .badge-rating {
      background: rgba(250,204,21,0.2);
      color: var(--accent);
      font-weight: 700;
      padding: 2px 10px;
      border-radius: 30px;
      font-size: 0.85rem;
    }
    .badge-ep {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgba(26,20,16,0.85);
      backdrop-filter: blur(4px);
      color: var(--accent);
      font-size: 0.7rem;
      padding: 4px 10px;
      border-radius: 30px;
      font-weight: 600;
      border: 1px solid rgba(250,204,21,0.5);
    }
    .hot-badge {
      background: var(--primary);
      color: #1a1410;
      font-weight: 800;
      border-radius: 50px;
      padding: 2px 12px;
      font-size: 0.75rem;
      display: inline-block;
      margin-bottom: 6px;
    }
    .rank-list .list-group-item {
      background: var(--card-bg);
      border: none;
      border-radius: var(--radius-md) !important;
      margin-bottom: 10px;
      padding: 12px 16px;
      color: var(--text-light);
      font-weight: 500;
      transition: 0.2s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    .rank-list .list-group-item i {
      color: var(--primary);
      width: 24px;
    }
    .accordion-item {
      background: var(--card-bg);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: var(--radius-md) !important;
      margin-bottom: 16px;
      overflow: hidden;
    }
    .accordion-button {
      background: var(--card-bg);
      color: var(--text-light);
      font-weight: 600;
      box-shadow: none;
    }
    .accordion-button:not(.collapsed) {
      background: rgba(249,115,22,0.1);
      color: var(--primary);
    }
    .accordion-button::after {
      filter: brightness(0) invert(1);
    }
    .tip-icon-list {
      list-style: none;
      padding-left: 0;
    }
    .tip-icon-list li {
      padding: 8px 0;
      border-bottom: 1px dashed rgba(255,255,255,0.1);
    }
    .tip-icon-list i {
      color: var(--primary);
      margin-right: 12px;
    }
    footer {
      background: #0d0a08;
      padding: 3rem 0 2rem;
      border-top: 2px solid rgba(249,115,22,0.4);
    }
    .friend-links {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 2rem;
    }
    .friend-links a {
      color: var(--text-light);
      margin: 0 0.8rem;
      text-decoration: none;
      font-weight: 500;
      opacity: 0.7;
    }
    .friend-links a:hover { opacity: 1; color: var(--primary); }

    /* 弹窗样式 */
    .movie-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(0,0,0,0.75);
      backdrop-filter: blur(12px);
      align-items: center;
      justify-content: center;
    }
    .movie-modal-overlay.active { display: flex; }
    .modal-content-box {
      background: rgba(26,20,16,0.92);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-lg);
      max-width: 600px;
      width: 90%;
      padding: 2rem;
      position: relative;
      color: var(--text-light);
      box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    }
    .modal-close-btn {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 2rem;
      cursor: pointer;
      opacity: 0.7;
      transition: 0.2s;
      background: none;
      border: none;
      color: var(--text-light);
    }
    .modal-close-btn:hover { opacity: 1; transform: rotate(90deg); }
    .modal-title { font-size: 2rem; margin-bottom: 0.8rem; color: var(--accent); }
    .modal-meta span { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 30px; margin-right: 8px; font-size: 0.85rem; }
    .modal-rating { font-size: 2.5rem; color: var(--accent); font-weight: 800; }
    .modal-plot { margin-top: 1rem; opacity: 0.9; }

    /* 动效 */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s, transform 0.7s;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .counter-value { font-weight: 800; }

    .btn-primary-custom {
      background: var(--primary);
      border: none;
      border-radius: 50px;
      color: #1a1410;
      font-weight: 600;
      padding: 10px 24px;
    }
    .btn-primary-custom:hover { background: var(--accent); }

/* --- 子页面追加 --- */
/* 页面专属样式,仅用于 about 页面的特殊布局 */
        .about-hero { padding: 80px 0 40px; position: relative; }
.about-hero .typewriter { font-size: 2.2rem; font-weight: 800; }
.about-section { padding: 40px 0; }
.about-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 24px; box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.05); }
.about-card h3 { color: var(--primary); font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.about-card p { color: var(--text-light); opacity: 0.88; line-height: 1.8; margin-bottom: 12px; }
.about-card .icon-circle { width: 50px; height: 50px; background: rgba(249,115,22,0.15); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about-card .icon-circle i { font-size: 1.3rem; color: var(--primary); }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--text-light); opacity: 0.9; display: flex; align-items: center; gap: 10px; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--accent); font-size: 0.9rem; }
.stats-row { display: flex; flex-wrap: wrap; gap: 20px; margin: 30px 0; }
.stat-item { flex: 1; min-width: 150px; background: rgba(249,115,22,0.08); border: 1px solid rgba(249,115,22,0.2); border-radius: var(--radius-md); padding: 20px 15px; text-align: center; }
.stat-item .counter-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-item p { color: var(--text-light); opacity: 0.7; font-size: 0.9rem; margin-top: 5px; }
.timeline { position: relative; padding-left: 25px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 5px; bottom: 5px; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent)); opacity: 0.4; }
.timeline-item { position: relative; padding: 15px 0 15px 20px; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 22px; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; border: 2px solid var(--bg-deep); box-shadow: 0 0 8px rgba(249,115,22,0.4); }
.timeline-item h4 { color: var(--text-light); font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; }
.timeline-item p { color: var(--text-light); opacity: 0.75; font-size: 0.92rem; line-height: 1.6; }
.timeline-item .date { color: var(--accent); font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; }
.quote-box { background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(250,204,21,0.05)); border-left: 3px solid var(--primary); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 20px 25px; margin: 25px 0; }
.quote-box p { font-style: italic; color: var(--text-light); opacity: 0.9; font-size: 1.05rem; line-height: 1.7; }
.quote-box span { display: block; margin-top: 10px; color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.cta-box { background: linear-gradient(135deg, var(--primary), #d97706); border-radius: var(--radius-lg); padding: 35px 40px; text-align: center; margin: 40px 0; }
.cta-box h3 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.about-hero .typewriter { font-size: 1.6rem; }
.about-card { padding: 20px; }
.stats-row { gap: 12px; }
.stat-item { min-width: 45%; }

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