/* ============================================================
   87福利网 · Retro-Futurism / Synthwave 主题样式
   ============================================================ */

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

/* ---------- CSS 变量 ---------- */
:root {
  --red: #ff0000;
  --pink: #ff006e;
  --dark: #1a1a2e;
  --darker: #0d0d1a;
  --mid: #16213e;
  --surface: #1e1e3a;
  --surface2: #252548;
  --text: #e8e8f0;
  --text-muted: #9090b0;
  --cyan: #00ffff;
  --neon-glow-red: 0 0 8px #ff0000, 0 0 20px #ff000088;
  --neon-glow-pink: 0 0 8px #ff006e, 0 0 20px #ff006e88;
  --neon-glow-cyan: 0 0 8px #00ffff, 0 0 20px #00ffff55;
  --radius: 18px;
  --radius-sm: 10px;
  --font-head: 'Anton', 'Impact', sans-serif;
  --font-body: 'Epilogue', system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
  --bnav-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--darker);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: var(--bnav-h);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover { color: var(--red); text-shadow: var(--neon-glow-red); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
input, button { font-family: var(--font-body); font-size: 1rem; }

/* ---------- CRT 扫描线叠层 ---------- */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  mix-blend-mode: multiply;
}
.crt-overlay::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

/* ---------- 像素网格背景 ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,0,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,110,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ---------- Glitch 动效 ---------- */
@keyframes glitch-skew {
  0%  { transform: skewX(0deg); }
  5%  { transform: skewX(-3deg); }
  10% { transform: skewX(3deg); }
  15% { transform: skewX(0deg); }
  100%{ transform: skewX(0deg); }
}
@keyframes glitch-clip1 {
  0%  { clip-path: inset(0 0 95% 0); transform: translate(-4px, 0); }
  20% { clip-path: inset(40% 0 50% 0); transform: translate(4px, 0); }
  40% { clip-path: inset(80% 0 5% 0); transform: translate(-2px, 0); }
  60% { clip-path: inset(20% 0 70% 0); transform: translate(3px, 0); }
  80% { clip-path: inset(60% 0 30% 0); transform: translate(-3px, 0); }
  100%{ clip-path: inset(0 0 95% 0); transform: translate(0, 0); }
}
@keyframes glitch-clip2 {
  0%  { clip-path: inset(50% 0 40% 0); transform: translate(4px, 0); }
  25% { clip-path: inset(10% 0 85% 0); transform: translate(-4px, 0); }
  50% { clip-path: inset(70% 0 20% 0); transform: translate(2px, 0); }
  75% { clip-path: inset(30% 0 60% 0); transform: translate(-2px, 0); }
  100%{ clip-path: inset(50% 0 40% 0); transform: translate(4px, 0); }
}

.glitch {
  position: relative;
  animation: glitch-skew 4s infinite linear;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.glitch::before {
  color: var(--cyan);
  animation: glitch-clip1 3s infinite steps(1);
  opacity: .7;
}
.glitch::after {
  color: var(--pink);
  animation: glitch-clip2 4s infinite steps(1);
  opacity: .7;
}

@media (prefers-reduced-motion: reduce) {
  .glitch, .glitch::before, .glitch::after { animation: none; }
  .glitch::before, .glitch::after { display: none; }
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,0,110,0.3);
  box-shadow: 0 2px 20px rgba(255,0,110,0.15);
  height: var(--nav-h);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 0 1.5rem;
  overflow: hidden;
}
.nav-brand {
  flex-shrink: 0;
}
.nav-brand a {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--red);
  text-shadow: var(--neon-glow-red);
  letter-spacing: .03em;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pink);
  border-color: var(--pink);
  text-shadow: var(--neon-glow-pink);
  background: rgba(255,0,110,0.08);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}
