:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f4f8ff;
  --text: #0f1e3d;
  --card-bg: #ffffff;
  --shadow-light: 0 4px 20px rgba(37, 99, 235, 0.08);
  --shadow-hover: 0 12px 30px rgba(37, 99, 235, 0.18);
  --radius-card: 16px;
  --radius-btn: 50px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, .brand-font {
  font-family: 'Inter', 'Comic Sans MS', 'Chalkboard SE', 'PingFang SC', cursive;
  font-weight: 800;
  letter-spacing: 0.5px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* 导航栏 */
.navbar-custom {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37,99,235,0.1);
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand i { color: var(--accent); font-size: 26px; }
.nav-link {
  font-weight: 600;
  color: var(--text) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-btn);
  transition: all 0.3s;
  font-size: 14px;
}
.nav-link:hover {
  background: rgba(37,99,235,0.08);
  color: var(--primary) !important;
}
.navbar-toggler {
  border: none;
  font-size: 22px;
  color: var(--primary);
}
.navbar-toggler:focus { box-shadow: none; }

/* Hero 打字机 */
.hero-section {
  background: linear-gradient(135deg, #e8f0fe 0%, #f4f8ff 50%, #e0f2fe 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  display: inline-block;
  min-height: 1.2em;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 16px;
  color: rgba(15,30,61,0.7);
  max-width: 600px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(6,182,212,0.15);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.typing-cursor {
  display: inline-block;
  width: 3px;
  background: var(--primary);
  animation: blink 0.8s infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* 区块通用 */
.section-block {
  padding: 50px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  position: relative;
  padding-left: 16px;
  display: flex;
  align-items: center;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px;
}
.section-title i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 20px;
}
.view-all {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  background: rgba(37,99,235,0.08);
  transition: all 0.3s;
}
.view-all:hover {
  background: var(--primary);
  color: #fff;
}

/* 横向滚动海报区 */
.hscroll-wrap {
  overflow-x: auto;
  padding: 10px 0 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}
.hscroll-wrap::-webkit-scrollbar {
  height: 5px;
}
.hscroll-wrap::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}
.hscroll-row {
  display: flex;
  gap: 16px;
  padding-bottom: 10px;
  min-width: max-content;
}

/* 海报卡片 */
.movie-card {
  width: 180px;
  flex-shrink: 0;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(37,99,235,0.05);
}
.movie-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-hover);
}
.movie-poster {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff, #e0f2fe);
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.movie-card:hover .movie-poster img {
  transform: scale(1.08);
}
.quality-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.quality-badge.hd { background: rgba(37,99,235,0.9); }
.quality-badge.uhd { background: rgba(6,182,212,0.9); }
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,30,61,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.movie-card:hover .play-overlay {
  opacity: 1;
}
.play-btn-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.3s;
}
.movie-card:hover .play-btn-icon {
  transform: scale(1);
}
.movie-info {
  padding: 10px 12px;
}
.movie-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.movie-meta {
  font-size: 12px;
  color: rgba(15,30,61,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.movie-rating {
  color: #f59e0b;
  font-weight: 700;
}

/* 排行榜置顶 */
.rank-section {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}
.rank-list {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(15,30,61,0.05);
  transition: background 0.2s;
  border-radius: 10px;
  cursor: pointer;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: rgba(37,99,235,0.03); }
.rank-num {
  width: 30px;
  height: 30px;
  background: rgba(37,99,235,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  margin-right: 12px;
  font-size: 14px;
  flex-shrink: 0;
}
.rank-item:nth-child(1) .rank-num { background: #f59e0b; color: #fff; }
.rank-item:nth-child(2) .rank-num { background: #94a3b8; color: #fff; }
.rank-item:nth-child(3) .rank-num { background: #d97706; color: #fff; }
.rank-thumb {
  width: 50px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 12px;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; overflow: hidden; }
.rank-name {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-desc {
  font-size: 12px;
  color: rgba(15,30,61,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.rank-score {
  font-weight: 800;
  color: #f59e0b;
  margin-left: auto;
  padding-left: 12px;
  font-size: 16px;
  flex-shrink: 0;
}

/* 分类筛选 */
.filter-section {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-light);
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.filter-tab {
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.filter-tab:hover { background: rgba(37,99,235,0.1); }
.filter-tab.active {
  background: var(--primary);
  color: #fff;
}

/* 对比表格 */
.compare-table-wrap {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-light);
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(15,30,61,0.05);
  font-size: 14px;
}
.compare-table th {
  background: var(--bg);
  color: var(--primary);
  font-weight: 700;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .feature-icon {
  color: var(--accent);
  margin-right: 6px;
}
.compare-table .highlight {
  background: rgba(6,182,212,0.06);
  font-weight: 600;
}

/* 编号清单 */
.steps-list {
  counter-reset: step;
  padding: 0;
  list-style: none;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 50px;
  border-bottom: 1px solid rgba(15,30,61,0.05);
  font-size: 14px;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

/* 标签 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mood-tag {
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  background: #fff;
  border: 2px solid rgba(37,99,235,0.15);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text);
}
.mood-tag:hover, .mood-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.mood-tag i { margin-right: 6px; }

/* 友情链接 */
.friend-links {
  background: #fff;
  padding: 30px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(15,30,61,0.05);
}
.friend-links-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
}
.friend-links-title i { color: var(--primary); margin-right: 8px; }
.friend-links-content {
  font-size: 14px;
  color: rgba(15,30,61,0.7);
  line-height: 2;
}

/* 页脚 */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 20px;
}
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.footer-brand i { color: var(--accent); margin-right: 8px; }
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
}

/* 回到顶部 */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s;
  cursor: pointer;
  z-index: 999;
  border: none;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* 滚动出现动画 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 详情弹窗 */
.movie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,30,61,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.movie-modal.show {
  display: flex;
}
.modal-card {
  background: #fff;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: modalIn 0.3s;
}
@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(15,30,61,0.08);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--text);
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--primary);
  color: #fff;
}
.modal-content-wrap {
  display: flex;
  flex-direction: column;
}
@media (min-width: 576px) {
  .modal-content-wrap {
    flex-direction: row;
  }
}
.modal-poster {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
@media (min-width: 576px) {
  .modal-poster {
    width: 260px;
    max-height: none;
    border-radius: 20px 0 0 20px;
    flex-shrink: 0;
  }
}
.modal-info {
  padding: 24px;
  flex: 1;
}
.modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.modal-tag {
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.modal-plot {
  font-size: 14px;
  color: rgba(15,30,61,0.8);
  margin-bottom: 15px;
  line-height: 1.8;
}
.modal-actors {
  font-size: 13px;
  color: rgba(15,30,61,0.6);
  margin-bottom: 15px;
}
.modal-score {
  font-size: 18px;
  color: #f59e0b;
  font-weight: 800;
  margin-bottom: 10px;
}
.modal-director {
  font-size: 13px;
  color: rgba(15,30,61,0.6);
  margin-bottom: 5px;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 18px; }
  .movie-card { width: 150px; }
  .rank-thumb { width: 40px; height: 54px; }
  .rank-name { font-size: 13px; }
  .rank-score { font-size: 14px; }
  .footer-bottom { font-size: 12px; }
}

/* --- 子页面追加 --- */
.about-hero { padding: 100px 0 60px; background: linear-gradient(135deg, var(--bg) 0%, #e8f0fe 100%); }
.about-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.about-hero p { color: #4a5a7a; font-size: 1.15rem; max-width: 700px; }
.about-section { padding: 70px 0; }
.about-section .section-title { margin-bottom: 30px; }
.about-card { background: var(--card-bg); border-radius: var(--radius-card); box-shadow: var(--shadow-light); padding: 35px; height: 100%; transition: all 0.3s ease; border: 1px solid rgba(37, 99, 235, 0.06); }
.about-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.about-card .icon-wrap { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.about-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.about-card p { color: #5a6a85; line-height: 1.8; font-size: 0.95rem; margin-bottom: 0; }
.icon-blue { background: rgba(37, 99, 235, 0.12); color: var(--primary); }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent); }
.icon-green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.about-feature-list { list-style: none; padding: 0; }
.about-feature-list li { padding: 10px 0; border-bottom: 1px solid rgba(37, 99, 235, 0.08); display: flex; align-items: center; gap: 10px; color: #4a5a7a; }
.about-feature-list li:last-child { border-bottom: none; }
.about-feature-list li i { color: var(--primary); font-size: 14px; width: 20px; text-align: center; }
.stat-card { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius-card); padding: 30px 20px; text-align: center; color: #fff; height: 100%; }
.stat-card .num { font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.stat-card .label { font-size: 0.9rem; opacity: 0.9; margin-top: 6px; }
.about-cta { background: var(--card-bg); border-radius: var(--radius-card); box-shadow: var(--shadow-light); padding: 50px; text-align: center; }
.about-cta h2 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 15px; }
.about-cta p { color: #5a6a85; max-width: 600px; margin: 0 auto 30px; }
.btn-primary-custom { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border: none; padding: 12px 32px; border-radius: var(--radius-btn); font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.3s ease; }
.btn-primary-custom:hover { background: #1d4ed8; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3); }
.about-meta { font-size: 0.9rem; color: #6b7a99; }
.about-meta i { margin-right: 5px; }
.navbar-nav .nav-link.active { color: var(--primary); font-weight: 600; }
.about-hero h1 { font-size: 1.9rem; }
.about-card { padding: 25px; }
.stat-card .num { font-size: 1.6rem; }
.about-cta { padding: 30px 20px; }

/* --- 子页面追加 --- */
/* 本页专属少量样式 */
    .page-hero {
      padding: 80px 0 40px;
      background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.06) 100%);
    }
.movie-tag {
      display: inline-block;
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      background: var(--primary);
      color: #fff;
      margin-right: 8px;
      margin-bottom: 8px;
    }
.movie-tag:hover {
      background: var(--accent);
      color: #fff;
      text-decoration: none;
    }
.movie-cat-title {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 24px;
      position: relative;
      padding-left: 18px;
    }
.movie-cat-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 28px;
      border-radius: 4px;
      background: linear-gradient(180deg, var(--primary), var(--accent));
    }
.movie-filter-bar {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 20px 24px;
      box-shadow: var(--shadow-light);
      margin-bottom: 40px;
    }
.movie-filter-bar .filter-label {
      font-weight: 600;
      color: var(--text);
      margin-right: 12px;
    }
.movie-filter-bar .filter-tag {
      display: inline-block;
      padding: 6px 16px;
      border-radius: 30px;
      font-size: 0.85rem;
      color: var(--text);
      background: var(--bg);
      margin-right: 8px;
      margin-bottom: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1px solid transparent;
    }
.movie-filter-bar .filter-tag:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
.movie-filter-bar .filter-tag.active {
      background: var(--primary);
      color: #fff;
    }
.movie-count-info {
      font-size: 0.95rem;
      color: rgba(15,30,61,0.7);
      margin-bottom: 24px;
    }
.movie-count-info strong {
      color: var(--primary);
      font-weight: 700;
    }
.no-more-movies {
      text-align: center;
      padding: 60px 0;
      color: rgba(15,30,61,0.5);
      font-size: 1rem;
    }
.load-more-wrap {
      text-align: center;
      margin: 40px 0 20px;
    }
.btn-load-more {
      display: inline-block;
      padding: 12px 40px;
      border-radius: var(--radius-btn);
      background: var(--primary);
      color: #fff;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-light);
    }
.btn-load-more:hover {
      background: var(--accent);
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }
.page-hero { padding: 60px 0 30px; }
.movie-cat-title { font-size: 1.3rem; }
.movie-filter-bar { padding: 16px; }

/* --- 子页面追加 --- */
/* 本页专属微调，与站点风格保持一致 */
        .tv-hero {
            background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(6,182,212,.1));
            border-bottom: 1px solid rgba(37,99,235,.15);
        }
.section-subtitle {
            font-weight: 500;
            color: var(--accent);
            letter-spacing: .3px;
        }
.genre-pill {
            background: var(--card-bg);
            border: 1px solid rgba(37,99,235,.15);
            border-radius: 50px;
            padding: .35rem 1rem;
            font-size: .85rem;
            font-weight: 500;
            color: var(--text);
            transition: .2s;
        }
.genre-pill:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.tv-card .movie-poster {
            background: linear-gradient(145deg, #e2e9f8, #d0dcf0);
        }
.tv-card .quality-badge {
            background: rgba(255,255,255,.9);
            color: #0f1e3d;
            font-weight: 600;
        }
.episode-badge {
            background: var(--primary);
            color: #fff;
            font-size: .7rem;
            padding: .15rem .6rem;
            border-radius: 30px;
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 2;
            font-weight: 600;
            letter-spacing: .3px;
        }
.ranking-tag {
            background: var(--accent);
            color: #fff;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: .85rem;
            margin-right: 8px;
        }
.btn-outline-brand {
            border: 1px solid var(--primary);
            color: var(--primary);
            border-radius: 50px;
            padding: .5rem 1.8rem;
            font-weight: 500;
            background: transparent;
            transition: .2s;
        }
.btn-outline-brand:hover {
            background: var(--primary);
            color: #fff;
        }

/* --- 子页面追加 --- */
.variety-hero {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius-card);
            padding: 3rem 2rem;
            color: #fff;
            margin-bottom: 2.5rem;
            position: relative;
            overflow: hidden;
        }
.variety-hero::after {
            content: "🎭";
            position: absolute;
            right: 3%;
            bottom: -20%;
            font-size: 12rem;
            opacity: 0.08;
            transform: rotate(-15deg);
        }
.variety-badge {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(4px);
            padding: 0.4rem 1.2rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 1px;
            display: inline-block;
            margin-bottom: 1rem;
            border: 1px solid rgba(255,255,255,0.3);
        }
.variety-feature-card {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            padding: 2rem 1.5rem;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid rgba(37, 99, 235, 0.08);
        }
.variety-feature-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-5px);
        }
.variety-feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.2rem;
        }
.list-group-variety {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            padding: 1.5rem;
            box-shadow: var(--shadow-light);
        }
.list-group-variety .list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.9rem 0.5rem;
            border-bottom: 1px solid rgba(37, 99, 235, 0.08);
            color: var(--text);
            text-decoration: none;
            transition: background 0.2s;
            border-radius: 8px;
        }
.list-group-variety .list-item:last-child {
            border-bottom: none;
        }
.list-group-variety .list-item:hover {
            background: rgba(37, 99, 235, 0.04);
        }
.list-group-variety .list-item .rank-num {
            font-weight: 800;
            color: var(--primary);
            margin-right: 1rem;
            font-size: 1.1rem;
        }
.list-group-variety .list-item .item-title {
            flex: 1;
            font-weight: 600;
        }
.list-group-variety .list-item .item-rating {
            background: var(--primary);
            color: #fff;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
        }
.section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary);
            border-radius: 4px;
        }
.small-nav-link {
            color: var(--text);
            opacity: 0.8;
            transition: 0.2s;
        }
.small-nav-link:hover {
            color: var(--primary);
            opacity: 1;
        }
.variety-hero {
                padding: 2rem 1.5rem;
            }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件色系贴合站点 — 但本页尽量少用组件类，用自定义 */
    .anime-hero {
      background: linear-gradient(145deg, rgba(37,99,235,.06), rgba(6,182,212,.06));
      border-radius: var(--radius-card);
      padding: 2.5rem 1.5rem;
      margin-bottom: 2.2rem;
      border: 1px solid rgba(37,99,235,.12);
    }
.anime-hero .hero-badge {
      background: rgba(37,99,235,.1);
      color: var(--primary);
      padding: .35rem 1.2rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: .9rem;
      display: inline-block;
      margin-bottom: 1rem;
      letter-spacing: .5px;
    }
.anime-section-title {
      font-weight: 800;
      color: var(--text);
      border-left: 6px solid var(--primary);
      padding-left: 1rem;
      margin: 2rem 0 1.5rem;
      font-size: 1.7rem;
    }
.anime-section-title i {
      color: var(--accent);
      margin-right: .5rem;
    }
.movie-card .movie-poster {
      border-radius: var(--radius-card);
      transition: transform .2s ease;
    }
.movie-card:hover .movie-poster {
      transform: scale(1.02);
    }
.tag-chip {
      background: rgba(37,99,235,.08);
      color: var(--primary);
      border-radius: 50px;
      padding: .25rem 1rem;
      font-size: .8rem;
      font-weight: 600;
      display: inline-block;
      margin-right: .6rem;
    }
.anime-desc {
      background: rgba(255,255,255,.7);
      border-radius: var(--radius-card);
      padding: 1.2rem 1.5rem;
      border: 1px solid rgba(37,99,235,.1);
      backdrop-filter: blur(4px);
    }
.btn-outline-anime {
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: 50px;
      padding: .4rem 1.5rem;
      font-weight: 600;
      background: transparent;
      transition: all .2s;
    }
.btn-outline-anime:hover {
      background: var(--primary);
      color: #fff;
    }
/* 卡片覆盖（若使用.card，确保背景/文字） */
    .card, .card-body {
      background: var(--card-bg);
      color: var(--text);
      border-color: rgba(37,99,235,.15);
    }
.list-group-item {
      background: var(--card-bg);
      color: var(--text);
      border-color: rgba(37,99,235,.1);
    }

/* --- 子页面追加 --- */
.doc-hero {
            background: linear-gradient(135deg, #0f1e3d 0%, #1a2d5c 50%, #2563eb 100%);
            padding: 80px 0 60px;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
.doc-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }
.doc-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 16px;
            position: relative;
            z-index: 2;
        }
.doc-hero p {
            font-size: 1.15rem;
            opacity: 0.85;
            max-width: 700px;
            position: relative;
            z-index: 2;
        }
.doc-section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
            position: relative;
            padding-bottom: 10px;
        }
.doc-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }
.doc-category-tag {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 8px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary);
        }
