:root {
  --primary: #e50914;
  --accent: #f5c518;
  --bg-dark: #0b0b0f;
  --text-light: #f5f5f7;
  --border-thick: 3px solid #f5f5f7;
  --shadow-hard: 8px 8px 0 rgba(245, 197, 24, 0.4);
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', serif;
  --font-sans: 'Inter', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

* {
  border-radius: 0 !important;
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: 900;
}
a {
  text-decoration: none;
  color: var(--text-light);
}
a:hover { color: var(--accent); }

/* 导航栏 */
.navbar-custom {
  background: #0b0b0f;
  border-bottom: 3px solid var(--primary);
  padding: 0.8rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent) !important;
  letter-spacing: 1px;
}
.navbar-brand i {
  margin-right: 8px;
  color: var(--primary);
}
.nav-link {
  font-weight: 600;
  color: var(--text-light) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 0.8rem !important;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.nav-link:hover {
  color: var(--accent) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.navbar-toggler {
  border-color: var(--text-light);
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* Hero 区域 */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(11,11,15,0.7), rgba(11,11,15,0.9)), url('{随机图片}') center/cover fixed;
  border-bottom: 4px solid var(--accent);
  overflow: hidden;
}
.hero-content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
}
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  text-shadow: none;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-top: 1rem;
  letter-spacing: 3px;
}
.hero-decor {
  position: absolute;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  animation: floatUpDown 4s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* 区块通用 */
.section-block {
  padding: 4rem 1rem;
  border-bottom: 3px solid #1a1a2e;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid var(--primary);
}
.section-title i {
  color: var(--accent);
  margin-right: 10px;
}

/* 分类入口 */
.category-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.category-item {
  flex: 1 1 120px;
  max-width: 160px;
  text-align: center;
  padding: 1.2rem 0.8rem;
  border: var(--border-thick);
  background: #141420;
  box-shadow: var(--shadow-hard);
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 700;
}
.category-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 rgba(229, 9, 20, 0.4);
  background: #1a1a2e;
}
.category-item i {
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* 影片卡片 */
.movie-card {
  background: #141420;
  border: 3px solid #f5f5f7;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.5);
  cursor: pointer;
  position: relative;
  height: 100%;
}
.movie-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--primary);
  border-color: var(--accent);
}
.movie-poster-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 140%;
}
.movie-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.movie-card:hover .movie-poster {
  transform: scale(1.1);
}
.movie-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.movie-card:hover .movie-overlay {
  opacity: 1;
}
.movie-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 0.75rem;
  border: 2px solid var(--text-light);
  z-index: 2;
}
.movie-rating-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  padding: 2px 6px;
  border: 2px solid #000;
  z-index: 2;
}
.movie-title {
  font-weight: 700;
  padding: 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #141420;
}
.movie-year {
  color: var(--accent);
  font-size: 0.8rem;
  padding: 0 0.5rem 0.5rem;
  background: #141420;
}

/* 排行榜 */
.rank-list {
  counter-reset: rank;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid #2a2a3e;
  margin-bottom: 0.8rem;
  background: #141420;
  transition: all 0.2s;
  counter-increment: rank;
}
.rank-item:hover {
  border-color: var(--accent);
  transform: translateX(10px);
}
.rank-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  width: 60px;
  text-align: center;
  font-family: var(--font-serif);
}
.rank-item:nth-child(1) .rank-number { color: #ffd700; }
.rank-item:nth-child(2) .rank-number { color: #c0c0c0; }
.rank-item:nth-child(3) .rank-number { color: #cd7f32; }
.rank-info {
  flex: 1;
  padding-left: 1rem;
}
.rank-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.rank-desc {
  color: #888;
  font-size: 0.85rem;
}
.rank-hot {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  padding: 0 1rem;
  font-family: var(--font-serif);
}

/* 对比表格 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th, .compare-table td {
  border: 3px solid var(--text-light);
  padding: 1rem;
  text-align: center;
}
.compare-table th {
  background: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.compare-table tr:nth-child(even) {
  background: #141420;
}

/* 数字滚动 */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-serif);
}
.stat-label {
  font-size: 0.9rem;
  color: #888;
}

/* 侧滑详情 */
.sidebar-detail {
  position: fixed;
  top: 0;
  right: -450px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: #141420;
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 4px solid var(--accent);
  overflow-y: auto;
  padding: 2rem 1.5rem;
}
.sidebar-detail.open {
  right: 0;
}
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1999;
  display: none;
}
.sidebar-backdrop.show {
  display: block;
}
.sidebar-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
}
.sidebar-close:hover {
  color: var(--accent);
}
.detail-poster {
  width: 100%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--text-light);
}
.detail-field {
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2a2a3e;
}
.detail-field-label {
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
}

