:root {
  --main: #e50914;
  --accent: #f5c518;
  --bg: #0b0b0f;
  --text: #f5f5f7;
  --card-bg: #141419;
  --card-border: #232328;
  --secondary-text: #9ca3af;
  --radius-card: 14px;
  --radius-btn: 50px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 32px rgba(229, 9, 20, 0.25);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', '思源黑体', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
h1, h2, h3, h4, .font-serif {
  font-family: 'Noto Serif SC', '思源宋体', 'Songti SC', serif;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--main), var(--accent));
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  transition: width 0.1s ease-out;
}

/* Navbar */
.navbar {
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
  z-index: 1000;
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text) !important;
  letter-spacing: 1px;
}
.navbar-brand .brand-icon {
  color: var(--main);
  margin-right: 6px;
}
.navbar-nav .nav-link {
  color: rgba(245, 245, 247, 0.8);
  font-weight: 500;
  margin: 0 4px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.navbar-nav .nav-link.active {
  color: var(--accent);
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(rgba(11, 11, 15, 0.7), rgba(11, 11, 15, 0.85)), url('{随机图片}') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(245, 245, 247, 0.85);
  max-width: 700px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero-badge {
  display: inline-block;
  background: rgba(229, 9, 20, 0.8);
  color: var(--text);
  padding: 6px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Section styles */
.section {
  padding: 50px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  position: relative;
  padding-left: 18px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 26px;
  background: var(--main);
  border-radius: 3px;
}
.section-more {
  color: var(--secondary-text);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.section-more:hover {
  color: var(--accent);
}

/* Rank List (Top) */
.rank-section {
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.03), transparent);
}
.rank-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.rank-item:hover {
  background: #1a1a21;
  transform: translateX(4px);
}
.rank-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bg);
}
.rank-badge.gold {
  background: #FFD700;
}
.rank-badge.silver {
  background: #C0C0C0;
}
.rank-badge.bronze {
  background: #CD7F32;
}
.rank-badge.normal {
  background: #2a2a31;
  color: var(--secondary-text);
}
.rank-info {
  flex: 1;
  min-width: 0;
}
.rank-title {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-meta {
  font-size: 0.78rem;
  color: var(--secondary-text);
}
.rank-score {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: auto;
  padding-left: 10px;
}

/* Movie Cards */
.movie-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
}
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.movie-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #1a1a21;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .movie-poster img {
  transform: scale(1.05);
}
.movie-score {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(245, 197, 24, 0.3);
}
.movie-info {
  padding: 12px 14px 16px;
}
.movie-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.movie-tag {
  font-size: 0.72rem;
  color: var(--secondary-text);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Category filter pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--secondary-text);
  transition: all 0.3s ease;
  cursor: pointer;
}
.pill:hover, .pill.active {
  background: var(--main);
  color: var(--text);
  border-color: var(--main);
}

/* Sidebar layout */
.sidebar-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}
.sidebar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  height: fit-content;
  position: sticky;
  top: 80px;
}
.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}
.sidebar-list {
  list-style: none;
}
.sidebar-list li {
  margin-bottom: 6px;
}
.sidebar-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--secondary-text);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.sidebar-list a:hover {
  background: rgba(229, 9, 20, 0.15);
  color: var(--text);
}

/* Feature steps */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0;
}
.step-item {
  flex: 1;
  min-width: 200px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s;
}
.step-item:hover {
  transform: translateY(-4px);
}
.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--main), #ff4d4d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}
.step-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--secondary-text);
}

