:root {
  --primary: #dc2626;
  --accent: #fb923c;
  --bg: #141013;
  --text: #fef2f2;
  --card-bg: #1f1a1e;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,0.45);
  --font-head: 'Noto Serif SC', 'Inter', serif;
  --font-body: 'Noto Sans SC', 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .serif-font {
  font-family: var(--font-head);
  font-weight: 900;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

/* 导航栏 */
.navbar {
  background: rgba(20, 16, 19, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(252, 146, 60, 0.15);
  padding: 14px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(20, 16, 19, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 8px 0;
}

.navbar-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}

.navbar-brand i {
  color: var(--accent);
  font-size: 1.8rem;
}

.navbar-brand span {
  color: var(--primary);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar-nav .nav-link {
  color: rgba(254, 242, 242, 0.85) !important;
  font-weight: 500;
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
  background: rgba(220, 38, 38, 0.12);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(220, 38, 38, 0.18);
}

/* Hero Banner 区域 */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(220, 38, 38, 0.15) 0%, transparent 70%), linear-gradient(135deg, #1a0e0e 0%, #141013 50%, #1f1215 100%);
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-content {
  text-align: center;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 146, 60, 0.15);
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: var(--accent);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(254, 242, 242, 0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-custom {
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), #ef4444);
  color: white;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
  color: white;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid rgba(254, 242, 242, 0.3);
  color: var(--text);
}

.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* 打字机光标 */
.typewriter::after {
  content: '|';
  animation: blink 0.8s infinite;
  color: var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 区块通用样式 */
.section-block {
  padding: 90px 0;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 5px;
  color: var(--text);
  letter-spacing: 1px;
}

.section-subtitle {
  color: rgba(254, 242, 242, 0.5);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin-top: 12px;
}

.view-all {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.view-all:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 分类导航胶囊 */
.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
}

.category-pill {
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.category-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.category-pill i {
  color: var(--accent);
}

/* 影片海报卡片 */
.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(220, 38, 38, 0.15);
  border-color: rgba(251, 146, 60, 0.3);
}

.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(145deg, #2a1a1e, #1a1114);
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.1);
}

.movie-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--primary), #ef4444);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
}

.movie-quality {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
  border: 1px solid rgba(251, 146, 60, 0.4);
}

.movie-rating {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.movie-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(220, 38, 38, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.movie-card:hover .movie-play-btn {
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  padding: 16px;
}

.movie-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-head);
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  color: rgba(254, 242, 242, 0.5);
  font-size: 0.8rem;
}

/* 横向滑动区域 */
.h-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 5px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  scroll-behavior: smooth;
}

.h-scroll::-webkit-scrollbar {
  height: 6px;
}

.h-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.h-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
}

.h-scroll .movie-card {
  flex: 0 0 220px;
  min-width: 220px;
}

/* 排行榜区块 */
.ranking-container {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.05), rgba(251, 146, 60, 0.03));
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card-bg);
  padding: 16px 24px;
  border-radius: 14px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
  cursor: pointer;
}

.ranking-item:hover {
  background: rgba(220, 38, 38, 0.12);
  border-left-color: var(--accent);
  transform: translateX(8px);
}

.ranking-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-head);
  width: 50px;
  text-align: center;
}

.ranking-number.top-1 {
  color: #fbbf24;
  font-size: 2rem;
}

.ranking-number.top-2 {
  color: #94a3b8;
}

.ranking-number.top-3 {
  color: #b45309;
}

.ranking-title {
  font-weight: 600;
  flex: 1;
  font-size: 1rem;
}

.ranking-score {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ranking-tag {
  background: rgba(251, 146, 60, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--accent);
}

/* 对比表格 */
.comparison-table {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table table {
  margin: 0;
  color: var(--text);
}

.comparison-table th {
  background: rgba(220, 38, 38, 0.15);
  padding: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-head);
}

.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(254, 242, 242, 0.8);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .fa-check {
  color: #22c55e;
}

.comparison-table .fa-xmark {
  color: var(--primary);
}

/* 编号清单 */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  min-width: 55px;
}

.steps-list h5 {
  font-weight: 700;
  margin-bottom: 8px;
}

.steps-list p {
  color: rgba(254, 242, 242, 0.6);
  font-size: 0.9rem;
}

/* 专题区块 */
.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-color: rgba(251, 146, 60, 0.3);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p {
  color: rgba(254, 242, 242, 0.6);
  font-size: 0.9rem;
}

/* 心情标签 */
.mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mood-tag {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.mood-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(251, 146, 60, 0.1);
}