/* FAQ */
.faq-item {
  border: 2px solid #2a2a3e;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #141420;
}
.faq-question {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.faq-question i {
  margin-right: 8px;
}

/* 页脚 */
.footer-custom {
  background: #060609;
  border-top: 4px solid var(--primary);
  padding: 3rem 1rem;
  margin-top: 3rem;
}
.footer-links a {
  margin: 0 1rem;
  color: #888;
}
.footer-links a:hover {
  color: var(--accent);
}

/* 数字动画 */
.counter-value {
  display: inline-block;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .rank-item {
    flex-wrap: wrap;
  }
  .rank-hot {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  .sidebar-detail {
    width: 90vw;
  }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0%;
}

/* 专题 */
.special-card {
  border: 3px solid var(--text-light);
  background: #141420;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
  text-align: center;
}
.special-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hard);
}
.special-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* 编号清单 */
.numbered-list {
  counter-reset: numlist;
}
.numbered-list li {
  list-style: none;
  counter-increment: numlist;
  padding: 0.8rem 0;
  border-bottom: 1px solid #2a2a3e;
  display: flex;
  align-items: center;
}
.numbered-list li::before {
  content: counter(numlist, decimal-leading-zero);
  font-weight: 900;
  color: var(--accent);
  font-size: 1.4rem;
  margin-right: 1rem;
  font-family: var(--font-serif);
}

/* 友链 */
.friendly-links {
  background: #141420;
  border: 2px solid #2a2a3e;
  padding: 2rem;
  margin: 3rem 0;
}
.friendly-links h4 {
  margin-bottom: 1rem;
  color: var(--accent);
}

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .about-hero {
            padding: 80px 0 60px;
            background: linear-gradient(135deg, rgba(11,11,15,.95) 0%, rgba(229,9,20,.15) 100%);
            border-bottom: 2px solid rgba(245,197,24,.3);
        }
.about-section {
            padding: 50px 0;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }
.about-section:last-child {
            border-bottom: none;
        }
.about-card {
            background: rgba(255,255,255,.03);
            border: 1px solid rgba(255,255,255,.1);
            border-radius: 8px;
            padding: 24px;
            height: 100%;
            transition: all .3s ease;
        }
.about-card:hover {
            border-color: rgba(245,197,24,.5);
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,.3);
        }
.about-icon {
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 16px;
        }
.about-title {
            font-family: var(--font-sans);
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--text-light);
            margin-bottom: 12px;
            letter-spacing: .5px;
        }
.about-text {
            color: rgba(245,245,247,.85);
            font-size: .95rem;
            line-height: 1.8;
            font-family: var(--font-sans);
        }
.highlight-box {
            background: rgba(229,9,20,.1);
            border-left: 4px solid var(--primary);
            padding: 20px 24px;
            border-radius: 0 8px 8px 0;
            margin: 24px 0;
        }
.highlight-box p {
            margin: 0;
            color: rgba(245,245,247,.9);
            font-family: var(--font-sans);
            line-height: 1.7;
        }

/* --- 子页面追加 --- */
.disclaimer-hero {
            background: linear-gradient(135deg, rgba(229, 9, 20, 0.15) 0%, rgba(11, 11, 15, 0.8) 100%), var(--bg-dark);
            padding: 100px 0 60px;
            border-bottom: 2px solid rgba(245, 197, 24, 0.3);
            position: relative;
            overflow: hidden;
        }
