:root {
  --primary: #2563eb;
  --accent: #06b6d4;
  --bg: #f4f8ff;
  --text: #0f1e3d;
  --card-bg: #ffffff;
  --border: #0f1e3d;
  --shadow: 4px 4px 0 0 var(--border);
  --radius: 0px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* 直角硬朗风 */
.card, .btn, .navbar, .badge, .list-group-item, .hero-tag {
  border-radius: 0 !important;
  border: 2px solid var(--border);
}
.shadow-hard { box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); border-color: var(--border); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--border); color: var(--text); }

/* 导航栏 */
.navbar {
  background: rgba(244, 248, 255, 0.95);
  border-bottom: 3px solid var(--border);
  padding: 12px 0;
  transition: all 0.3s;
  z-index: 1000;
}
.navbar.scrolled {
  background: rgba(244, 248, 255, 0.85);
  box-shadow: 0 4px 20px rgba(15, 30, 61, 0.1);
}
.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: 2px;
}
.navbar-brand i { color: var(--primary); margin-right: 6px; }
.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text);
  padding: 8px 18px;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.navbar-nav .nav-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--border);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--border);
}

/* Hero 标签云 */
.hero {
  padding: 80px 0 40px;
  border-bottom: 3px solid var(--border);
  background: linear-gradient(135deg, #e8f0ff 0%, #f4f8ff 60%, #d9f5ff 100%);
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-family: 'Inter', 'PingFang SC', sans-serif;
}
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 1.2rem; color: var(--text); opacity: 0.8; margin-bottom: 30px; max-width: 700px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 25px 0; }
.hero-tag {
  padding: 8px 18px;
  background: #fff;
  border: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 3px 3px 0 0 rgba(15, 30, 61, 0.15);
}
.hero-tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--border);
}

/* 区块标题 */
.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 60px 0 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', 'PingFang SC', sans-serif;
}
.section-title i { color: var(--primary); font-size: 1.6rem; }
.section-title .title-tag {
  background: var(--accent);
  color: var(--text);
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-left: auto;
}

/* 排行榜 */
.rank-list { list-style: none; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  margin-bottom: 12px;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 2px 2px 0 0 rgba(15, 30, 61, 0.1);
}
.rank-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--border);
  border-color: var(--primary);
}
.rank-num {
  font-size: 1.8rem;
  font-weight: 900;
  min-width: 45px;
  text-align: center;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.rank-num.gold { color: #f59e0b; }
.rank-num.silver { color: #94a3b8; }
.rank-num.bronze { color: #d97706; }
.rank-info { flex: 1; }
.rank-info h5 { font-weight: 700; margin: 0; }
.rank-info p { margin: 0; font-size: 0.85rem; opacity: 0.7; }
.rank-rating { font-weight: 900; color: var(--primary); font-size: 1.2rem; }
.rank-tag {
  background: var(--accent);
  color: var(--text);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* 影片卡片 */
.movie-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 0 var(--border);
  transition: all 0.25s;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.movie-card:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: 6px 6px 0 0 var(--primary);
}
.movie-poster {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #e0e8ff;
  display: block;
  border-bottom: 2px solid var(--border);
}
.movie-info { padding: 15px; }
.movie-title { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.movie-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text); opacity: 0.75; }
.movie-rating { color: var(--primary); font-weight: 900; }
.movie-type {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 2;
  border: 2px solid var(--border);
}

/* 翻转卡片 */
.flip-container {
  perspective: 1000px;
  margin-bottom: 20px;
}
.flip-inner {
  position: relative;
  width: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}
.flip-container.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  backface-visibility: hidden;
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 0 var(--border);
}
.flip-front { background: var(--card-bg); }
.flip-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: rotateY(180deg);
  background: var(--bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #e8f0ff, #f4f8ff);
}
.flip-back h4 { font-weight: 900; margin-bottom: 10px; }
.flip-back .detail-line { font-size: 0.85rem; margin-bottom: 6px; }
.flip-back .detail-line strong { color: var(--primary); }
.flip-back .close-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border: 2px solid var(--border);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 分类胶囊 */
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.cat-pill {
  padding: 8px 18px;
  background: #fff;
  border: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 0 rgba(15, 30, 61, 0.1);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--border);
}

/* 左侧分类栏 + 右侧瀑布 */
.category-layout { display: flex; gap: 30px; margin: 30px 0; }
.sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid var(--border);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow);
}
.sidebar-title { font-weight: 900; font-size: 1.2rem; margin-bottom: 15px; }
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: 8px 12px;
  margin-bottom: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.sidebar-list li:hover, .sidebar-list li.active {
  background: var(--bg);
  border-left-color: var(--primary);
  color: var(--primary);
}
.waterfall {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

/* 步骤条 */
.steps-wrapper { display: flex; gap: 0; margin: 30px 0; }
.step-item {
  flex: 1;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--border);
  position: relative;
  margin-right: -2px;
  transition: all 0.2s;
}
.step-item:hover { background: var(--bg); transform: translateY(-3px); box-shadow: 0 6px 0 0 var(--border); }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}
.step-item h5 { font-weight: 800; margin-bottom: 8px; }
.step-item p { font-size: 0.9rem; opacity: 0.8; margin: 0; }

/* 科普/专题 */
.info-block {
  background: #fff;
  border: 2px solid var(--border);
  padding: 25px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}
.info-block h3 { font-weight: 900; margin-bottom: 15px; }
.info-block h3 i { color: var(--primary); margin-right: 8px; }
.info-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.info-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 友情链接 */
.friend-links {
  background: #fff;
  border-top: 3px solid var(--border);
  padding: 30px 0;
  margin-top: 60px;
}
.friend-links h5 { font-weight: 900; margin-bottom: 15px; }

