@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ===========================
   CSS 变量与基础重置
   =========================== */
:root {
  --c-primary: #ff0000;
  --c-secondary: #ff006e;
  --c-dark: #1a1a2e;
  --c-darker: #0d0d1a;
  --c-navy: #16213e;
  --c-cyan: #00ffff;
  --c-text: #e0e0f0;
  --c-text-muted: #9090b0;
  --c-border: rgba(255,0,110,0.3);
  --c-card-bg: rgba(26,26,46,0.95);
  --c-glass: rgba(255,0,110,0.07);
  --r-card: 18px;
  --shadow-neon-red: 0 0 8px #ff0000, 0 0 20px rgba(255,0,0,0.4);
  --shadow-neon-pink: 0 0 8px #ff006e, 0 0 20px rgba(255,0,110,0.4);
  --shadow-card: 0 4px 24px rgba(255,0,110,0.15), 0 2px 8px rgba(0,0,0,0.5);
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;
  --nav-w: 240px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--c-darker);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===========================
   CRT 扫描线叠层
   =========================== */
.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  animation: crt-flicker 8s infinite;
}

@keyframes crt-flicker {
  0%,100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.85; }
  94% { opacity: 1; }
  97% { opacity: 0.9; }
  98% { opacity: 1; }
}

.scan-lines {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,0,110,0.04) 3px,
    rgba(255,0,110,0.04) 4px
  );
}

/* ===========================
   像素网格装饰
   =========================== */
.pixel-grid {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,0,110,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,110,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ===========================
   布局骨架
   =========================== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* 左侧导航侧栏 */
.site-aside {
  width: var(--nav-w);
  min-height: 100vh;
  background: var(--c-dark);
  border-right: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.site-aside nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 0 1rem;
}

.nav-brand {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: var(--shadow-neon-red);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.site-aside nav > ul {
  list-style: none;
  padding: 0 0.75rem;
  flex: 1;
}

.site-aside nav > ul > li > a {
  display: block;
  padding: 0.7rem 0.75rem;
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 400;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition), text-shadow var(--transition);
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.site-aside nav > ul > li > a:hover,
.site-aside nav > ul > li > a.active {
  color: var(--c-secondary);
  background: var(--c-glass);
  text-shadow: 0 0 8px rgba(255,0,110,0.6);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 1rem 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-neon-pink);
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 44px;
  justify-content: center;
}

.nav-cta:hover {
  box-shadow: 0 0 16px #ff006e, 0 0 40px rgba(255,0,110,0.5);
  transform: translateY(-1px);
}

.cta-icon {
  font-size: 0.75rem;
}

/* 主内容区 */
.page-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ===========================
   Hero 区域（首页）
   =========================== */
.hero-section {
  position: relative;
  min-height: 45vh;
  background: linear-gradient(135deg, var(--c-dark) 0%, #0d0d2e 60%, #1a0010 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 3rem 3rem;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,0,110,0.12);
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pixel-dot {
  width: 8px;
  height: 8px;
  background: var(--c-secondary);
  box-shadow: 0 0 8px var(--c-secondary);
  display: inline-block;
  animation: pixel-blink 1.5s infinite;
}

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

.hero-eyebrow small,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255,0,0,0.3);
}

.hero-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 500px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-neon-red);
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 44px;
}

.btn-primary:hover {
  box-shadow: 0 0 20px #ff0000, 0 0 50px rgba(255,0,0,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}

.btn-ghost:hover {
  border-color: var(--c-secondary);
  color: var(--c-secondary);
  box-shadow: 0 0 12px rgba(255,0,110,0.2);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--c-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: text-shadow var(--transition), color var(--transition);
}

.btn-link:hover {
  text-shadow: 0 0 8px var(--c-secondary);
  color: #fff;
}

/* Hero 瓦片 */
.hero-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  flex-shrink: 0;
}

.tile {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,0,110,0.25);
}

.tile-1 { grid-column: span 2; }

