:root {
  --primary: #dc2626;
  --accent: #fb923c;
  --bg-dark: #141013;
  --bg-card: #1c171c;
  --text-light: #fef2f2;
  --border-thick: 3px solid #fef2f2;
  --shadow-hard: 6px 6px 0 #fef2f2;
  --shadow-hover: 10px 10px 0 #fef2f2;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter','思源黑体','PingFang SC','Microsoft YaHei',sans-serif;
  line-height: 1.75;
}
h1,h2,h3,h4,h5,h6 { font-family: '思源宋体','Songti SC','Noto Serif SC',serif; font-weight: 700; }
a { color: var(--text-light); text-decoration: none; }
a:hover { color: var(--accent); }

/* 导航栏 */
.navbar-custom {
  background: rgba(20,16,19,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--text-light);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  z-index: 999;
}
.navbar-custom.scrolled {
  background: rgba(20,16,19,0.7);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.navbar-brand {
  font-family: '思源宋体',serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-light) !important;
}
.navbar-brand i { color: var(--accent); margin-right: 4px; }
.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  border: 2px solid transparent;
  padding: 0.3rem 0.8rem;
  transition: all 0.2s;
}
.navbar-nav .nav-link:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.navbar-toggler { border: 2px solid var(--text-light); color: var(--text-light); }
.navbar-toggler-icon { filter: invert(1); }

/* Hero 统计区 */
.hero-stats {
  background: linear-gradient(145deg, #1a1419, #241a1f);
  border: var(--border-thick);
  border-radius: 0;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-hard);
}
.stat-number {
  font-family: '思源宋体',serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: rgba(254,242,242,0.7); }

/* 区块标题 */
.section-title {
  font-size: 2rem;
  font-weight: 900;
  border-left: 8px solid var(--primary);
  padding-left: 1rem;
  margin: 3rem 0 1.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 1rem;
  width: 60px; height: 4px;
  background: var(--accent);
}
.section-title i { color: var(--accent); margin-right: 0.5rem; }

/* 直角卡片 */
.card-movie {
  background: var(--bg-card);
  border: 2px solid var(--text-light);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 4px 4px 0 rgba(254,242,242,0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-movie:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card-movie .poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: #1a1419;
}
.card-movie .poster-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card-movie:hover .poster-wrap img { transform: scale(1.05); }
.card-movie .gradient-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,19,0.9) 0%, transparent 60%);
}
.card-movie .play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.8);
  width: 60px; height: 60px;
  background: rgba(220,38,38,0.85);
  border: 2px solid var(--text-light);
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
  opacity: 0;
  transition: all 0.3s;
}
.card-movie:hover .play-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.card-movie .card-body { padding: 0.8rem; flex: 1; display: flex; flex-direction: column; }
.card-movie .movie-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.card-movie .movie-meta { font-size: 0.75rem; color: rgba(254,242,242,0.7); }
.card-movie .rating-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--primary);
  color: var(--text-light);
  padding: 2px 8px;
  font-weight: 700;
  border: 1px solid var(--text-light);
  z-index: 2;
}

/* 榜单样式 */
.rank-list { list-style: none; counter-reset: rank; }
.rank-item {
  counter-increment: rank;
  display: flex; align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(254,242,242,0.15);
  transition: all 0.2s;
}
.rank-item::before {
  content: counter(rank);
  font-family: '思源宋体',serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  width: 50px; text-align: center;
}
.rank-item:hover { background: rgba(220,38,38,0.1); padding-left: 0.5rem; }
.rank-item .rank-title { flex: 1; }
.rank-item .rank-score { color: var(--accent); font-weight: 700; }

/* 分类标签 */
.cat-tag {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--text-light);
  padding: 0.4rem 1.2rem;
  margin: 0.3rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 0;
}
.cat-tag:hover, .cat-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: 3px 3px 0 var(--accent);
}

/* 专题卡片 */
.card-topic {
  background: var(--bg-card);
  border: 2px solid var(--text-light);
  padding: 1.5rem;
  box-shadow: 4px 4px 0 rgba(254,242,242,0.2);
  transition: all 0.3s;
  border-radius: 0;
  height: 100%;
}
.card-topic:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-topic i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border-left: 5px solid var(--primary);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 3px 3px 0 rgba(254,242,242,0.1);
}
.faq-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--accent); }

