:root {
  --primary: #10b981;
  --accent: #fbbf24;
  --bg: #0a1410;
  --text: #ecfdf5;
  --card-bg: #0f1f18;
  --border: #1c352b;
  --text-muted: #7e9b8e;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }

/* 导航 */
.navbar-custom {
  background: rgba(10,20,16,0.9);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
  z-index: 1000;
}
.navbar-custom.scrolled {
  background: rgba(6,12,9,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text) !important;
  letter-spacing: -0.5px;
}
.navbar-brand i { color: var(--primary); margin-right: 4px; }
.nav-link-custom {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: color 0.2s;
}
.nav-link-custom:hover { color: var(--text) !important; }
.navbar-toggler { border: 1px solid var(--border); }
.navbar-toggler:focus { box-shadow: none; }

/* 打字机 */
.typewriter-wrapper {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.typewriter-text {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  border-right: 3px solid var(--primary);
  padding-right: 4px;
  animation: blink 0.7s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* 区块标题 */
.section-title {
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
  display: flex;
  align-items: center;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title i {
  color: var(--primary);
  margin-right: 8px;
  font-size: 1.1rem;
}
.section-title .more-link {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.section-title .more-link:hover { color: var(--primary); }

/* 海报卡片 */
.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  height: 100%;
}
.movie-card:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(16,185,129,0.15);
}
.movie-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--border);
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.movie-poster img.loaded {
  opacity: 1;
}
.badge-corner {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--accent);
  color: #0a1410;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.badge-score {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(10,20,16,0.85);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.badge-score i { font-size: 0.65rem; }
.movie-info {
  padding: 10px 10px 12px;
}
.movie-title {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.movie-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 横向滚动 */
.h-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.h-scroll .movie-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
}

/* 网格海报墙 */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

/* 排行榜 */
.rank-list {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 12px;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: rgba(16,185,129,0.06); }
.rank-num {
  font-weight: 800;
  font-size: 1.1rem;
  width: 32px;
  color: var(--text-muted);
}
.rank-item:nth-child(-n+3) .rank-num { color: var(--accent); }
.rank-title { flex: 1; font-weight: 500; font-size: 0.9rem; }
.rank-score { color: var(--accent); font-weight: 700; font-size: 0.85rem; }

/* 榜单表格 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.compare-table th, .compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.compare-table th {
  background: rgba(16,185,129,0.08);
  font-weight: 600;
  color: var(--text);
}
.compare-table td { color: var(--text-muted); }
.compare-table tr:hover td { background: rgba(16,185,129,0.04); }

/* 专题区块 */
.feature-box {
  background: linear-gradient(135deg, #0f1f18 0%, #0a1410 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
}
.feature-box h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.feature-box p { color: var(--text-muted); font-size: 0.9rem; }

/* 编号清单 */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #0a1410;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* 侧滑弹窗 */
.sidebar-detail {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: #0d1a13;
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0,0,0,0.6);
  border-left: 1px solid var(--border);
  padding: 20px;
}
.sidebar-detail.open { right: 0; }
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.sidebar-backdrop.show { opacity: 1; visibility: visible; }
.sidebar-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
}
.sidebar-close:hover { color: var(--text); }
.sidebar-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: var(--border);
}
.sidebar-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.sidebar-fields { font-size: 0.9rem; }
.sidebar-fields div { margin-bottom: 6px; color: var(--text-muted); }
.sidebar-fields span { color: var(--text); }
.sidebar-plot { margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* 友链 */
.friend-links {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
}
.friend-links a {
  color: var(--text-muted);
  margin-right: 16px;
  font-size: 0.85rem;
}
.friend-links a:hover { color: var(--primary); }

/* 页脚 */
.footer-custom {
  background: #060c09;
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 40px;
}
.footer-custom a { color: var(--text-muted); }
.footer-custom a:hover { color: var(--primary); }

/* 章节间距 */
.section-pad { padding: 28px 0; }
.separator { border-bottom: 1px solid var(--border); }

/* 响应式 */
@media (max-width: 768px) {
  .typewriter-text { font-size: 1.4rem; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .h-scroll .movie-card { flex-basis: 130px; }
  .sidebar-detail { width: 100vw; right: -100vw; }
}

/* 图片渐显 */
.movie-poster img {
  transition: opacity 0.5s ease, transform 0.3s;
}
.movie-card:hover .movie-poster img { transform: scale(1.05); }

/* --- 子页面追加 --- */
/* 本页专属样式 - 关于我们 */
    .about-hero {
      background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(0,0,0,0.3) 100%);
      border-bottom: 1px solid var(--border);
      padding: 3rem 0;
    }
.about-section {
      padding: 2.5rem 0;
    }
.about-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem;
      height: 100%;
      transition: transform .25s ease, box-shadow .25s ease;
    }
.about-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
.about-card i {
      color: var(--accent);
      font-size: 2rem;
      margin-bottom: 1rem;
    }
.about-card h3 {
      color: var(--primary);
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: .75rem;
    }
.about-card p {
      color: var(--text-muted);
      font-size: .95rem;
      line-height: 1.7;
      margin-bottom: 0;
    }
