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

/* ============================================================
   CSS 变量 & 基础重置
   ============================================================ */
:root {
  --c-green: #87ff71;
  --c-blue: #01cdfe;
  --c-dark: #192617;
  --c-dark2: #0f1a0e;
  --c-dark3: #1e3020;
  --c-purple: #b967ff;
  --c-pink: #ff71ce;
  --c-text: #d4f5cc;
  --c-text-dim: #7aaa70;
  --c-border: rgba(135,255,113,0.18);
  --c-card-bg: rgba(25,38,23,0.85);
  --c-header-bg: rgba(15,26,14,0.95);
  --font-display: 'Orbitron', 'Exo 2', monospace;
  --font-body: 'Exo 2', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --max-w: 1200px;
  --gutter: 1.5rem;
  --header-h: 64px;
  --transition: 0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--c-dark2);
  color: var(--c-text);
}

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

a { color: var(--c-green); text-decoration: none; transition: color var(--transition), text-shadow var(--transition); }
a:hover { color: var(--c-blue); text-shadow: 0 0 8px var(--c-blue); }
a:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

/* ============================================================
   全站包裹
   ============================================================ */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(1,205,254,0.04) 0%, transparent 30%),
    var(--c-dark2);
}

/* ============================================================
   页头 & 汉堡按钮
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  background: var(--c-header-bg);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  backdrop-filter: blur(12px);
}

.brand-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--c-green);
}

.logo-text-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-green);
  text-shadow: 0 0 12px var(--c-green), 0 0 24px rgba(135,255,113,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--c-green);
  border-radius: 6px;
}

.site-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.nav-toggle {
  background: none;
  border: 1.5px solid var(--c-green);
  border-radius: 6px;
  cursor: pointer;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav-toggle:hover {
  border-color: var(--c-blue);
  box-shadow: 0 0 8px var(--c-blue);
}

.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-green);
  border-radius: 2px;
  transition: background var(--transition);
}

.nav-toggle:hover .burger-bar { background: var(--c-blue); }

/* ============================================================
   全屏遮罩菜单
   ============================================================ */
.fullscreen-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,18,10,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(16px);
}

.fullscreen-nav.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-close {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  background: none;
  border: 1.5px solid var(--c-green);
  border-radius: 6px;
  color: var(--c-green);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px 14px;
  min-height: 44px;
  min-width: 44px;
  transition: all var(--transition);
}

.nav-close:hover { border-color: var(--c-pink); color: var(--c-pink); box-shadow: 0 0 10px var(--c-pink); }

.fullscreen-nav nav ol {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  padding: 0;
}

.fullscreen-nav nav ol li a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--c-text);
  padding: 0.85rem 2rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  min-height: 44px;
  line-height: 1.3;
}

.fullscreen-nav nav ol li a:hover,
.fullscreen-nav nav ol li a[aria-current="page"] {
  color: var(--c-green);
  text-shadow: 0 0 10px var(--c-green);
  border-bottom-color: var(--c-border);
}

/* ============================================================
   扫描线叠加
   ============================================================ */
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  z-index: 1;
  border-radius: inherit;
}

/* ============================================================
   首页 Hero
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(135deg, #0f1a0e 0%, #0a1520 50%, #1a0a20 100%);
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(135,255,113,0.08);
  white-space: nowrap;
  user-select: none;
  letter-spacing: 0.05em;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 4rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-copy h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--c-green);
  text-shadow: 0 0 20px rgba(135,255,113,0.5), 0 0 40px rgba(135,255,113,0.2);
  letter-spacing: 0.06em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--c-text-dim);
  max-width: 480px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue));
  color: var(--c-dark2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  letter-spacing: 0.08em;
  align-self: flex-start;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(135,255,113,0.3);
  min-height: 44px;
}

.hero-cta:hover {
  box-shadow: 0 0 30px rgba(135,255,113,0.6), 0 0 60px rgba(1,205,254,0.3);
  transform: translateY(-2px);
  color: var(--c-dark2);
  text-shadow: none;
}

.hero-deco {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(1,205,254,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,205,254,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(500px) rotateX(35deg);
  transform-origin: bottom center;
  border-radius: 0 0 12px 12px;
}

.deco-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--c-blue), var(--c-purple), var(--c-pink));
  box-shadow: 0 0 40px rgba(1,205,254,0.4), 0 0 80px rgba(185,103,255,0.3);
  position: relative;
  z-index: 2;
  animation: orb-pulse 4s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(1,205,254,0.4), 0 0 80px rgba(185,103,255,0.3); }
  50% { transform: scale(1.06); box-shadow: 0 0 60px rgba(1,205,254,0.6), 0 0 100px rgba(185,103,255,0.4); }
}

/* ============================================================
   频道 Hero
   ============================================================ */