/* 页脚 */
.footer-area {
  border-top: 3px solid var(--text-light);
  padding: 2rem 0;
  margin-top: 3rem;
  background: #0d0a0c;
}
.friend-links {
  border: 2px solid rgba(254,242,242,0.3);
  padding: 1.5rem;
  margin: 2rem 0;
}
.friend-links h5 { border-bottom: 2px solid var(--accent); padding-bottom: 0.5rem; display: inline-block; }

/* 弹窗 */
.movie-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(20,16,19,0.95);
  backdrop-filter: blur(8px);
  overflow-y: auto;
}
.modal-content-box {
  background: rgba(28,23,28,0.95);
  border: 3px solid var(--text-light);
  max-width: 750px;
  margin: 5vh auto;
  padding: 2rem;
  position: relative;
  box-shadow: 12px 12px 0 rgba(220,38,38,0.5);
}
.close-btn {
  position: absolute; top: 10px; right: 15px;
  font-size: 2rem;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.close-btn:hover { color: var(--accent); }
.modal-title { font-size: 1.8rem; border-bottom: 3px solid var(--accent); padding-bottom: 0.5rem; }
.modal-info { margin: 1rem 0; font-size: 0.95rem; }
.modal-info span { color: var(--accent); font-weight: 600; }
.modal-plot { margin-top: 1rem; line-height: 1.8; }
.modal-rating {
  display: inline-block;
  background: var(--primary);
  padding: 0.3rem 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  border: 2px solid var(--accent);
  margin: 0.5rem 0;
}

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

/* 侧边栏分类 */
.sidebar-cats {
  border: var(--border-thick);
  padding: 1.5rem;
  box-shadow: var(--shadow-hard);
  background: rgba(28,23,28,0.5);
  position: sticky;
  top: 100px;
}
.sidebar-cats h5 {
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.sidebar-cats .cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(254,242,242,0.2);
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-cats .cat-item:hover { color: var(--accent); padding-left: 0.5rem; }

/* Banner */
.banner-carousel {
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  margin-top: 1.5rem;
  background: var(--bg-card);
}
.carousel-item {
  min-height: 320px;
  background: linear-gradient(135deg, #2a1a22, #1a1419);
  display: flex; align-items: center; justify-content: center;
}
.carousel-content { text-align: center; padding: 3rem; }
.carousel-content h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.carousel-content p { max-width: 600px; margin: 0 auto 1.5rem; }
.btn-sharp {
  border: 2px solid var(--text-light);
  background: var(--primary);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.2s;
  display: inline-block;
}
.btn-sharp:hover {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: 4px 4px 0 var(--text-light);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-stats { padding: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .sidebar-cats { position: static; margin-bottom: 2rem; }
  .section-title { font-size: 1.5rem; }
}

/* --- 子页面追加 --- */
/* 页面专属补充样式 */
    .about-hero {
      background: var(--bg-dark);
      padding: 6rem 0 3rem;
      border-bottom: var(--border-thick);
    }
.about-hero h1 {
      font-size: 2.8rem;
      font-weight: 900;
      color: var(--text-light);
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 1rem;
    }
.about-hero p {
      font-size: 1.15rem;
      color: rgba(254, 242, 242, 0.8);
      max-width: 720px;
      margin: 0 auto;
    }
.about-section {
      padding: 4rem 0;
      border-bottom: 1px solid rgba(254, 242, 242, 0.1);
    }
.about-section:last-child {
      border-bottom: none;
    }
.about-text {
      color: var(--text-light);
      font-size: 1.05rem;
      line-height: 1.8;
      opacity: 0.9;
    }
.about-text strong {
      color: var(--accent);
      font-weight: 700;
    }
.about-feature-card {
      background: var(--bg-card);
      border: 2px solid var(--text-light);
      box-shadow: var(--shadow-hard);
      padding: 2rem;
      height: 100%;
      transition: all 0.3s ease;
    }
.about-feature-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translate(-3px, -3px);
    }
.about-feature-card i {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }
.about-feature-card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--text-light);
      margin-bottom: 0.8rem;
    }
.about-feature-card p {
      color: rgba(254, 242, 242, 0.7);
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 0;
    }
.about-quote {
      background: var(--bg-card);
      border-left: 4px solid var(--accent);
      padding: 2rem;
      margin: 2rem 0;
    }
.about-quote p {
      font-size: 1.1rem;
      font-style: italic;
      color: var(--text-light);
      margin-bottom: 0.5rem;
    }
.about-quote span {
      font-size: 0.9rem;
      color: rgba(254, 242, 242, 0.6);
    }
.about-stats {
      display: flex;
      gap: 3rem;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 2rem;
    }
.about-stat-item {
      text-align: center;
    }
.about-stat-item .stat-number {
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--primary);
    }
