/* =====================================================
   老湿机导航 — Retro-Futurism / Synthwave 主题样式
   ===================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Calistoga:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS 变量 ---------- */
:root {
  --red:       #ff0000;
  --pink:      #ff006e;
  --dark:      #1a1a2e;
  --dark2:     #16213e;
  --dark3:     #0f3460;
  --neon-cyan: #00ffff;
  --neon-blue: #0080ff;
  --text-base: #e8e8f0;
  --text-muted:#9090b0;
  --text-dim:  #5a5a7a;
  --card-bg:   rgba(255,255,255,0.04);
  --card-border: rgba(255,0,110,0.25);
  --glow-red:  0 0 8px #ff0000, 0 0 20px rgba(255,0,0,0.4);
  --glow-pink: 0 0 8px #ff006e, 0 0 20px rgba(255,0,110,0.4);
  --sidenav-w: 240px;
  --radius:    18px;
  --radius-sm: 8px;
  --ff-head:   'Calistoga', Georgia, serif;
  --ff-body:   'Inter', system-ui, sans-serif;
  --ff-mono:   'JetBrains Mono', 'Courier New', monospace;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* CRT scanlines 全局覆盖层 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 3px; }

img { display: block; max-width: 100%; height: auto; }
ol, ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ---------- Page Shell (sidenav + main) ---------- */
.page-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ---------- Sidenav ---------- */
.sidenav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidenav-w);
  background: var(--dark2);
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidenav::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--pink), var(--red), transparent);
  opacity: 0.6;
}

.sidenav-brand {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,0,110,0.15);
}

.brand-link {
  display: block;
  color: var(--text-base);
}

.brand-text {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--red);
  text-shadow: var(--glow-red);
  display: block;
  letter-spacing: 0.02em;
}

.brand-logo {
  max-height: 40px;
  width: auto;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--ff-mono);
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.sidenav-nav {
  flex: 1;
  padding: 1rem 0;
}

/* 结构抽签：nav > p > a */
.nav-links {
  display: flex;
  flex-direction: column;
}

.nav-links a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all var(--transition);
  font-weight: 500;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pink);
  border-left-color: var(--pink);
  background: rgba(255,0,110,0.07);
  text-shadow: var(--glow-pink);
}

.sidenav-contact {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,0,110,0.15);
}

.contact-label {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Page Main ---------- */
.page-main {
  margin-left: var(--sidenav-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ---------- Animations ---------- */
@keyframes glitch-skew {
  0%, 100% { transform: skewX(0deg); opacity: 1; }
  10%  { transform: skewX(-4deg); opacity: 0.9; }
  30%  { transform: skewX(3deg); opacity: 0.95; }
  50%  { transform: skewX(-2deg); opacity: 0.85; }
  70%  { transform: skewX(1deg); }
  90%  { transform: skewX(-1deg); }
}

@keyframes glow-pulse {
  0%, 100% { text-shadow: var(--glow-red); }
  50% { text-shadow: 0 0 16px #ff0000, 0 0 40px rgba(255,0,0,0.6), 0 0 60px rgba(255,0,0,0.3); }
}

@keyframes scanline-move {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes border-glow {
  0%, 100% { border-color: rgba(255,0,110,0.3); }
  50% { border-color: rgba(255,0,0,0.7); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #200a2e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255,0,110,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3rem;
  padding: 6rem 3rem 6rem calc(var(--sidenav-w) + 2rem - var(--sidenav-w));
  padding-left: 3rem;
  max-width: 1200px;
  width: 100%;
  text-align: right;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  text-align: right;
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--pink);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: var(--glow-pink);
}

.hero-h1 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--ff-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  box-shadow: var(--glow-red);
  min-height: 48px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.hero-btn:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px #ff0000, 0 0 40px rgba(255,0,0,0.5);
}

/* CRT Box decoration */
.hero-visual {
  flex-shrink: 0;
  width: 220px;
}

.crt-box {
  width: 200px;
  height: 200px;
  border: 2px solid var(--pink);
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  box-shadow: var(--glow-pink), inset 0 0 30px rgba(255,0,110,0.1);
  overflow: hidden;
  animation: border-glow 2.5s ease-in-out infinite;
}

.crt-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,0,110,0.05) 3px,
    rgba(255,0,110,0.05) 6px
  );
  pointer-events: none;
}

.crt-glitch-text {
  font-family: var(--ff-mono);
  font-size: 3rem;
  font-weight: 500;
  color: var(--pink);
  text-shadow: var(--glow-pink);
  position: relative;
  z-index: 1;
  animation: glitch-skew 4s ease-in-out infinite;
}

/* Hero slash divider */
.hero-slash {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(135deg, var(--dark2) 49.5%, transparent 50%);
  z-index: 3;
}

/* ---------- Common Section Styles ---------- */
.section-heading {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--text-base);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,0,110,0.2);
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--pink));
  box-shadow: var(--glow-pink);
}