.channel-hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1520 0%, #0f1a0e 100%);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
}

.channel-hero-bg-text {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(1,205,254,0.1);
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.channel-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 3rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.channel-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-blue);
  text-shadow: 0 0 8px var(--c-blue);
  text-transform: uppercase;
}

.channel-hero-inner h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--c-green);
  text-shadow: 0 0 16px rgba(135,255,113,0.4);
}

.channel-hero-inner p {
  color: var(--c-text-dim);
  max-width: 600px;
  font-size: 1.05rem;
}

/* ============================================================
   标签 Hero
   ============================================================ */
.tag-hero {
  position: relative;
  margin-top: var(--header-h);
  padding: 3rem var(--gutter);
  background: linear-gradient(90deg, rgba(185,103,255,0.12) 0%, rgba(1,205,254,0.06) 100%);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.tag-label-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tag-label-prefix {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-purple);
  text-shadow: 0 0 8px var(--c-purple);
  text-transform: uppercase;
}

.tag-label-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-blue);
  text-shadow: 0 0 16px rgba(1,205,254,0.5);
}

/* ============================================================
   主内容区
   ============================================================ */
main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem var(--gutter);
}

.article-main {
  margin-top: var(--header-h);
}

.content-section {
  margin-bottom: 3rem;
}

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: flex-start;
}

.content-body {
  min-width: 0;
}

/* ============================================================
   h1 页面标题
   ============================================================ */
h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--c-green);
  text-shadow: 0 0 14px rgba(135,255,113,0.35);
  margin-bottom: 0.75rem;
}

.article-header-section h1 {
  margin-top: 1rem;
}

/* ============================================================
   日期
   ============================================================ */
.page-date, .page-date-mod {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
  margin-right: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   正文排版
   ============================================================ */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  max-width: 68ch;
}

.prose p { margin-bottom: 1.2em; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-blue);
  text-shadow: 0 0 8px rgba(1,205,254,0.3);
  margin: 2em 0 0.75em;
  letter-spacing: 0.06em;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--c-green);
  margin: 1.5em 0 0.6em;
  letter-spacing: 0.04em;
}
.prose ul, .prose ol {
  margin: 0.75em 0 1em 1.5em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--c-blue); }
.prose a:hover { color: var(--c-green); }
.prose strong { color: var(--c-green); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--c-green);
  padding: 0.75rem 1.25rem;
  margin: 1.5em 0;
  background: rgba(135,255,113,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text-dim);
  font-style: italic;
}
.prose code {
  background: rgba(1,205,254,0.1);
  color: var(--c-blue);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}
.prose pre {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5em 0;
}
.prose pre code {
  background: none;
  padding: 0;
  color: var(--c-text);
}
.prose img { margin: 1.5em 0; }

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  margin-bottom: 1rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}
.breadcrumb ol li {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--c-text-dim);
}
.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 0.4rem;
  color: var(--c-text-dim);
}
.breadcrumb a { color: var(--c-text-dim); }
.breadcrumb a:hover { color: var(--c-green); }
.breadcrumb li[aria-current="page"] { color: var(--c-green); }

/* ============================================================
   侧边栏
   ============================================================ */
.content-aside {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.content-aside h2 {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  text-shadow: 0 0 6px rgba(1,205,254,0.3);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.content-aside h3 {
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-green);
  margin: 1.2rem 0 0.6rem;
}

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

.aside-nav-list li a {
  display: block;
  font-size: 0.9rem;
  color: var(--c-text-dim);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1.4;
}

.aside-nav-list li a:hover {
  color: var(--c-green);
  border-left-color: var(--c-green);
  background: rgba(135,255,113,0.05);
  text-shadow: none;
}

/* ============================================================
   区块标题
   ============================================================ */
.section-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--c-blue);
  text-shadow: 0 0 10px rgba(1,205,254,0.35);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border);
  letter-spacing: 0.08em;
}