/* 友情链接 */
.friend-links {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
}

.friend-links h5 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.1rem;
}

/* 页脚 */
.footer {
  background: linear-gradient(180deg, #100b0e, #0d090c);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(254, 242, 242, 0.6);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 50px;
  padding-top: 25px;
  color: rgba(254, 242, 242, 0.4);
  font-size: 0.85rem;
}

/* 底部抽屉弹窗 */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: #1c1418;
  border-radius: 24px 24px 0 0;
  z-index: 1051;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(251, 146, 60, 0.2);
  overflow-y: auto;
}

.drawer-panel.active {
  transform: translateY(0);
}

.drawer-close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.drawer-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.drawer-content {
  padding: 35px 30px 40px;
}

.drawer-poster {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.drawer-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 15px;
  font-family: var(--font-head);
}

.drawer-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.drawer-info-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 10px;
}

.drawer-info-label {
  color: rgba(254, 242, 242, 0.5);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 4px;
}

.drawer-info-value {
  font-weight: 600;
  color: var(--accent);
}

.drawer-plot {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 14px;
  border-left: 3px solid var(--primary);
  margin-bottom: 20px;
}

.drawer-plot p {
  margin: 0;
  color: rgba(254, 242, 242, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

.drawer-actors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.actor-tag {
  background: rgba(251, 146, 60, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent);
}

/* 数字滚动动画 */
.counter {
  font-family: var(--font-head);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .navbar-brand {
    font-size: 1.1rem;
  }
  .h-scroll .movie-card {
    flex: 0 0 170px;
    min-width: 170px;
  }
  .ranking-container {
    padding: 20px;
  }
  .ranking-item {
    padding: 12px 16px;
    gap: 12px;
  }
  .ranking-number {
    font-size: 1.2rem;
    width: 35px;
  }
  .drawer-title {
    font-size: 1.3rem;
  }
  .drawer-info-grid {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    font-size: 0.75rem;
  }
}

/* --- 子页面追加 --- */
/* 确保任何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-color: var(--card-bg) !important;
      color: var(--text) !important;
      border-color: #3a2a32 !important;
    }
/* 修正navbar背景 */
    .navbar, .navbar-brand, .navbar-nav .nav-link {
      background-color: transparent !important;
      color: var(--text) !important;
    }
.navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
      color: var(--accent) !important;
    }
/* 占位/卡片等微调 */
    .about-hero {
      padding: 3.5rem 0 2rem 0;
      border-bottom: 1px solid rgba(251,146,60,0.15);
    }
.about-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 1.8rem 1.5rem;
      box-shadow: var(--shadow);
      height: 100%;
      transition: transform .2s ease, box-shadow .2s ease;
      border: 1px solid rgba(251,146,60,0.08);
    }
.about-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.6);
      border-color: rgba(251,146,60,0.25);
    }
.about-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 1rem;
    }
.about-card h3 {
      font-family: var(--font-head);
      color: var(--text);
      font-weight: 600;
      letter-spacing: .5px;
    }
.about-card p {
      color: rgba(254,242,242,0.7);
      font-size: 0.95rem;
      line-height: 1.7;
    }
.story-block {
      background: rgba(220,38,38,0.03);
      border-left: 4px solid var(--accent);
      padding: 1.8rem 2rem;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 2rem 0;
    }
.story-block p {
      color: var(--text);
      opacity: 0.85;
      font-size: 1rem;
    }
.section-gap {
      padding: 4rem 0;
    }
.badge-糖心 {
      background: rgba(251,146,60,0.15);
      color: var(--accent);
      border-radius: 30px;
      padding: 0.4rem 1rem;
      font-size: 0.8rem;
      letter-spacing: .3px;
      display: inline-block;
      margin-bottom: 1.2rem;
    }
/* 页脚跟随站点 */
    .footer-links a {
      color: rgba(254,242,242,0.7);
      text-decoration: none;
      margin-right: 1.5rem;
      transition: color .2s;
    }

/* --- 子页面追加 --- */
/* 本页专属补充样式 —— 覆盖 Bootstrap 组件默认白底 */
    .guide-card, .guide-card-body { background: var(--card-bg); color: var(--text); border-color: rgba(220,38,38,0.15); }