/* ---------- Content Sections ---------- */
.content-section {
  max-width: 800px;
  padding: 2.5rem 3rem;
  margin: 0 auto;
  width: 100%;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4 {
  font-family: var(--ff-head);
  color: var(--text-base);
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.content-section h2 { font-size: 1.4rem; color: var(--pink); }
.content-section h3 { font-size: 1.15rem; }
.content-section p { margin-bottom: 1.2em; color: var(--text-base); }
.content-section a { color: var(--pink); border-bottom: 1px solid rgba(255,0,110,0.3); }
.content-section a:hover { color: var(--red); border-bottom-color: var(--red); }
.content-section ul, .content-section ol { padding-left: 1.5em; margin-bottom: 1.2em; list-style: revert; }
.content-section li { margin-bottom: 0.4em; }
.content-section strong { color: var(--text-base); font-weight: 600; }
.content-section code {
  font-family: var(--ff-mono);
  font-size: 0.875em;
  background: rgba(255,0,110,0.1);
  color: var(--pink);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}
.content-section pre {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.2em;
}
.content-section blockquote {
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.2em;
  font-style: italic;
}

/* ---------- Home: Card Grid ---------- */
.channels-section,
.articles-section {
  max-width: 1000px;
  padding: 2rem 3rem 2.5rem;
  margin: 0 auto;
  width: 100%;
}

/* 结构抽签：ol > li > a + small */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease calc(var(--i, 0) * 0.1s), transform 0.4s ease calc(var(--i, 0) * 0.1s);
}

.card-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--text-base);
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  height: 100%;
}

.card-link:hover {
  border-color: var(--pink);
  background: rgba(255,0,110,0.08);
  box-shadow: 0 0 20px rgba(255,0,110,0.2), 0 4px 24px rgba(0,0,0,0.4);
  transform: translateY(-3px);
  color: var(--text-base);
}

.card-tag {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--pink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  color: #fff;
  display: block;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 0.5rem;
}

/* ---------- Home: Article List ---------- */
.art-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.art-item {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.35s ease calc(var(--i, 0) * 0.08s), transform 0.35s ease calc(var(--i, 0) * 0.08s);
}

.art-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.art-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-base);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.art-link:hover {
  background: rgba(255,0,110,0.06);
  border-color: rgba(255,0,110,0.15);
  color: #fff;
}

.art-date {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.art-title {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Channel Page ---------- */
.channel-hero {
  position: relative;
  padding: 4rem 3rem 3rem;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
  border-bottom: 1px solid rgba(255,0,110,0.15);
  overflow: hidden;
}

.channel-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ch-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.ch-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.ch-h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.ch-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

.ch-hero-deco {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.deco-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--pink));
  opacity: 0.5;
}

.deco-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: var(--glow-pink);
}

/* Channel list */
.ch-list-section {
  max-width: 800px;
  padding: 2rem 3rem 3rem;
  margin: 0 auto;
  width: 100%;
}

.ch-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ch-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease calc(var(--i, 0) * 0.08s), transform 0.35s ease calc(var(--i, 0) * 0.08s);
}

.ch-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.ch-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-base);
  transition: all var(--transition);
}

.ch-link:hover {
  border-color: var(--red);
  background: rgba(255,0,0,0.07);
  color: #fff;
  transform: translateX(4px);
}

.ch-num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--red);
  flex-shrink: 0;
  width: 28px;
}

.ch-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ch-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.ch-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.ch-meta time {
  color: var(--text-dim);
  font-family: var(--ff-mono);
}

.ch-arrow {
  color: var(--pink);
  font-size: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.ch-link:hover .ch-arrow {
  opacity: 1;
}

/* ---------- Article Page ---------- */
.art-main {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem;
  width: 100%;
  flex: 1;
  align-items: flex-start;
}

.art-body {
  flex: 1;
  min-width: 0;
}

.art-header {
  margin-bottom: 2rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-family: var(--ff-mono);
}

.breadcrumb a {
  color: var(--text-dim);
  border-bottom: none;
}

.breadcrumb a:hover {
  color: var(--pink);
}

.art-h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.art-dateline {
  display: flex;
  gap: 1.5rem;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.art-dateline time {
  color: var(--pink);
}

.art-hero-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--card-border);
}

.art-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.art-content {
  padding: 0;
}

.art-related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,0,110,0.15);
}

.related-heading {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sib-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sib-item a,
.sib-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.sib-link:hover {
  color: var(--pink);
  background: rgba(255,0,110,0.06);
  border-color: rgba(255,0,110,0.2);
}

.sib-title {
  flex: 1;
}

.sib-link small time {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Article Sidebar */
.art-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.sidebar-label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.sidebar-links a:hover {
  color: var(--pink);
  border-bottom-color: rgba(255,0,110,0.2);
}

.sidebar-parent-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink);
  display: block;
}