.timeline-item {
      position: relative;
      padding-left: 2rem;
      padding-bottom: 2rem;
      border-left: 2px solid var(--border);
    }
.timeline-item::before {
      content: '';
      position: absolute;
      left: -8px;
      top: 0;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--primary);
      border: 2px solid var(--bg);
    }
.timeline-item:last-child {
      border-left-color: transparent;
      padding-bottom: 0;
    }
.timeline-item h4 {
      color: var(--text);
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: .35rem;
    }
.timeline-item p {
      color: var(--text-muted);
      font-size: .9rem;
      line-height: 1.6;
      margin-bottom: .5rem;
    }
.timeline-item .year {
      color: var(--accent);
      font-weight: 800;
      font-size: .9rem;
      display: inline-block;
      margin-bottom: .5rem;
    }
.value-stat {
      text-align: center;
      padding: 1.5rem 1rem;
    }
.value-stat .num {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--primary);
      line-height: 1.2;
    }
.value-stat .label {
      color: var(--text-muted);
      font-size: .85rem;
      margin-top: .5rem;
    }
.team-quote {
      background: rgba(16,185,129,0.08);
      border-left: 4px solid var(--primary);
      padding: 1.5rem 1.75rem;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 2rem 0;
    }
.team-quote p {
      color: var(--text);
      font-size: 1.05rem;
      font-style: italic;
      margin-bottom: .75rem;
    }
.team-quote .sign {
      color: var(--text-muted);
      font-size: .9rem;
    }
.badge-about {
      display: inline-block;
      background: rgba(16,185,129,0.15);
      color: var(--primary);
      padding: .35rem 1rem;
      border-radius: 20px;
      font-size: .85rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
.about-subtitle {
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.7;
      max-width: 800px;
    }

/* --- 子页面追加 --- */
/* 页面专属样式 - 免责声明 */
        .disclaimer-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #0d1a14 100%);
            padding: 60px 0 30px;
            border-bottom: 1px solid var(--border);
        }
.disclaimer-hero h1 {
            color: var(--text);
            font-size: 2.4rem;
            font-weight: 800;
            margin-bottom: 10px;
        }
.disclaimer-hero h1 span {
            color: var(--primary);
        }
.disclaimer-hero .lead {
            color: var(--text-muted);
            font-size: 1.1rem;
            max-width: 700px;
            line-height: 1.8;
        }
.disclaimer-content {
            padding: 50px 0 70px;
        }
.disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 30px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
        }
.disclaimer-section h2 {
            color: var(--accent);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-section h2 i {
            color: var(--primary);
            font-size: 1.2rem;
        }
.disclaimer-section p {
            color: var(--text);
            line-height: 1.9;
            margin-bottom: 15px;
            font-size: 0.95rem;
        }
.disclaimer-section ul {
            color: var(--text);
            padding-left: 20px;
            line-height: 1.9;
        }
.disclaimer-section ul li {
            margin-bottom: 8px;
            font-size: 0.95rem;
        }
.disclaimer-section strong {
            color: var(--accent);
        }
.notice-box {
            background: rgba(251, 191, 36, 0.08);
            border-left: 4px solid var(--accent);
            padding: 20px 25px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 25px 0;
        }
.notice-box p {
            color: var(--text);
            margin-bottom: 0;
            font-style: italic;
        }
.update-date {
            color: var(--text-muted);
            font-size: 0.9rem;
            text-align: right;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }
.disclaimer-hero h1 {
                font-size: 1.8rem;
            }
.disclaimer-section {
                padding: 20px;
            }
.disclaimer-section h2 {
                font-size: 1.3rem;
            }

/* --- 子页面追加 --- */
.guide-hero {
            background: linear-gradient(135deg, var(--bg) 0%, var(--card-bg) 100%);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 3rem 2rem;
            margin: 2rem 0;
        }
.guide-section {
            margin-bottom: 3rem;
        }
.step-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.step-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
.step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--bg);
            font-weight: 700;
            margin-bottom: 1rem;
        }
.tip-box {
            background: rgba(16, 185, 129, 0.1);
            border-left: 4px solid var(--primary);
            border-radius: 0 var(--radius) var(--radius) 0;
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
        }
.faq-item {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.5rem;
            margin-bottom: 1rem;
        }
.faq-item h3 {
            color: var(--primary);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
.table-guide {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
        }
.table-guide .row-item {
            display: flex;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--border);
            transition: background 0.2s ease;
        }
.table-guide .row-item:last-child {
            border-bottom: none;
        }
.table-guide .row-item:hover {
            background: rgba(16, 185, 129, 0.05);
        }
.table-guide .col-icon {
            width: 48px;
            color: var(--primary);
            font-size: 1.3rem;
            flex-shrink: 0;
        }
.table-guide .col-title {
            flex: 1;
            font-weight: 500;
        }
.table-guide .col-desc {
            flex: 2;
            color: var(--text-muted);
        }
.guide-hero {
                padding: 2rem 1rem;
            }
.table-guide .row-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
.table-guide .col-icon {
                width: auto;
            }