.guide-card { border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.3s ease; }
.guide-card:hover { transform: translateY(-4px); }
.guide-step-number { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.guide-tip-box { background: rgba(251,146,60,0.08); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.guide-section-icon { color: var(--primary); margin-right: 10px; }
.guide-table { color: var(--text); border-color: rgba(255,255,255,0.1); }
.guide-table th { background: rgba(220,38,38,0.15); color: var(--text); border-color: rgba(255,255,255,0.1); }
.guide-table td { border-color: rgba(255,255,255,0.08); }
.guide-table tr:hover td { background: rgba(220,38,38,0.06); }
.guide-list-item { background: var(--card-bg); color: var(--text); border-color: rgba(255,255,255,0.06); }
.guide-list-item:hover { background: rgba(220,38,38,0.08); }
.guide-link { color: var(--accent); text-decoration: none; }
.guide-link:hover { color: var(--primary); text-decoration: underline; }
.guide-badge { background: rgba(220,38,38,0.2); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; }
.guide-badge-light { background: rgba(251,146,60,0.15); color: #fdba74; }

/* --- 子页面追加 --- */
/* 页面专属微调 —— 仅补充本站已有类之外的细节，保持视觉统一 */
    .hot-hero {
      background: linear-gradient(145deg, var(--bg) 0%, #2a1518 100%);
      border-bottom: 1px solid rgba(220, 38, 38, .2);
    }
.hot-hero .hero-title {
      color: var(--text);
      text-shadow: 0 0 25px rgba(220,38,38,.2);
    }
.filter-bar {
      background: rgba(31,26,30,.7);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(220,38,38,.15);
      border-radius: 60px;
      padding: 8px 16px;
    }
.filter-bar .category-pill {
      background: transparent;
      border: 1px solid rgba(251,146,60,.3);
      color: var(--text);
      transition: all .2s;
    }
.filter-bar .category-pill:hover,
    .filter-bar .category-pill.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
    }
.movie-card .movie-poster {
      border-radius: calc(var(--radius) - 4px);
    }
.section-tag {
      color: var(--accent);
      font-weight: 500;
      letter-spacing: .3px;
    }
.empty-tip {
      color: rgba(254,242,242,.6);
      font-size: .9rem;
    }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .ranking-hero {
            background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(251,146,60,.1) 100%);
            padding: 60px 0;
            margin-bottom: 40px;
        }
.ranking-table-wrap {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(220,38,38,.15);
        }
.ranking-num {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            margin-right: 16px;
            flex-shrink: 0;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
        }
.ranking-num.top-1 {
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            font-size: 1.4rem;
            box-shadow: 0 4px 16px rgba(251,191,36,.3);
        }
.ranking-num.top-2 {
            background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
        }
.ranking-num.top-3 {
            background: linear-gradient(135deg, #cd7f32, #b87333);
        }
.ranking-info {
            flex: 1;
            min-width: 0;
        }
.ranking-meta {
            font-size: .85rem;
            color: rgba(254,242,242,.6);
        }
.filter-pill {
            padding: 8px 20px;
            border-radius: 30px;
            background: var(--card-bg);
            color: var(--text);
            border: 1px solid rgba(255,255,255,.1);
            cursor: pointer;
            transition: all .3s ease;
            font-size: .9rem;
        }
.filter-pill:hover,
        .filter-pill.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
.ranking-badge {
            background: rgba(220,38,38,.2);
            border: 1px solid var(--primary);
            color: var(--accent);
            padding: 2px 12px;
            border-radius: 20px;
            font-size: .75rem;
        }
.update-note {
            background: rgba(251,146,60,.1);
            border: 1px solid rgba(251,146,60,.2);
            padding: 12px 20px;
            border-radius: var(--radius);
            color: var(--text);
            font-size: .9rem;
            margin-bottom: 30px;
        }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .new-hero {
            background: linear-gradient(135deg, rgba(20,16,19,0.9) 0%, rgba(220,38,38,0.3) 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid rgba(220,38,38,0.2);
        }
.new-hero .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(220,38,38,0.15);
            border: 1px solid rgba(220,38,38,0.3);
            color: var(--accent);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 20px;
        }
.new-hero h1 {
            font-family: var(--font-head);
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
            line-height: 1.3;
        }
.new-hero p {
            color: rgba(254,242,242,0.8);
            font-size: 1.05rem;
            max-width: 700px;
            margin-bottom: 0;
        }
.update-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 4px;
            margin-left: 8px;
            vertical-align: middle;
        }
.movie-poster .badge-new {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 20px;
            letter-spacing: 1px;
            box-shadow: 0 4px 12px rgba(220,38,38,0.4);
        }
.movie-poster .badge-quality {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(0,0,0,0.75);
            color: var(--accent);
            font-size: 0.7rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 4px;
            backdrop-filter: blur(4px);
        }
.movie-info h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.movie-info .meta {
            font-size: 0.8rem;
            color: rgba(254,242,242,0.6);
            margin-bottom: 8px;
        }
.movie-info .desc {
            font-size: 0.85rem;
            color: rgba(254,242,242,0.7);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.date-group {
            margin-bottom: 40px;
        }
.date-group .date-label {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: var(--font-head);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(220,38,38,0.15);
        }
.date-group .date-label i {
            color: var(--primary);
        }
.date-group .date-label span {
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 12px;
            margin-left: 8px;
        }
.newsletter-box {
            background: linear-gradient(135deg, rgba(220,38,38,0.1) 0%, rgba(251,146,60,0.1) 100%);
            border: 1px solid rgba(220,38,38,0.2);
            border-radius: var(--radius);
            padding: 32px;
            margin-top: 50px;
        }
.newsletter-box h3 {
            font-family: var(--font-head);
            color: var(--text);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.newsletter-box p {
            color: rgba(254,242,242,0.7);
            font-size: 0.95rem;
            margin-bottom: 20px;
        }
.newsletter-box .input-group {
            max-width: 480px;
        }
.newsletter-box .form-control {
            background: rgba(0,0,0,0.3);
            border: 1px solid rgba(220,38,38,0.3);
            color: var(--text);
            border-radius: 8px 0 0 8px;
            padding: 12px 16px;
        }
.newsletter-box .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(220,38,38,0.15);
        }
.newsletter-box .form-control::placeholder {
            color: rgba(254,242,242,0.4);
        }
.newsletter-box .btn-subscribe {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 0 8px 8px 0;
            padding: 12px 24px;
            font-weight: 600;
            transition: background 0.3s;
        }
.newsletter-box .btn-subscribe:hover {
            background: #b91c1c;
        }
.new-hero h1 {
                font-size: 1.8rem;
            }
.new-hero p {
                font-size: 0.95rem;
            }
.newsletter-box {
                padding: 24px;
            }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 不影响全局样式，仅用于覆盖Bootstrap组件默认白底 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--card-bg);
            color: var(--text);
            border-color: #3a2a2e;
        }
.card-title, .card-text {
            color: var(--text);
        }
.form-control, .form-select {
            background: rgba(20, 16, 19, 0.7);
            border: 1px solid #3a2a2e;
            color: var(--text);
        }
.list-group-item {
            background: var(--card-bg);
            color: var(--text);
            border-color: #3a2a2e;
        }
.accordion-button, .accordion-body {
            background: var(--card-bg);
            color: var(--text);
        }
.accordion-button:not(.collapsed) {
            background: #2a1e23;
            color: var(--text);
        }
.modal-content, .dropdown-menu {
            background: var(--card-bg);
            color: var(--text);
        }
.dropdown-item {
            color: var(--text);
        }
.dropdown-item:hover {
            background: #2a1e23;
            color: #fff;
        }
/* 电影卡片额外美化 */
        .movie-card .movie-poster {
            border-radius: var(--radius);
            transition: transform 0.25s ease;
        }
.movie-card:hover .movie-poster {
            transform: scale(1.02);
        }
.movie-card .card-body {
            padding: 0.75rem 0.25rem;
        }
.movie-tag {
            background: rgba(220, 38, 38, 0.2);
            color: var(--accent);
            border-radius: 30px;
            padding: 2px 12px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
        }
.filter-bar .form-select {
            background-color: var(--card-bg);
            border-radius: 40px;
            padding: 6px 16px;
            font-size: 0.9rem;
            width: auto;
            display: inline-block;
        }
.movie-section-title {
            font-family: var(--font-head);
            border-left: 4px solid var(--primary);
            padding-left: 12px;
            margin-bottom: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .tv-hero { padding: 60px 0 30px; }
.tv-hero .hero-title { font-size: 2.5rem; margin-bottom: 12px; }
.tv-hero .hero-subtitle { max-width: 700px; margin: 0 auto; }
.tv-section-title { margin: 40px 0 24px; }
.tv-section-title h2 { font-size: 1.75rem; }
.tv-section-title .section-divider { margin: 8px 0 20px; }
.tv-poster { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s ease; }
.tv-poster:hover { transform: translateY(-4px); }
.tv-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.tv-poster .tv-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: var(--text); padding: 3px 10px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.tv-poster .tv-rating { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.7); color: var(--accent); padding: 3px 10px; border-radius: 20px; font-size: .8rem; font-weight: 700; }
.tv-poster .tv-info { padding: 12px 14px; background: var(--card-bg); }
.tv-poster .tv-info h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.tv-poster .tv-info p { font-size: .85rem; color: rgba(254,242,242,.6); margin: 0; }
.tv-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tv-filter-pill { background: var(--card-bg); color: var(--text); border: 1px solid rgba(254,242,242,.15); border-radius: 30px; padding: 8px 20px; font-size: .9rem; cursor: pointer; transition: all .3s ease; }
.tv-filter-pill:hover, .tv-filter-pill.active { background: var(--primary); border-color: var(--primary); }
.tv-collection-note { background: linear-gradient(135deg, rgba(220,38,38,.12), rgba(251,146,60,.12)); border: 1px solid rgba(220,38,38,.25); border-radius: var(--radius); padding: 18px 24px; margin: 30px 0; }
.tv-collection-note i { color: var(--accent); margin-right: 8px; }

/* --- 子页面追加 --- */
background: linear-gradient(135deg, rgba(20,16,19,.92) 0%, rgba(31,26,30,.88) 100%), url(' {随机图片}
.doc-hero::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--bg), transparent);
            pointer-events: none;
        }