/* ============================================================
   卡片网格（频道）
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-grid li { list-style: none; }

.channel-card, .child-card, .tag-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.channel-card:hover, .child-card:hover, .tag-card:hover {
  border-color: var(--c-green);
  box-shadow: 0 4px 24px rgba(135,255,113,0.12), 0 0 0 1px rgba(135,255,113,0.12);
  transform: translateY(-3px);
}

.channel-card h3, .child-card h3, .tag-card h3 {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.channel-card h3 a, .child-card h3 a, .tag-card h3 a {
  color: var(--c-green);
  transition: color var(--transition), text-shadow var(--transition);
}

.channel-card h3 a:hover, .child-card h3 a:hover, .tag-card h3 a:hover {
  color: var(--c-blue);
  text-shadow: 0 0 8px var(--c-blue);
}

.channel-card p, .child-card p, .tag-card p {
  font-size: 0.9rem;
  color: var(--c-text-dim);
  line-height: 1.6;
  flex: 1;
}

.channel-card time, .child-card time, .tag-card time {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.card-link {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-blue);
  letter-spacing: 0.06em;
  align-self: flex-start;
  padding: 0.3rem 0;
}

.card-link:hover { color: var(--c-green); }

.card-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(135,255,113,0.25);
  letter-spacing: 0.1em;
}

/* ============================================================
   子页列表（栏目页）
   ============================================================ */
.child-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.child-grid li { list-style: none; }

/* ============================================================
   文章列表（首页）
   ============================================================ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem;
  align-items: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.article-card:hover {
  border-color: var(--c-blue);
  box-shadow: 0 0 16px rgba(1,205,254,0.1);
}

.article-card h3 {
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  grid-column: 1;
}

.article-card h3 a { color: var(--c-text); }
.article-card h3 a:hover { color: var(--c-green); text-shadow: 0 0 8px var(--c-green); }

.article-card p {
  font-size: 0.88rem;
  color: var(--c-text-dim);
  grid-column: 1;
  line-height: 1.5;
}

.article-card time {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}

/* ============================================================
   标签页列表
   ============================================================ */
.tag-item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tag-item-list li { list-style: none; }

/* ============================================================
   About 页特有
   ============================================================ */
.about-header-section h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.about-aside h3 {
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-green);
  margin: 1.2rem 0 0.5rem;
}

.about-aside p {
  font-size: 0.88rem;
  color: var(--c-text-dim);
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-green);
  text-shadow: 0 0 16px rgba(135,255,113,0.4);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  letter-spacing: 0.06em;
}

/* ============================================================
   Privacy 页特有
   ============================================================ */
.privacy-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-purple);
  text-shadow: 0 0 8px var(--c-purple);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

/* ============================================================
   文章页 Hero 图
   ============================================================ */
.article-hero-wrap {
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.article-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   页脚
   ============================================================ */
footer {
  border-top: 1px solid var(--c-border);
  padding: 1.5rem var(--gutter);
  text-align: center;
  background: rgba(10,18,10,0.6);
}

footer p {
  font-size: 0.88rem;
  color: var(--c-text-dim);
  margin-bottom: 0.4rem;
}

footer p a {
  color: var(--c-text-dim);
  transition: color var(--transition);
}

footer p a:hover { color: var(--c-green); text-shadow: 0 0 6px var(--c-green); }

footer small {
  font-size: 0.78rem;
  color: rgba(122,170,112,0.5);
  display: block;
}

/* ============================================================
   h2/h3 > span 装饰
   ============================================================ */
.section-title span,
.content-aside h2 span,
.content-aside h3 span,
.channel-card h3 span,
.child-card h3 span,
.tag-card h3 span,
.article-card h3 span {
  display: inline;
}

/* ============================================================
   Scroll Reveal 动效
   ============================================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orb-pulse, .deco-orb {
    animation: none;
  }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-deco { display: none; }
  .content-with-aside {
    grid-template-columns: 1fr;
  }
  .content-aside {
    position: static;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 1rem;
  }
  .hero-section {
    min-height: 60vh;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .child-grid {
    grid-template-columns: 1fr;
  }
  .tag-item-list {
    grid-template-columns: 1fr;
  }
  .article-card {
    grid-template-columns: 1fr;
  }
  .article-card time {
    grid-column: 1;
    grid-row: auto;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .hero-bg-text {
    font-size: 5rem;
  }
  .article-hero-img {
    height: 200px;
  }
}

/* ============================================================
   Glitch 动画（标题装饰用）
   ============================================================ */
@keyframes glitch-shift {
  0%, 95%, 100% { clip-path: none; transform: none; }
  96% { clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); transform: translateX(3px); }
  97% { clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); transform: translateX(-3px); }
  98% { clip-path: none; transform: none; }
}

.hero-copy h1 {
  animation: glitch-shift 8s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 { animation: none; }
}