.tile-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tile-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: var(--shadow-neon-red);
}

/* ===========================
   页面内部 Hero（非首页）
   =========================== */
.page-hero-section {
  position: relative;
  padding: 3rem 3rem 2.5rem;
  background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-darker) 100%);
  border-bottom: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  overflow: hidden;
}

.hero-deco,
.faq-hero-deco,
.about-hero-deco,
.privacy-hero-deco,
.compare-vs-deco,
.review-hero-img,
.section-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.compare-vs-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 0;
}

.vs-text {
  font-family: var(--font-head);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,0,0,0.1);
  pointer-events: none;
  user-select: none;
}

.hero-meta-aside {
  position: relative;
  z-index: 1;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.25rem 1rem;
  min-width: 160px;
  max-width: 200px;
}

.hero-meta-aside .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.page-hero-text {
  position: relative;
  z-index: 1;
}

.page-bg-num {
  position: absolute;
  top: -1rem;
  right: 0;
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,0,110,0.1);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.page-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  position: relative;
}

.page-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.page-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ===========================
   排行榜 Hero 专属
   =========================== */
.ranking-hero {
  grid-template-columns: auto auto 1fr;
}

.hero-aside-info {
  position: relative;
  z-index: 1;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.25rem 1rem;
  min-width: 150px;
}

.aside-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.75rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-val {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
}

.neon-text {
  color: var(--c-secondary);
  text-shadow: var(--shadow-neon-pink);
}

/* ===========================
   评测 Hero 专属
   =========================== */
.review-hero {
  grid-template-columns: 180px auto 1fr;
}

.review-hero-img {
  position: relative;
  width: 180px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
}

.review-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-fig {
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  border: 1px solid var(--c-border);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,0,110,0.1) 10px,
    rgba(255,0,110,0.1) 20px
  );
}

/* ===========================
   内容区块
   =========================== */
.content-section {
  position: relative;
  padding: 3rem;
}

.section-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.section-header .eyebrow {
  display: block;
  margin-bottom: 0.4rem;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.section-sub {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

/* ===========================
   排行榜卡片
   =========================== */
.rank-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.rank-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.rank-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
}

.rank-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255,0,110,0.25), 0 2px 8px rgba(0,0,0,0.5);
  border-color: rgba(255,0,110,0.5);
}

.rank-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,0,0,0.4);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  text-align: center;
}

.rank-card-body .eyebrow {
  display: block;
  margin-bottom: 0.3rem;
}

.rank-card-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.rank-card-body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}

.rank-card-body h3 a:hover {
  color: var(--c-secondary);
  text-shadow: 0 0 8px rgba(255,0,110,0.5);
}

.rank-card-body p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* ===========================
   排行条目（榜单页）
   =========================== */
.rank-entries-board {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rank-entry {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.rank-entry:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 20px rgba(255,0,110,0.2), 0 4px 16px rgba(0,0,0,0.4);
  border-left-color: var(--c-primary);
}

.rank-badge {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: var(--shadow-neon-red);
  flex-shrink: 0;
  width: 2.5rem;
  line-height: 1;
}

.rank-entry-body .eyebrow {
  display: block;
  margin-bottom: 0.25rem;
}

.rank-entry-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.rank-entry-body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition);
}

.rank-entry-body h3 a:hover {
  color: var(--c-secondary);
}

.rank-entry-body p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}

.entry-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.no-data {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--c-border);
  border-radius: var(--r-card);
}

/* ===========================
   正文 + 侧边栏布局
   =========================== */
.page-content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.compare-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.content-aside {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}

.content-aside .eyebrow {
  display: block;
  margin-bottom: 0.4rem;
}

.content-aside h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.aside-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.aside-links a {
  display: block;
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.aside-links a:hover {
  color: var(--c-secondary);
  background: var(--c-glass);
}

.aside-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}

.aside-stat {
  margin-top: 0.75rem;
}