.nav-search-input {
  background: var(--surface);
  border: 1px solid rgba(255,0,110,0.3);
  border-radius: 999px;
  color: var(--text);
  padding: .35rem .9rem;
  width: 140px;
  font-size: .85rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.nav-search-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 8px rgba(255,0,110,0.3);
}
.nav-search-btn {
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .35rem .9rem;
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  min-height: 40px;
  transition: background .2s, box-shadow .2s;
}
.nav-search-btn:hover {
  background: var(--red);
  box-shadow: var(--neon-glow-red);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: .75rem 1.5rem;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb span[aria-hidden] { color: var(--pink); opacity: .6; }

/* ---------- Hero 满屏斜切（首页） ---------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5) saturate(1.4);
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.9) 0%, rgba(26,26,46,.3) 60%, transparent 100%);
  z-index: 1;
}
.hero-skew {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--darker);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: right;
  padding: 2rem 3rem 8rem 2rem;
  max-width: 700px;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: var(--neon-glow-red), 0 2px 20px rgba(0,0,0,.8);
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(232,232,240,.85);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: .06em;
  padding: .8rem 2.2rem;
  border-radius: 999px;
  box-shadow: var(--neon-glow-pink);
  transition: transform .2s, box-shadow .2s;
  min-height: 48px;
}
.hero-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--neon-glow-red), 0 8px 30px rgba(255,0,0,.4);
  color: #fff;
  text-shadow: none;
}

/* ---------- 频道 Hero（栏目页） ---------- */
.channel-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  border-bottom: 2px solid rgba(255,0,110,0.4);
  padding: 3rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.channel-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,0,110,0.12) 0%, transparent 70%);
}
.channel-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: var(--neon-glow-pink);
  margin-bottom: .8rem;
  position: relative;
  z-index: 1;
}
.channel-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ---------- About Hero ---------- */
.about-hero {
  background: linear-gradient(160deg, var(--dark) 0%, #0d0d2e 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,255,255,0.2);
}
.about-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--cyan);
  text-shadow: var(--neon-glow-cyan);
  margin-bottom: .8rem;
}
.about-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Privacy Header ---------- */
.privacy-header {
  background: var(--dark);
  padding: 3rem 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,0,0,.2);
}
.privacy-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--red);
  text-shadow: var(--neon-glow-red);
  margin-bottom: .6rem;
}
.privacy-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ---------- Section 标签 ---------- */
.section-label {
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .15em;
  color: var(--pink);
  text-shadow: var(--neon-glow-pink);
  padding: .3rem 0;
  margin: 2.5rem 0 1rem;
  border-left: 3px solid var(--pink);
  padding-left: .75rem;
}

/* ---------- 主页布局 ---------- */
.home-main {
  position: relative;
  z-index: 1;
}
.home-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ---------- 频道卡片网格 ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.channel-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--text);
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--pink));
  opacity: 0;
  transition: opacity .2s;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,0,110,0.25);
  background: var(--surface2);
  border-color: rgba(255,0,110,0.3);
  color: var(--text);
  text-shadow: none;
}
.channel-card:hover::before { opacity: 1; }
.channel-card .card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: .3rem;
}
.channel-card strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
  letter-spacing: .02em;
  line-height: 1.3;
}
.channel-card span {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.article-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: var(--text);
  border: 1px solid transparent;
  transition: all .2s;
}
.article-item:hover {
  border-color: rgba(255,0,0,.35);
  background: var(--surface2);
  transform: translateY(-2px);
  color: var(--text);
  text-shadow: none;
  box-shadow: 0 4px 20px rgba(255,0,0,.15);
}
.art-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.art-date {
  font-size: .78rem;
  color: var(--pink);
  font-weight: 500;
}
.art-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- 正文容器 ---------- */
.content-body {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 800px;
}
.content-body h2,
.content-body h3,
.content-body h4 {
  font-family: var(--font-head);
  color: #fff;
  margin: 1.8rem 0 .8rem;
  line-height: 1.2;
}
.content-body h2 { font-size: 1.5rem; }
.content-body h3 { font-size: 1.2rem; color: var(--pink); }
.content-body p { margin-bottom: 1rem; }
.content-body ul, .content-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.content-body li { margin-bottom: .4rem; }
.content-body a { color: var(--pink); }
.content-body a:hover { color: var(--red); }
.content-body strong { color: #fff; font-weight: 700; }
.content-body code {
  background: var(--surface);
  border: 1px solid rgba(255,0,110,.2);
  border-radius: 4px;
  padding: .1em .4em;
  font-size: .9em;
  color: var(--cyan);
  font-family: monospace;
}
.content-body pre {
  background: var(--surface);
  border: 1px solid rgba(255,0,110,.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  font-family: monospace;
  font-size: .88em;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.content-body blockquote {
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1rem 0;
}
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.content-body th {
  background: var(--surface);
  color: var(--pink);
  font-weight: 700;
  padding: .6rem .8rem;
  border: 1px solid rgba(255,0,110,.2);
  text-align: left;
}
.content-body td {
  padding: .5rem .8rem;
  border: 1px solid rgba(255,255,255,.06);
}
.content-body tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* ---------- 频道页布局 ---------- */
.channel-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.channel-layout {
  display: flex;
  gap: 2rem;
  padding: 2rem 1.5rem 3rem;
  align-items: flex-start;
}
.channel-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.channel-content {
  flex: 1;
  min-width: 0;
}
.child-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.child-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--text);
  border: 1px solid transparent;
  transition: all .2s;
}
.child-card:hover {
  border-color: rgba(255,0,110,.35);
  background: var(--surface2);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255,0,110,.2);
  color: var(--text);
  text-shadow: none;
}
.child-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.child-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.child-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.child-card time {
  font-size: .78rem;
  color: var(--pink);
}