.doc-hero-content {
            position: relative;
            z-index: 2;
        }
.doc-hero h1 {
            font-family: var(--font-head);
            font-weight: 900;
            font-size: 2.4rem;
            color: var(--text);
            margin-bottom: .8rem;
            line-height: 1.3;
        }
.doc-hero h1 span {
            color: var(--primary);
        }
.doc-hero p {
            color: rgba(254,242,242,.75);
            max-width: 640px;
            font-size: 1.02rem;
            line-height: 1.8;
        }
.doc-stats {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            margin-top: 1.6rem;
        }
.doc-stats .stat-item {
            background: rgba(220,38,38,.08);
            border: 1px solid rgba(220,38,38,.2);
            border-radius: 12px;
            padding: .6rem 1.2rem;
            backdrop-filter: blur(6px);
        }
.doc-stats .stat-item .num {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-head);
        }
.doc-stats .stat-item .label {
            font-size: .78rem;
            color: rgba(254,242,242,.65);
            letter-spacing: .5px;
        }
.category-pill:hover, .category-pill.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220,38,38,.3);
        }
.doc-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid rgba(220,38,38,.1);
            transition: all .3s ease;
            height: 100%;
        }
.doc-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow);
            border-color: rgba(220,38,38,.35);
        }
.doc-card .poster {
            position: relative;
            aspect-ratio: 16/10;
            overflow: hidden;
            background: #1a1518;
        }