.aside-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  color: var(--c-secondary);
  letter-spacing: 0.08em;
}

.main-prose {
  position: relative;
  z-index: 1;
  max-width: 72ch;
}

.main-prose h2, .main-prose h3, .main-prose h4 {
  font-family: var(--font-head);
  color: #fff;
  line-height: 1.3;
  margin: 1.5em 0 0.6em;
}

.main-prose h2 { font-size: 1.4rem; }
.main-prose h3 { font-size: 1.15rem; }
.main-prose h4 { font-size: 1rem; color: var(--c-text); }

.main-prose p {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1em;
}

.main-prose a {
  color: var(--c-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-shadow var(--transition);
}

.main-prose a:hover {
  color: var(--c-primary);
  text-shadow: 0 0 6px rgba(255,0,0,0.4);
}

.main-prose ul, .main-prose ol {
  margin: 0.75em 0 1em 1.5em;
  color: var(--c-text);
}

.main-prose li {
  margin-bottom: 0.4em;
  line-height: 1.65;
}

.main-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0;
  font-size: 0.9rem;
}

.main-prose th {
  background: var(--c-navy);
  color: var(--c-secondary);
  padding: 0.65rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--c-border);
}

.main-prose td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,0,110,0.1);
  color: var(--c-text);
}

.main-prose tr:hover td {
  background: var(--c-glass);
}

.main-prose blockquote {
  border-left: 3px solid var(--c-secondary);
  padding: 0.75rem 1.25rem;
  margin: 1.25em 0;
  background: var(--c-glass);
  border-radius: 0 8px 8px 0;
  color: var(--c-text-muted);
  font-style: italic;
}

.main-prose code {
  font-family: var(--font-mono);
  background: rgba(255,0,110,0.1);
  border: 1px solid var(--c-border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--c-secondary);
}

.main-prose time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-muted);
}

/* ===========================
   测评卡片
   =========================== */
.review-section { background: rgba(13,13,26,0.5); }

.review-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(255,0,110,0.2);
}

.review-card-inner {
  padding: 1.5rem;
}

.review-card-inner .eyebrow {
  display: block;
  margin-bottom: 0.4rem;
}

.review-card-inner h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.review-card-inner h3 a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition);
}

.review-card-inner h3 a:hover {
  color: var(--c-secondary);
}

.review-card-inner p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

/* ===========================
   子页列表（article > section）
   =========================== */
.children-section {
  background: rgba(13,13,26,0.4);
}

.child-article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,0,110,0.1);
  position: relative;
  z-index: 1;
}

.child-article:last-child {
  border-bottom: none;
}

.child-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-muted);
  flex-shrink: 0;
  width: 2rem;
  padding-top: 0.15rem;
}

.child-body h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.child-body h3 a {
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--transition);
}

.child-body h3 a:hover {
  color: var(--c-secondary);
}

.child-body time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-text-muted);
}

/* ===========================
   Glitch 动效
   =========================== */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.glitch::before {
  color: var(--c-cyan);
  animation: glitch-top 4s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
  color: var(--c-secondary);
  animation: glitch-bottom 4s infinite linear;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch-top {
  0%,90%,100% { transform: translate(0,0); opacity: 0; }
  92% { transform: translate(-2px, -1px); opacity: 0.7; }
  94% { transform: translate(2px, 0); opacity: 0.7; }
  96% { transform: translate(0,0); opacity: 0; }
}

@keyframes glitch-bottom {
  0%,88%,100% { transform: translate(0,0); opacity: 0; }
  90% { transform: translate(2px, 1px); opacity: 0.7; }
  93% { transform: translate(-2px, 0); opacity: 0.7; }
  95% { transform: translate(0,0); opacity: 0; }
}

/* ===========================
   页脚
   =========================== */
.site-footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 3rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: var(--shadow-neon-red);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-col p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
  display: inline-block;
  padding: 0.2rem 0;
  min-height: 32px;
  line-height: 32px;
}