/* ---------- 侧边栏 ---------- */
.sidebar-label {
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--red);
  text-shadow: var(--neon-glow-red);
  margin-bottom: .6rem;
  border-bottom: 1px solid rgba(255,0,0,.25);
  padding-bottom: .4rem;
}
.sidebar-link {
  display: block;
  font-size: .88rem;
  color: var(--text-muted);
  padding: .45rem .6rem;
  border-radius: var(--radius-sm);
  margin-bottom: .25rem;
  transition: all .2s;
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
}
.sidebar-link:hover {
  color: var(--pink);
  background: rgba(255,0,110,.08);
  border-color: rgba(255,0,110,.2);
  text-shadow: none;
}
.sidebar-back {
  color: var(--cyan);
  font-weight: 600;
}
.sidebar-back:hover { color: var(--cyan); }

/* ---------- 文章页布局 ---------- */
.article-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.article-layout {
  display: flex;
  gap: 2rem;
  padding: 0 1.5rem 3rem;
  align-items: flex-start;
}
.article-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.article-content {
  flex: 1;
  min-width: 0;
}
.art-hero { margin-bottom: 1.5rem; }
.art-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,0,110,.2);
}
.article-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: .8rem;
  text-shadow: 0 0 20px rgba(255,0,0,.3);
}
.art-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.art-date-badge {
  font-size: .82rem;
  color: var(--pink);
  font-weight: 600;
  background: rgba(255,0,110,.1);
  border: 1px solid rgba(255,0,110,.25);
  border-radius: 999px;
  padding: .25rem .75rem;
}
.art-date-mod { color: var(--text-muted); background: transparent; border-color: rgba(255,255,255,.1); }
.article-body {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-head);
  color: #fff;
  margin: 1.8rem 0 .8rem;
}
.article-body h2 { font-size: 1.4rem; }
.article-body h3 { font-size: 1.15rem; color: var(--pink); }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.article-body li { margin-bottom: .4rem; }
.article-body a { color: var(--pink); }
.article-body a:hover { color: var(--red); }
.article-body strong { color: #fff; font-weight: 700; }
.article-body code {
  background: var(--surface);
  border: 1px solid rgba(255,0,110,.2);
  border-radius: 4px;
  padding: .1em .4em;
  font-size: .9em;
  color: var(--cyan);
  font-family: monospace;
}
.article-body pre {
  background: var(--surface);
  border: 1px solid rgba(255,0,110,.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  font-size: .88em;
  color: var(--cyan);
  font-family: monospace;
  margin-bottom: 1rem;
}
.article-body blockquote {
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1rem 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.article-body th {
  background: var(--surface);
  color: var(--pink);
  font-weight: 700;
  padding: .6rem .8rem;
  border: 1px solid rgba(255,0,110,.2);
  text-align: left;
}
.article-body td {
  padding: .5rem .8rem;
  border: 1px solid rgba(255,255,255,.06);
}
.article-body tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* ---------- 相关文章 ---------- */
.related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,0,110,.15);
}
.related-heading {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.related-heading span { display: inline; }
.deco-bar {
  display: inline-block;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), transparent);
  max-width: 200px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.related-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: var(--text);
  border: 1px solid transparent;
  transition: all .2s;
}
.related-item:hover {
  border-color: rgba(255,0,110,.3);
  background: var(--surface2);
  color: var(--text);
  text-shadow: none;
  transform: translateY(-2px);
}
.related-item strong {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.related-item span {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- About 布局 ---------- */
.about-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.about-layout {
  display: flex;
  gap: 2rem;
  padding: 2rem 1.5rem 3rem;
  align-items: flex-start;
}
.about-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.about-content {
  flex: 1;
  min-width: 0;
}
.about-body {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.about-body h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--cyan);
  margin: 1.8rem 0 .8rem;
}
.about-body p { margin-bottom: 1rem; }
.about-body a { color: var(--pink); }
.about-channel-link {
  display: flex;
  align-items: center;
  font-size: .88rem;
  color: var(--text-muted);
  padding: .45rem .6rem;
  border-radius: var(--radius-sm);
  margin-bottom: .25rem;
  transition: all .2s;
  min-height: 40px;
  border: 1px solid transparent;
}
.about-channel-link:hover {
  color: var(--cyan);
  background: rgba(0,255,255,.06);
  border-color: rgba(0,255,255,.15);
  text-shadow: none;
}

/* ---------- Privacy 布局 ---------- */
.privacy-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.privacy-layout {
  display: flex;
  gap: 2rem;
  padding: 2rem 1.5rem 3rem;
  align-items: flex-start;
}
.privacy-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.privacy-content {
  flex: 1;
  min-width: 0;
}
.privacy-body {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.privacy-body h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--red);
  margin: 1.8rem 0 .8rem;
}
.privacy-body p { margin-bottom: 1rem; }
.privacy-body a { color: var(--pink); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,0,110,.2);
  position: relative;
  z-index: 1;
  margin-bottom: var(--bnav-h);
}
.footer-cta {
  background: linear-gradient(135deg, rgba(255,0,0,.12), rgba(255,0,110,.1));
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,0,110,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.footer-cta-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: .04em;
  text-shadow: var(--neon-glow-pink);
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .06em;
  padding: .75rem 2rem;
  border-radius: 999px;
  box-shadow: var(--neon-glow-pink);
  transition: transform .2s, box-shadow .2s;
  min-height: 48px;
}
.footer-cta-btn:hover {
  transform: scale(1.04);
  box-shadow: var(--neon-glow-red), 0 6px 20px rgba(255,0,0,.35);
  color: #fff;
  text-shadow: none;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color .2s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--pink); text-shadow: none; }