/* Topic sections */
.topic-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  height: 100%;
  transition: all 0.3s;
}
.topic-card:hover {
  border-color: rgba(245, 197, 24, 0.4);
  transform: translateY(-4px);
}
.topic-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.topic-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.topic-desc {
  font-size: 0.88rem;
  color: var(--secondary-text);
  line-height: 1.6;
}
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.topic-tag {
  font-size: 0.75rem;
  background: rgba(245, 197, 24, 0.15);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Mood picker */
.mood-section {
  background: rgba(245, 197, 24, 0.05);
  border-radius: var(--radius-card);
  padding: 24px;
  margin: 30px 0;
}
.mood-header {
  text-align: center;
  margin-bottom: 20px;
}
.mood-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.mood-btn {
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}
.mood-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* Footer */
.footer {
  background: #07070b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0 20px;
  margin-top: 50px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-links a {
  color: var(--secondary-text);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copyright {
  text-align: center;
  color: var(--secondary-text);
  font-size: 0.85rem;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Friends links */
.friends-section {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.friends-title {
  text-align: center;
  font-size: 1rem;
  color: var(--secondary-text);
  margin-bottom: 16px;
  font-weight: 600;
}
.friends-content {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Movie modal */
.movie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  overflow-y: auto;
}
.movie-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-backdrop-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: -1;
  filter: blur(12px);
}
.modal-content-wrap {
  background: rgba(20, 20, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  max-width: 680px;
  width: 92%;
  padding: 32px;
  position: relative;
  z-index: 1;
  margin: 40px auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.modal-close:hover {
  background: var(--main);
  transform: rotate(90deg);
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-right: 40px;
}
.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.modal-meta-label {
  color: var(--secondary-text);
  margin-right: 6px;
}
.modal-meta-value {
  color: var(--text);
  font-weight: 500;
}
.modal-rating {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 800;
}
.modal-rating-label {
  font-size: 0.85rem;
  color: var(--secondary-text);
}
.modal-plot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.7;
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.9);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section {
    padding: 30px 0;
  }
  .modal-content-wrap {
    padding: 24px;
    margin: 20px auto;
  }
}

/* Utility */
.text-accent {
  color: var(--accent);
}
.text-main {
  color: var(--main);
}
.btn-movie {
  background: var(--main);
  color: var(--text);
  border: none;
  padding: 8px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: all 0.3s;
}
.btn-movie:hover {
  background: #ff0f1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 9, 20, 0.3);
}

/* --- 子页面追加 --- */
/* 覆盖Bootstrap组件默认白底黑字 —— 本页仅用栅格，但以防万一覆盖 */
        .card, .card-body, .card-header, .card-footer,
        .form-control, .form-select, .accordion-item, .accordion-button,
        .modal-content, .modal-header, .modal-body, .dropdown-menu {
            background-color: var(--card-bg);
            color: var(--text);
            border-color: var(--card-border);
        }
.accordion-button:not(.collapsed) {
            background-color: rgba(229,9,20,0.1);
            color: var(--accent);
        }
.navbar .nav-link {
            color: var(--text) !important;
        }
.navbar .nav-link.active {
            color: var(--main) !important;
            font-weight: 600;
        }
/* 本页专用 */
        .about-hero {
            padding: 120px 0 60px;
            background: radial-gradient(ellipse at 30% 40%, rgba(229,9,20,0.15), transparent 60%);
        }
.about-hero .hero-badge {
            display: inline-block;
            background: rgba(229,9,20,0.15);
            color: var(--accent);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }
.about-section {
            padding: 70px 0;
        }
.about-section .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 20px;
        }
.about-section .section-title i {
            color: var(--main);
            margin-right: 12px;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 30px 28px;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: var(--shadow-card);
        }
.about-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
.about-card i {
            font-size: 2.2rem;
            color: var(--main);
            margin-bottom: 18px;
        }
.about-card h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
.about-card p {
            color: var(--secondary-text);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.about-list {
            list-style: none;
            padding-left: 0;
        }
.about-list li {
            padding: 12px 0;
            border-bottom: 1px dashed var(--card-border);
            color: var(--text);
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.about-list li i {
            color: var(--accent);
            font-size: 1.2rem;
            width: 24px;
            text-align: center;
        }
.about-list li:last-child {
            border-bottom: none;
        }
.big-quote {
            background: linear-gradient(145deg, rgba(229,9,20,0.1), rgba(20,20,25,0.8));
            border-left: 5px solid var(--main);
            border-radius: 8px;
            padding: 30px 30px;
            font-size: 1.2rem;
            color: var(--text);
            font-weight: 400;
            margin: 40px 0;
            line-height: 1.8;
        }
.big-quote strong {
            color: var(--accent);
            font-weight: 700;
        }
.stat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin: 40px 0 20px;
        }
.stat-item {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 20px 15px;
            text-align: center;
        }
.stat-item .num {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--main);
        }
.stat-item .label {
            color: var(--secondary-text);
            font-size: 0.9rem;
            margin-top: 8px;
        }
footer a {
            color: var(--secondary-text);
            text-decoration: none;
        }
footer a:hover {
            color: var(--accent);
        }

/* --- 子页面追加 --- */
/* 保证 Bootstrap 组件不破坏深色风格 —— 但本站只用栅格，因此仅作后备 */
    .disclaimer-section { background: var(--bg); color: var(--text); }
.disclaimer-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 2rem; margin-bottom: 1.5rem; }
.disclaimer-card h2 { color: var(--accent); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; border-left: 4px solid var(--main); padding-left: 1rem; }
.disclaimer-card p, .disclaimer-card li { color: var(--secondary-text); line-height: 1.8; }
.disclaimer-card strong { color: var(--text); }
.disclaimer-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.disclaimer-card a:hover { color: var(--main); }
.list-custom { list-style: none; padding-left: 0; }
.list-custom li { padding-left: 1.5rem; position: relative; margin-bottom: .6rem; }
.list-custom li::before { content: "◆"; color: var(--main); position: absolute; left: 0; font-size: .8rem; top: .2rem; }

/* --- 子页面追加 --- */
/* 保证任何bootstrap组件都跟随暗色主题, 防止白块 */
    .card, .card-body, .card-header, .card-footer,
    .list-group-item, .accordion-item, .accordion-button,
    .modal-content, .form-control, .form-select {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.card-title, .card-text { color: var(--text); }
/* 榜单微调 */
    .rank-hero {
      background: linear-gradient(145deg, rgba(229,9,20,0.12) 0%, rgba(11,11,15,1) 60%);
      border-bottom: 1px solid var(--card-border);
    }
.rank-tab-scroll {
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding-bottom: 0.5rem;
    }
.rank-tab-scroll .badge-tab {
      flex: 0 0 auto;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      color: var(--secondary-text);
      padding: 0.45rem 1.1rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.85rem;
      cursor: default;
    }
.rank-tab-scroll .badge-tab.active {
      background: var(--main);
      color: #fff;
      border-color: var(--main);
    }
.extra-rank-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      transition: transform .25s ease, box-shadow .25s ease;
      height: 100%;
    }
.extra-rank-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
.rank-number {
      font-size: 2.2rem;
      font-weight: 800;
      color: rgba(255,255,255,0.12);
      line-height: 1;
      margin-right: 0.75rem;
      min-width: 2.6rem;
      text-align: center;
    }
.rank-list-item {
      display: flex;
      align-items: center;
      padding: 0.8rem 0.4rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
.rank-list-item:last-child { border-bottom: none; }
.rank-list-meta { font-size: 0.8rem; color: var(--secondary-text); }
.rank-number { font-size: 1.6rem; min-width: 2rem; }

/* --- 子页面追加 --- */
/* 确保bootstrap卡片等组件覆盖为本站配色 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.list-group-item {
      background-color: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
background: linear-gradient(145deg, rgba(11,11,15,.9) 0%, rgba(20,20,25,.98) 100%), url(' {随机图片}
.classic-hero .hero-title {
      font-size: 2.8rem;
      font-weight: 900;
      letter-spacing: -0.02em;
    }
.classic-hero .hero-badge {
      background: var(--accent);
      color: #0b0b0f;
      padding: .3rem 1rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: .85rem;
      display: inline-block;
      margin-bottom: 1.2rem;
    }
.classic-section {
      padding: 3.5rem 0;
      border-bottom: 1px solid var(--card-border);
    }
.classic-section:last-of-type {
      border-bottom: none;
    }
.classic-grid .movie-card {
      transition: transform .25s ease, box-shadow .25s ease;
      height: 100%;
    }
.classic-grid .movie-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }
.classic-quote {
      background: rgba(229,9,20,.08);
      border-left: 4px solid var(--main);
      padding: 1.5rem 2rem;
      border-radius: 0 14px 14px 0;
      margin: 2rem 0;
      font-style: italic;
    }
.classic-quote p {
      margin: 0;
      color: var(--text);
      font-size: 1.1rem;
    }
.classic-quote .quote-author {
      margin-top: .8rem;
      font-style: normal;
      color: var(--secondary-text);
      font-weight: 500;
    }
.rank-mini-list .rank-item {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      padding: 1rem 1.2rem;
      margin-bottom: .8rem;
    }
.rank-mini-list .rank-badge {
      background: var(--accent);
      color: #0b0b0f;
      font-weight: 800;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 12px;
    }
.rank-mini-list .rank-title {
      font-weight: 600;
    }
.rank-mini-list .rank-score {
      color: var(--accent);
      font-weight: 700;
      margin-left: auto;
    }

/* --- 子页面追加 --- */
/* 覆盖Bootstrap组件默认白底，确保与深色站点融合 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
.form-control::placeholder {
      color: rgba(255,255,255,.45) !important;
    }
.nav-link, .navbar-brand {
      color: var(--text) !important;
    }
/* 保持卡片阴影与站点统一 */
    .movie-card, .rank-item, .doc-card {
      box-shadow: var(--shadow-card);
      transition: transform .25s, box-shadow .25s;
    }
.movie-card:hover, .doc-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
/* 纪录片卡片专属 */
    .doc-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      overflow: hidden;
      height: 100%;
    }
.doc-card .doc-poster {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      background: #1e1e24;
    }
.doc-card .doc-body {
      padding: 1rem 1.2rem 1.3rem;
    }
.doc-card .doc-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: .3rem;
      color: var(--text);
      line-height: 1.3;
    }
.doc-card .doc-meta {
      font-size: .85rem;
      color: var(--secondary-text);
      margin-bottom: .6rem;
    }
.doc-card .doc-desc {
      font-size: .9rem;
      color: #c0c4cc;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
/* 精选条目 */
    .doc-feature {
      background: linear-gradient(145deg, rgba(229,9,20,.15), rgba(20,20,25,.7));
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      padding: 1.5rem;
    }
.doc-feature .tag {
      background: var(--main);
      color: white;
      border-radius: 50px;
      padding: .2rem .9rem;
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .5px;
      display: inline-block;
    }
.doc-feature h3 {
      font-weight: 800;
      color: var(--text);
      font-size: 1.8rem;
      margin-top: .6rem;
    }
.doc-feature p {
      color: #c9ccd4;
    }
.doc-feature .btn-doc {
      background: var(--main);
      border: none;
      border-radius: var(--radius-btn);
      color: white;
      padding: .5rem 1.6rem;
      font-weight: 600;
      transition: .2s;
    }
.doc-feature .btn-doc:hover {
      background: #b00610;
    }
/* 排行榜小卡片 */
    .mini-rank {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: .8rem 1rem;
      margin-bottom: .6rem;
    }
.mini-rank .rank-badge {
      background: var(--main);
      color: white;
      border-radius: 8px;
      font-weight: 800;
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
    }
.mini-rank .rank-title {
      font-weight: 600;
      color: var(--text);
    }
.mini-rank .rank-score {
      margin-left: auto;
      color: var(--accent);
      font-weight: 700;
    }

/* --- 子页面追加 --- */
/* 保证Bootstrap组件不影响本站深色风格 */
    .navbar, .navbar-brand, .nav-link, .navbar-toggler {
      background: transparent !important;
      color: var(--text) !important;
    }
.navbar-toggler-icon {
      filter: invert(1);
    }
.navbar-collapse {
      background: rgba(0,0,0,0.2);
      border-radius: 12px;
    }
.navbar-collapse {
        background: transparent;
      }
/* 避免任何卡片白底 */
    .card, .card-body, .card-header, .card-footer {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
/* 列表组 */
    .list-group-item {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
/* 按钮 */
    .btn-outline-danger {
      border-color: var(--main) !important;
      color: var(--main) !important;
    }
.btn-outline-danger:hover {
      background: var(--main) !important;
      color: #fff !important;
    }
/* 链接颜色 */
    a {
      color: var(--accent);
    }
/* 页面主标题特殊处理 */
    .action-hero {
      background: linear-gradient(145deg, rgba(229,9,20,0.15) 0%, rgba(11,11,15,1) 70%);
      border-bottom: 1px solid var(--card-border);
    }
.action-hero h1 {
      font-weight: 900;
      letter-spacing: -0.5px;
    }
.action-badge {
      background: var(--main);
      color: white;
      padding: 4px 12px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 12px;
    }
/* 小标题统一加品牌色下划线 */
    .section-title {
      border-left: 5px solid var(--main);
      padding-left: 15px;
    }
.movie-tags .movie-tag {
      background: rgba(245, 197, 24, 0.1);
      color: var(--accent);
      border-radius: 20px;
      padding: 2px 10px;
      font-size: 0.75rem;
      font-weight: 500;
    }
/* 榜单 */
    .rank-section {
      background: rgba(0,0,0,0.2);
      border-radius: 20px;
      padding: 20px;
    }

/* --- 子页面追加 --- */
/* 浪漫爱情页专属小调整：保持与首页完全一致的卡片风格，仅增加一点暖色点缀 */
    .romance-hero {
      background: linear-gradient(145deg, #141419 0%, #1d1d24 100%);
    }
.romance-tag {
      background: rgba(245, 197, 24, 0.12);
      color: var(--accent);
      border: 1px solid rgba(245, 197, 24, 0.25);
      transition: all 0.2s ease;
    }
.romance-tag:hover {
      background: rgba(245, 197, 24, 0.22);
      border-color: var(--accent);
    }
.heart-beat {
      display: inline-block;
      animation: heartBeat 1.8s infinite ease-in-out;
    }
0%, 100% { transform: scale(1); }
10% { transform: scale(1.15); }
20% { transform: scale(1); }
30% { transform: scale(1.1); }
40% { transform: scale(1); }
/* 覆盖bootstrap可能出现的白底卡片类（防御） */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: var(--card-border) !important;
    }
/* 确保导航文字无白色底 */
    .navbar, .navbar-nav, .nav-link {
      background: transparent !important;
      color: var(--text) !important;
    }

/* --- 子页面追加 --- */
/* 本页专属微调 */
        .hero-section {
            background: linear-gradient(135deg, rgba(229,9,20,0.3) 0%, rgba(11,11,15,0.9) 60%), radial-gradient(circle at 80% 20%, rgba(245,197,24,0.15) 0%, transparent 50%);
            padding: 100px 0 80px;
        }
.sci-fi-hero-badge {
            display: inline-block;
            background: rgba(229,9,20,0.25);
            color: var(--accent);
            border: 1px solid rgba(245,197,24,0.4);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }
.section-divider {
            border-top: 1px solid var(--card-border);
            margin: 60px 0;
        }
.sci-fi-feature-box {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 24px;
            height: 100%;
            transition: all 0.3s ease;
        }
.sci-fi-feature-box:hover {
            border-color: var(--main);
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
.sci-fi-feature-icon {
            font-size: 2rem;
            color: var(--main);
            margin-bottom: 14px;
        }
.sci-fi-feature-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 10px;
        }
.sci-fi-feature-desc {
            color: var(--secondary-text);
            font-size: 0.9rem;
            line-height: 1.6;
        }
.sci-fi-quote {
            background: rgba(229,9,20,0.08);
            border-left: 4px solid var(--main);
            padding: 16px 20px;
            border-radius: 0 10px 10px 0;
            font-style: italic;
            color: var(--text);
            margin: 24px 0;
        }
.sci-fi-list-item {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-card);
            padding: 16px 20px;
            margin-bottom: 12px;
            transition: border-color 0.2s;
        }
.sci-fi-list-item:hover {
            border-color: var(--accent);
        }
.sci-fi-list-title {
            font-weight: 700;
            color: var(--text);
            font-size: 0.95rem;
        }
.sci-fi-list-desc {
            color: var(--secondary-text);
            font-size: 0.85rem;
            line-height: 1.5;
            margin-top: 4px;
        }
.sci-fi-list-year {
            color: var(--accent);
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
        }