.doc-category-tag:hover, .doc-category-tag.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.doc-feature-card {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            padding: 24px;
            box-shadow: var(--shadow-light);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            border: 1px solid rgba(37, 99, 235, 0.05);
        }
.doc-feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }
.doc-feature-card .icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 14px;
        }
.doc-feature-card h4 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 10px;
        }
.doc-feature-card p {
            color: #5a6b8c;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0;
        }
.doc-tip-box {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.06));
            border-radius: var(--radius-card);
            padding: 20px 24px;
            border-left: 4px solid var(--primary);
            margin: 30px 0;
        }
.doc-tip-box i {
            color: var(--primary);
            margin-right: 8px;
        }
.doc-stat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.doc-stat-item {
            text-align: center;
            padding: 20px;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-light);
        }
.doc-stat-item .num {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
.doc-stat-item .label {
            font-size: 0.85rem;
            color: #5a6b8c;
            margin-top: 6px;
        }

/* --- 子页面追加 --- */
/* 经典页特有修饰，沿用 CSS 变量，确保风格统一 */
    .classic-hero {
      background: linear-gradient(145deg, var(--bg) 0%, #e9f0fe 100%);
      border-bottom: 1px solid rgba(37,99,235,0.12);
    }
.classic-hero .hero-title {
      font-weight: 900;
      letter-spacing: -0.02em;
    }
.era-chip {
      display: inline-block;
      background: rgba(37,99,235,0.06);
      color: var(--primary);
      border: 1px solid rgba(37,99,235,0.2);
      border-radius: 30px;
      padding: 0.3rem 1rem;
      font-size: 0.85rem;
      font-weight: 500;
      margin-right: 0.5rem;
      margin-bottom: 0.5rem;
    }
.classic-section-title {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }
.classic-section-title i {
      color: var(--primary);
      font-size: 1.6rem;
    }
.film-strip-item {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-light);
      transition: transform 0.25s ease, box-shadow 0.3s;
      height: 100%;
    }
.film-strip-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
.film-strip-poster {
      border-radius: var(--radius-card) var(--radius-card) 0 0;
      background: #dbe4f5;
      position: relative;
      overflow: hidden;
    }
.film-strip-poster img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }
.film-strip-body {
      padding: 1.25rem 1rem 1rem;
    }