.doc-card .poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
        }
.doc-card:hover .poster img {
            transform: scale(1.05);
        }
.doc-card .badge-doc {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(220,38,38,.9);
            color: #fff;
            font-size: .7rem;
            font-weight: 600;
            padding: .2rem .7rem;
            border-radius: 30px;
            letter-spacing: .5px;
            backdrop-filter: blur(4px);
        }
.doc-card .rating-doc {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0,0,0,.65);
            color: #fbbf24;
            font-size: .8rem;
            font-weight: 700;
            padding: .2rem .6rem;
            border-radius: 30px;
            backdrop-filter: blur(4px);
        }
.doc-card .card-body {
            padding: 1rem 1.1rem 1.2rem;
        }
.doc-card .doc-title {
            font-family: var(--font-head);
            font-weight: 700;
            font-size: 1rem;
            color: var(--text);
            margin-bottom: .35rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.doc-card .doc-meta {
            font-size: .78rem;
            color: rgba(254,242,242,.55);
            margin-bottom: .5rem;
        }
.doc-card .doc-desc {
            font-size: .82rem;
            color: rgba(254,242,242,.7);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.doc-feature {
            background: linear-gradient(135deg, rgba(220,38,38,.08), rgba(251,146,60,.06));
            border: 1px solid rgba(220,38,38,.15);
            border-radius: var(--radius);
            padding: 1.8rem 1.6rem;
            height: 100%;
            transition: all .3s ease;
        }
.doc-feature:hover {
            border-color: rgba(220,38,38,.4);
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.doc-feature i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.doc-feature h4 {
            font-family: var(--font-head);
            color: var(--text);
            font-size: 1.05rem;
            margin-bottom: .6rem;
            font-weight: 700;
        }
.doc-feature p {
            color: rgba(254,242,242,.65);
            font-size: .87rem;
            line-height: 1.7;
            margin-bottom: 0;
        }
.doc-hero h1 { font-size: 1.8rem; }
.doc-hero { padding: 3.5rem 0 2.5rem; }
.doc-stats { gap: 1rem; }