/* 页脚 */
.footer {
  background: var(--text);
  color: #fff;
  padding: 40px 0 20px;
  border-top: 4px solid var(--primary);
}
.footer a { color: #94a3b8; transition: all 0.2s; }
.footer a:hover { color: #fff; }

/* 回到顶部 */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--border);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 0 var(--border);
  transition: all 0.3s;
}
#backToTop.show { display: flex; }
#backToTop:hover { background: var(--accent); color: var(--text); }

/* 响应式 */
@media (max-width: 992px) {
  .category-layout { flex-direction: column; }
  .sidebar { width: 100%; position: static; }
  .hero-title { font-size: 2.2rem; }
  .waterfall { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 768px) {
  .navbar-brand { font-size: 1.3rem; }
  .hero { padding: 50px 0 30px; }
  .section-title { font-size: 1.5rem; }
  .steps-wrapper { flex-direction: column; }
  .step-item { margin-right: 0; margin-bottom: 10px; }
  .rank-item { flex-wrap: wrap; }
  .rank-num { font-size: 1.4rem; min-width: 35px; }
  .movie-poster { height: 240px; }
}

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .about-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: #fff;
            padding: 60px 0;
            margin-bottom: 50px;
        }
.about-hero h1 {
            font-weight: 800;
            font-size: 2.5rem;
        }
.about-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
.about-card {
            background: var(--card-bg);
            border: 2px solid var(--border);
            box-shadow: var(--shadow);
            padding: 30px;
            margin-bottom: 30px;
            border-radius: var(--radius);
            transition: transform 0.3s ease;
        }
.about-card:hover {
            transform: translateY(-5px);
        }
.about-card h2 {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 1.5rem;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 10px;
        }
.about-card p {
            color: var(--text);
            line-height: 1.8;
            font-size: 1.05rem;
        }
.about-card ul {
            color: var(--text);
            padding-left: 20px;
            line-height: 2;
        }
.about-card ul li {
            margin-bottom: 10px;
        }
.about-card i {
            color: var(--accent);
            margin-right: 10px;
        }
.feature-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
.feature-item {
            flex: 1;
            min-width: 200px;
            padding: 20px;
            border: 1px solid var(--border);
            background: var(--card-bg);
            box-shadow: var(--shadow);
            border-radius: var(--radius);
        }
.feature-item i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 15px;
            display: block;
        }
.feature-item h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text);
        }
.feature-item p {
            font-size: 0.9rem;
            line-height: 1.6;
            color: var(--text);
        }
.timeline {
            position: relative;
            padding: 20px 0;
        }
.timeline-item {
            padding-left: 40px;
            margin-bottom: 30px;
            position: relative;
            border-left: 3px solid var(--accent);
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 0;
            width: 13px;
            height: 13px;
            background: var(--primary);
            border-radius: 50%;
            border: 2px solid var(--accent);
        }
.timeline-item h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 10px;
        }
.timeline-item p {
            color: var(--text);
            line-height: 1.6;
        }
.data-stats {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
            margin: 30px 0;
        }
.stat-item {
            text-align: center;
            padding: 20px;
            background: var(--card-bg);
            border: 2px solid var(--border);
            box-shadow: var(--shadow);
            border-radius: var(--radius);
            min-width: 150px;
        }
.stat-item .number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }
.stat-item .label {
            font-size: 0.9rem;
            color: var(--text);
            margin-top: 5px;
            display: block;
        }
.about-hero h1 {
                font-size: 1.8rem;
            }
.about-hero p {
                font-size: 1rem;
            }
.about-card {
                padding: 20px;
            }

/* --- 子页面追加 --- */
/* 本页专属微调样式 */
    .disclaimer-hero {
      background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
      padding: 70px 0 50px;
      margin-bottom: 50px;
      color: #ffffff;
      box-shadow: var(--shadow);
      border-bottom: 3px solid var(--border);
    }
.disclaimer-hero h1 {
      font-size: 2.6rem;
      font-weight: 800;
      letter-spacing: -0.5px;
      color: #ffffff;
    }
.disclaimer-hero p {
      font-size: 1.1rem;
      opacity: 0.95;
      margin-top: 12px;
      max-width: 700px;
    }
.legal-card {
      background: var(--card-bg);
      border: 2px solid var(--border);
      box-shadow: var(--shadow);
      padding: 30px;
      margin-bottom: 30px;
      transition: transform 0.2s ease;
    }
.legal-card:hover {
      transform: translate(-2px, -2px);
      box-shadow: 6px 6px 0 0 var(--border);
    }
.legal-card h2 {
      font-size: 1.45rem;
      font-weight: 700;
      margin-bottom: 18px;
      padding-bottom: 12px;
      border-bottom: 3px solid var(--primary);
      display: inline-block;
      color: var(--text);
    }
.legal-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-top: 20px;
      margin-bottom: 10px;
      color: var(--primary);
    }
.legal-card p, .legal-card li {
      color: #334155;
      line-height: 1.8;
      font-size: 0.95rem;
    }
.legal-card ul {
      padding-left: 20px;
    }
.legal-card li {
      margin-bottom: 8px;
    }
.highlight-box {
      background: #eff6ff;
      border-left: 4px solid var(--primary);
      padding: 15px 20px;
      margin: 20px 0;
      font-size: 0.95rem;
    }
.update-date {
      display: inline-block;
      background: var(--primary);
      color: #ffffff;
      padding: 4px 14px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-bottom: 15px;
    }
.back-home {
      margin-top: 10px;
    }
.disclaimer-hero h1 {
        font-size: 1.9rem;
      }
.legal-card {
        padding: 20px;
      }