.classic-tag {
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
.classic-title {
      font-weight: 700;
      font-size: 1.1rem;
      margin: 0.4rem 0 0.2rem;
      color: var(--text);
    }
.classic-desc {
      color: #4a5b7a;
      font-size: 0.9rem;
      line-height: 1.5;
    }
.classic-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.8rem;
      font-size: 0.85rem;
      color: #6b7d9e;
    }
.classic-meta i {
      color: var(--primary);
      width: 16px;
    }
.nav-link.active-classic {
      color: var(--primary) !important;
      font-weight: 600;
    }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件配色与本站一致 —— 这里几乎不用 Bootstrap 组件类，仅栅格与间距 */
    /* 自定义组件样式，遵循站点配色变量 */
    .disclaimer-hero {
      background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
      border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    }
.disclaimer-title {
      color: var(--text, #0f1e3d);
      font-weight: 800;
    }
.disclaimer-badge {
      background: var(--primary, #2563eb);
      color: #fff;
      padding: 0.4rem 1rem;
      border-radius: 50px;
      font-size: 0.85rem;
      display: inline-block;
      margin-bottom: 1rem;
    }
.legal-card {
      background: var(--card-bg, #ffffff);
      border-radius: var(--radius-card, 16px);
      box-shadow: var(--shadow-light, 0 4px 20px rgba(37, 99, 235, 0.08));
      padding: 2rem 1.8rem;
      margin-bottom: 1.8rem;
      border: 1px solid rgba(37, 99, 235, 0.06);
      transition: box-shadow 0.3s ease;
    }
.legal-card:hover {
      box-shadow: var(--shadow-hover, 0 12px 30px rgba(37, 99, 235, 0.18));
    }
.legal-card h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text, #0f1e3d);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
.legal-card h2 i {
      color: var(--primary, #2563eb);
    }
.legal-card p, .legal-card li {
      color: rgba(15, 30, 61, 0.85);
      font-size: 0.98rem;
      line-height: 1.75;
    }
.legal-card ul {
      padding-left: 1.2rem;
    }
.legal-card li {
      margin-bottom: 0.5rem;
    }
.highlight-legal {
      background: rgba(6, 182, 212, 0.08);
      border-left: 4px solid var(--accent, #06b6d4);
      padding: 1rem 1.2rem;
      border-radius: 8px;
      margin-top: 1.5rem;
    }
.footer-link {
      color: rgba(15, 30, 61, 0.7);
      text-decoration: none;
      transition: color 0.2s;
    }
.footer-link:hover {
      color: var(--primary, #2563eb);
    }
/* 覆盖 Bootstrap 默认白底——实际上这里几乎不使用组件类，但以防万一 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
    .form-control, .form-select, .form-label, .input-group-text,
    .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
    .nav-link, .navbar, .navbar-brand, .btn-light, .btn-outline-* {
      background: transparent;
      color: inherit;
      border-color: inherit;
    }