.about-stat-item .stat-label {
      font-size: 0.9rem;
      color: rgba(254, 242, 242, 0.7);
      text-transform: uppercase;
      letter-spacing: 1px;
    }
.about-hero h1 {
        font-size: 2rem;
      }
.about-stats {
        gap: 1.5rem;
      }
.about-feature-card {
        margin-bottom: 1.5rem;
      }

/* --- 子页面追加 --- */
/* 本页专属样式 */
    .contact-hero { padding: 80px 0 50px; }
.contact-hero h1 { font-size: 2.8rem; font-weight: 900; color: var(--text-light); margin-bottom: 15px; }
.contact-hero p { color: rgba(254, 242, 242, 0.75); font-size: 1.1rem; max-width: 700px; }
.contact-card { background: var(--bg-card); border: 2px solid rgba(254, 242, 242, 0.15); border-radius: 12px; padding: 30px; height: 100%; transition: all 0.3s ease; }
.contact-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.contact-card .icon-wrap { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(220, 38, 38, 0.15); margin-bottom: 20px; }
.contact-card .icon-wrap i { font-size: 1.5rem; color: var(--primary); }
.contact-card h3 { color: var(--text-light); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.contact-card p { color: rgba(254, 242, 242, 0.7); margin-bottom: 8px; font-size: 0.95rem; }
.contact-card .highlight-text { color: var(--accent); font-weight: 600; }
.contact-form-wrapper { background: var(--bg-card); border: 2px solid rgba(254, 242, 242, 0.15); border-radius: 12px; padding: 40px; }
.contact-form-wrapper .form-label { color: var(--text-light); font-weight: 600; }
.contact-form-wrapper .form-control { background: rgba(0,0,0,0.3); border: 1px solid rgba(254, 242, 242, 0.2); color: var(--text-light); padding: 12px 16px; border-radius: 8px; }
.contact-form-wrapper .form-control:focus { background: rgba(0,0,0,0.4); border-color: var(--accent); box-shadow: none; }
.contact-form-wrapper .form-control::placeholder { color: rgba(254, 242, 242, 0.35); }
.contact-form-wrapper textarea.form-control { min-height: 140px; resize: vertical; }
.btn-send { background: var(--primary); color: var(--text-light); border: none; padding: 12px 35px; font-weight: 700; border-radius: 8px; transition: all 0.3s ease; }
.btn-send:hover { background: var(--accent); color: var(--bg-dark); transform: translateY(-2px); }
.faq-mini-item { padding: 20px 0; border-bottom: 1px solid rgba(254, 242, 242, 0.1); }
.faq-mini-item:last-child { border-bottom: none; }
.faq-mini-item h4 { color: var(--text-light); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.faq-mini-item p { color: rgba(254, 242, 242, 0.65); font-size: 0.9rem; margin-bottom: 0; }
.social-links { display: flex; gap: 15px; margin-top: 10px; }
.social-links a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(254, 242, 242, 0.1); color: var(--text-light); font-size: 1.2rem; transition: all 0.3s ease; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.response-time { background: rgba(251, 146, 60, 0.15); border-left: 3px solid var(--accent); padding: 12px 18px; border-radius: 0 8px 8px 0; margin-top: 25px; }
.response-time p { color: var(--accent); margin-bottom: 0; font-size: 0.9rem; font-weight: 500; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.form-select { background-color:rgba(0,0,0,.35) !important; color:#fef2f2 !important; border-color:rgba(255,255,255,.12) !important; }