.footer-col ul li a:hover {
  color: var(--c-secondary);
}

.form-label {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
}

.subscribe-form input[type="email"] {
  flex: 1;
  background: var(--c-darker);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--c-text);
  font-size: 0.82rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  min-height: 40px;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--c-secondary);
  box-shadow: 0 0 8px rgba(255,0,110,0.2);
}

.subscribe-form button {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: box-shadow var(--transition);
  min-height: 40px;
}

.subscribe-form button:hover {
  box-shadow: var(--shadow-neon-pink);
}

.footer-bottom {
  padding: 1rem 3rem;
  border-top: 1px solid rgba(255,0,110,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom span {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.footer-bottom a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--c-secondary);
}

address {
  font-style: normal;
}

/* ===========================
   prefers-reduced-motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .crt-overlay { display: none; }
}

/* ===========================
   桌面端布局调整
   =========================== */
@media (min-width: 1024px) {
  .page-content-section {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .compare-split {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }

  .ranking-section > .content-aside {
    position: sticky;
    top: 1rem;
  }
}

/* ===========================
   平板端
   =========================== */
@media (max-width: 1023px) {
  :root { --nav-w: 200px; }

  .hero-section {
    padding: 2.5rem 2rem;
  }

  .hero-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-tiles {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .tile-1 { grid-column: span 1; }

  .page-hero-section {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1rem;
  }

  .ranking-hero {
    grid-template-columns: 1fr;
  }

  .review-hero {
    grid-template-columns: 1fr;
  }

  .review-hero-img {
    width: 100%;
    height: 180px;
  }

  .hero-meta-aside,
  .hero-aside-info {
    max-width: 100%;
    min-width: unset;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }

  .footer-brand-col {
    grid-column: span 2;
  }

  .content-section {
    padding: 2rem;
  }
}

/* ===========================
   移动端
   =========================== */
@media (max-width: 767px) {
  :root { --nav-w: 0px; }

  .site-wrapper {
    flex-direction: column;
  }

  .site-aside {
    width: 100%;
    min-height: unset;
    height: auto;
    position: sticky;
    top: 0;
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    overflow: visible;
    z-index: 200;
  }

  .site-aside nav {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-aside nav::-webkit-scrollbar {
    display: none;
  }

  .nav-brand {
    padding: 0;
    border-bottom: none;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .site-aside nav > ul {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    padding: 0;
    flex: 1;
    flex-shrink: 0;
  }

  .site-aside nav > ul > li > a {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.55rem 0.6rem;
    min-height: 40px;
    border-radius: 4px;
  }

  .nav-cta {
    margin: 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 40px;
  }

  .hero-section {
    padding: 2rem 1.25rem;
    min-height: 45vh;
  }

  .hero-bg-text {
    font-size: 4rem;
    opacity: 0.5;
  }

  .hero-content {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-h1 {
    font-size: 1.6rem;
  }

  .hero-tiles {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .tile-1 { grid-column: span 1; }

  .tile {
    padding: 0.75rem;
  }

  .tile-num {
    font-size: 1.2rem;
  }

  .page-hero-section {
    padding: 1.5rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-bg-num {
    font-size: 3rem;
    opacity: 0.3;
  }

  .content-section {
    padding: 1.5rem 1.25rem;
  }

  .rank-board {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom {
    padding: 0.75rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .page-content-section {
    grid-template-columns: 1fr;
  }

  .compare-split {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .main-prose {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .rank-entry {
    flex-direction: row;
  }

  .hero-meta-aside,
  .hero-aside-info {
    padding: 1rem;
  }
}

/* ===========================
   小屏幕辅助
   =========================== */
@media (max-width: 375px) {
  .hero-h1 {
    font-size: 1.35rem;
  }

  .page-h1 {
    font-size: 1.25rem;
  }

  .hero-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .tile-1 { grid-column: span 2; }
}