.disclaimer-hero::after {
            content: '';
            position: absolute;
            bottom: -40px;
            right: -40px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(245, 197, 24, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.disclaimer-content {
            padding: 60px 0 80px;
        }
.disclaimer-block {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-left: 4px solid var(--accent);
            padding: 30px;
            margin-bottom: 30px;
            border-radius: 0 8px 8px 0;
            transition: box-shadow 0.3s ease;
        }
.disclaimer-block:hover {
            box-shadow: var(--shadow-hard);
        }
.disclaimer-block h2 {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.disclaimer-block h2 i {
            font-size: 1.3rem;
            color: var(--primary);
        }
.disclaimer-block p {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 0.95rem;
            opacity: 0.9;
        }
.disclaimer-block ul {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 0.95rem;
            padding-left: 20px;
            opacity: 0.9;
        }
.disclaimer-block ul li {
            margin-bottom: 8px;
        }
.disclaimer-note {
            background: rgba(229, 9, 20, 0.08);
            border: 1px dashed rgba(229, 9, 20, 0.4);
            padding: 25px 30px;
            margin: 40px 0 0;
            border-radius: 8px;
        }
.disclaimer-note h3 {
            font-family: var(--font-serif);
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-note p {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 0.9rem;
            opacity: 0.85;
        }
.disclaimer-hero {
                padding: 70px 0 40px;
            }
.disclaimer-block {
                padding: 20px;
            }
.disclaimer-block h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
.guide-hero {
            background: linear-gradient(135deg, rgba(229, 9, 20, 0.85), rgba(11, 11, 15, 0.9)), url('https://picsum.photos/1920/600') center/cover;
            padding: 100px 0 80px;
            border-bottom: 4px solid var(--accent);
            position: relative;
        }
.guide-hero h1 {
            font-family: var(--font-serif);
            font-size: 3rem;
            color: var(--text-light);
            text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
            margin-bottom: 15px;
        }
.guide-hero p {
            color: var(--text-light);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
.guide-section {
            padding: 70px 0;
            border-bottom: 1px solid rgba(245, 245, 247, 0.1);
        }
.guide-section:nth-child(even) {
            background: rgba(255, 255, 255, 0.03);
        }
.guide-title {
            font-family: var(--font-serif);
            font-size: 2.2rem;
            color: var(--accent);
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }
.guide-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
        }
.guide-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(245, 245, 247, 0.15);
            border-radius: 12px;
            padding: 25px;
            height: 100%;
            transition: all 0.3s ease;
        }
.guide-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
        }
.guide-card i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
.guide-card h4 {
            color: var(--text-light);
            font-size: 1.3rem;
            margin-bottom: 15px;
        }
.guide-card p {
            color: rgba(245, 245, 247, 0.8);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.step-list {
            list-style: none;
            padding: 0;
            counter-reset: step;
        }
.step-list li {
            counter-increment: step;
            padding: 20px 0 20px 60px;
            position: relative;
            border-bottom: 1px solid rgba(245, 245, 247, 0.1);
        }
.step-list li:last-child {
            border-bottom: none;
        }
.step-list li::before {
            content: counter(step);
            position: absolute;
            left: 0;
            top: 15px;
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: var(--text-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.1rem;
        }
.step-list h5 {
            color: var(--text-light);
            font-size: 1.1rem;
            margin-bottom: 8px;
        }
.step-list p {
            color: rgba(245, 245, 247, 0.8);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.tips-box {
            background: rgba(245, 197, 24, 0.1);
            border-left: 4px solid var(--accent);
            padding: 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
        }
.tips-box h5 {
            color: var(--accent);
            font-size: 1rem;
            margin-bottom: 8px;
        }
.tips-box p {
            color: rgba(245, 245, 247, 0.85);
            font-size: 0.9rem;
        }
.faq-item h5 {
            color: var(--text-light);
            font-size: 1.1rem;
            margin-bottom: 10px;
        }
.faq-item p {
            color: rgba(245, 245, 247, 0.8);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.guide-hero h1 { font-size: 2rem; }
.guide-title { font-size: 1.6rem; }

/* --- 子页面追加 --- */
/* 保证任何卡片/表单都不会出现白底黑字 */
    .card, .card-body, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
    .form-control, .form-select, .modal-content, .dropdown-menu {
      background: var(--bg-dark) !important;
      color: var(--text-light) !important;
      border-color: #333 !important;
    }
.card-title, .card-text, .accordion-button, .list-group-item {
      color: var(--text-light) !important;
    }
.accordion-button:not(.collapsed) {
      background: rgba(255,255,255,.05) !important;
    }
/* 确保导航与首页完全一致 */
    .navbar-custom {
      background: rgba(11, 11, 15, 0.9) !important;
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
.nav-link.active {
      color: var(--accent) !important;
      font-weight: 700;
    }
/* 复用首页的 hero / section 风格 */
    .hero-section {
      background: radial-gradient(circle at 20% 30%, #1e1e28, #0b0b0f);
      border-bottom: 1px solid #1f1f2b;
    }
.rank-item:last-child {
      border-bottom: none;
    }
.rank-meta {
      color: #9b9ba7;
      font-size: .9rem;
    }
.rank-score {
      background: var(--primary);
      color: #fff;
      font-weight: 800;
      padding: .25rem .7rem;
      border-radius: 30px;
      font-size: .9rem;
    }
.badge-hot {
      background: var(--primary);
      color: white;
      font-size: .7rem;
      padding: .3em .6em;
      border-radius: 20px;
      margin-left: .5rem;
      vertical-align: middle;
    }
.category-entry:hover {
      border-color: var(--accent);
      background: rgba(255,255,255,.04);
    }
/* 排行榜 tab 切换 */
    .rank-tab-btn {
      background: transparent;
      border: 2px solid #333;
      color: var(--text-light);
      font-weight: 600;
      padding: .4rem 1.4rem;
      border-radius: 40px;
      margin-right: .6rem;
      transition: .2s;
    }
.rank-tab-btn.active, .rank-tab-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(245,197,24,.08);
    }