.footer-copy {
  padding: 1rem 1.5rem;
  text-align: center;
}
.footer-copy p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 底部固定导航条 ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,0,110,0.35);
  box-shadow: 0 -4px 24px rgba(255,0,110,0.15);
  height: var(--bnav-h);
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 0 1rem;
}
.bottom-nav-brand {
  flex-shrink: 0;
}
.bottom-nav-brand a {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--red);
  text-shadow: var(--neon-glow-red);
  white-space: nowrap;
}
.bottom-nav-pills {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.bottom-nav-pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,0,110,.2);
  min-height: 40px;
  transition: all .2s;
}
.pill:hover {
  color: var(--pink);
  border-color: var(--pink);
  background: rgba(255,0,110,.1);
  text-shadow: none;
}
.bottom-nav-search {
  display: flex;
  gap: .3rem;
  flex-shrink: 0;
}
.bnav-search-input {
  background: var(--surface);
  border: 1px solid rgba(255,0,110,.25);
  border-radius: 999px;
  color: var(--text);
  padding: .3rem .8rem;
  width: 110px;
  font-size: .8rem;
  outline: none;
  transition: border-color .2s;
}
.bnav-search-input:focus {
  border-color: var(--pink);
}
.bnav-search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  transition: background .2s;
}
.bnav-search-btn:hover { background: var(--pink); }

/* ---------- 滚动视差（纯 CSS hint） ---------- */
@supports (animation-timeline: scroll()) {
  .hero-media .hero-img {
    animation: none;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .channel-layout,
  .article-layout,
  .about-layout,
  .privacy-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  .channel-sidebar,
  .article-sidebar,
  .about-sidebar,
  .privacy-sidebar {
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
  }
  .sidebar-label {
    width: 100%;
    margin-bottom: .2rem;
  }
  .sidebar-link,
  .about-channel-link {
    flex: 0 0 auto;
    width: auto;
  }
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .main-nav { padding: 0 .75rem; gap: .5rem; }
  .nav-search { display: none; }
  .nav-links a { font-size: .75rem; padding: .3rem .6rem; }
  .hero-content { padding: 1.5rem 1.2rem 6rem 1.2rem; text-align: right; }
  .hero-h1 { font-size: 2rem; }
  .channel-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
  .article-list { grid-template-columns: 1fr; }
  .home-article, .channel-main, .article-main, .about-main, .privacy-main {
    padding: 0;
  }
  .home-article { padding: 0 1rem 2rem; }
  .channel-layout,
  .article-layout,
  .about-layout,
  .privacy-layout {
    padding: 1rem 1rem 2rem;
  }
  .bottom-nav { padding: 0 .6rem; gap: .5rem; }
  .bottom-nav-brand a { font-size: .85rem; }
  .bnav-search-input { width: 80px; }
  .channel-hero { padding: 2rem 1rem 1.8rem; }
  .about-hero { padding: 2.5rem 1rem 2rem; }
  .privacy-header { padding: 2rem 1rem 1.5rem; }
  .breadcrumb { padding: .6rem 1rem; }
  .child-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
  .hero-h1 { font-size: 1.7rem; }
  .hero-cta { font-size: .95rem; padding: .7rem 1.5rem; }
  .bottom-nav-pills { gap: .25rem; }
  .pill { font-size: .7rem; padding: .25rem .55rem; }
}