/* ---------- About Page ---------- */
.about-hero {
  position: relative;
  padding: 5rem 3rem 4rem;
  background: var(--dark2);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,0,110,0.15);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.about-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--pink);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
  text-shadow: var(--glow-pink);
}

.about-h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.about-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
}

/* Geometric grid decoration */
.about-hero-grid {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(3, 30px);
  grid-template-rows: repeat(3, 30px);
  gap: 6px;
  opacity: 0.3;
}

.grid-cell {
  display: block;
  border: 1px solid var(--pink);
  border-radius: 3px;
  transition: opacity 0.3s ease calc(var(--gi, 0) * 0.05s);
}

.grid-cell:nth-child(odd) {
  background: rgba(255,0,110,0.15);
}

.about-content {
  padding: 2.5rem 3rem;
}

/* About nav list */
.about-nav-section {
  max-width: 700px;
  padding: 1rem 3rem 3rem;
  margin: 0 auto;
  width: 100%;
}

.about-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.anav-item {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease calc(var(--i, 0) * 0.09s), transform 0.35s ease calc(var(--i, 0) * 0.09s);
}

.anav-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.anav-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-base);
  transition: all var(--transition);
}

.anav-link:hover {
  border-color: var(--pink);
  background: rgba(255,0,110,0.07);
  color: #fff;
}

.anav-num {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--red);
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.anav-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.anav-text strong {
  font-size: 0.95rem;
  color: #fff;
}

.anav-text small {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Privacy Page ---------- */
.privacy-hero {
  padding: 4rem 3rem 3rem;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,0,110,0.15);
}

.privacy-hero-inner {
  max-width: 700px;
}

.privacy-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.privacy-h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.privacy-updated {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.privacy-updated time {
  color: var(--pink);
}

.privacy-content {
  padding: 2.5rem 3rem;
}

.privacy-links-section {
  max-width: 800px;
  padding: 0 3rem 3rem;
  margin: 0 auto;
  width: 100%;
}

.priv-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.priv-link-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--pink);
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.priv-link-list li a:hover {
  border-color: rgba(255,0,110,0.3);
  background: rgba(255,0,110,0.06);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,0,110,0.15);
  padding: 3rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--red);
  text-shadow: var(--glow-red);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 0.15rem 0;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--pink);
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sub-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,0,110,0.25);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  color: var(--text-base);
  font-size: 0.85rem;
  font-family: var(--ff-body);
  transition: border-color var(--transition);
  width: 100%;
}

.sub-input:focus {
  outline: none;
  border-color: var(--pink);
}

.sub-input::placeholder {
  color: var(--text-dim);
}

.sub-btn {
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  min-height: 40px;
  transition: opacity var(--transition), box-shadow var(--transition);
}

.sub-btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 16px rgba(255,0,110,0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--ff-mono);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: color var(--transition);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom-links a:hover {
  color: var(--pink);
}

/* ---------- Mobile Nav Toggle ---------- */
.nav-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  background: var(--dark2);
  border: 1px solid var(--card-border);
  color: var(--pink);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .art-main {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .art-sidebar {
    width: 100%;
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual { display: none; }

  .hero-inner {
    padding: 5rem 2rem 4rem;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  :root { --sidenav-w: 0px; }

  .sidenav {
    width: 260px;
    left: -260px;
    transition: left 0.3s ease;
  }

  .sidenav.open {
    left: 0;
    box-shadow: 4px 0 30px rgba(0,0,0,0.6);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .page-main {
    margin-left: 0;
  }

  .hero-inner {
    padding: 5rem 1.5rem 3rem;
    text-align: right;
  }

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

  .hero-lead {
    font-size: 0.9rem;
  }

  .channels-section,
  .articles-section,
  .content-section {
    padding: 1.75rem 1.5rem;
  }

  .ch-hero-deco { display: none; }

  .channel-hero,
  .about-hero,
  .privacy-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .ch-list-section,
  .about-nav-section,
  .privacy-links-section {
    padding: 1.5rem 1.5rem 2.5rem;
  }

  .about-hero-grid { display: none; }

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

  .site-footer {
    padding: 2rem 1.5rem;
  }

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

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-lead {
    max-width: 100%;
  }

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

  .ch-h1, .about-h1, .privacy-h1, .art-h1 {
    font-size: 1.4rem;
  }

  .art-dateline {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ---------- Mobile nav toggle script hook ---------- */
@media (max-width: 768px) {
  .page-home .page-main > .hero,
  .page-channel .page-main > .channel-hero,
  .page-about .page-main > .about-hero,
  .page-privacy .page-main > .privacy-hero {
    padding-top: 5rem;
  }

  .page-article .art-main {
    padding-top: 4rem;
  }
}
