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

/* ==============================
   CSS 自定义属性
============================== */
:root {
  --c-green: #69ff69;
  --c-cyan: #00ffff;
  --c-dark: #172617;
  --c-dark2: #1e321e;
  --c-dark3: #0f1a0f;
  --c-surface: rgba(25, 50, 25, 0.72);
  --c-glass: rgba(105, 255, 105, 0.07);
  --c-glass-border: rgba(105, 255, 105, 0.22);
  --c-text: #d8ffd8;
  --c-text-muted: #88c888;
  --c-link: #69ff69;
  --c-link-hover: #00ffff;
  --c-accent: #00ffff;

  --chrome-grad: linear-gradient(135deg, #69ff69 0%, #00ffff 40%, #69ff69 60%, #a0ffa0 100%);
  --hero-grad: linear-gradient(160deg, #0f1a0f 0%, #172617 55%, #1e321e 100%);
  --slash-grad: linear-gradient(105deg, #69ff69 0%, #00ffff 50%, transparent 100%);

  --r-card: 18px;
  --r-btn: 50px;
  --nav-h: 60px;

  --font-head: 'Poppins', 'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --shadow-glow-green: 0 0 18px rgba(105,255,105,0.45), 0 0 40px rgba(105,255,105,0.18);
  --shadow-glow-cyan: 0 0 18px rgba(0,255,255,0.45), 0 0 40px rgba(0,255,255,0.18);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.45), 0 1px 0 rgba(105,255,105,0.12) inset;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background-color: var(--c-dark3);
  color: var(--c-text);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 16px);
}

a {
  color: var(--c-link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus-visible {
  color: var(--c-link-hover);
  text-decoration: underline;
  outline: none;
}
a:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
  border-radius: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

hr {
  border: none;
  height: 2px;
  background: var(--chrome-grad);
  border-radius: 2px;
  margin: 0.6em 0 1.4em;
  opacity: 0.7;
}

ul, ol { list-style: none; }

/* ==============================
   导航（底部固定条）
============================== */
.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 26, 15, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1.5px solid var(--c-glass-border);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.5), 0 -1px 0 rgba(105,255,105,0.1) inset;
}

.nav-bar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 8px;
}

.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-green);
  text-shadow: var(--shadow-glow-green);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 8px;
  min-height: 40px;
  display: flex;
  align-items: center;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-brand:hover {
  color: var(--c-cyan);
  text-shadow: var(--shadow-glow-cyan);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text-muted);
  padding: 10px 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--c-green);
  background: rgba(105,255,105,0.09);
  text-decoration: none;
}
.nav-links a[aria-current="page"] {
  color: var(--c-cyan);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-search input {
  background: rgba(105,255,105,0.08);
  border: 1px solid var(--c-glass-border);
  border-radius: 20px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 8px 14px;
  min-height: 36px;
  width: 130px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-search input::placeholder { color: var(--c-text-muted); }
.nav-search input:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 8px rgba(0,255,255,0.3);
}
.nav-search button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-height: 40px;
  min-width: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav-search button:hover { background: rgba(105,255,105,0.1); }

/* ==============================
   面包屑
============================== */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 1.2em;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-green); }
.breadcrumb span[aria-hidden] { color: var(--c-text-muted); }

/* ==============================
   按钮
============================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--chrome-grad);
  color: #0a1a0a;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  min-height: 48px;
  border-radius: var(--r-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow-green);
  transition: filter 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}
.btn-primary:hover {
  filter: brightness(1.12) saturate(1.2);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
  color: #0a1a0a;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--c-green);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 26px;
  min-height: 44px;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--c-green);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-secondary:hover {
  background: rgba(105,255,105,0.12);
  box-shadow: var(--shadow-glow-green);
  color: var(--c-green);
  text-decoration: none;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-cyan);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 0;
  min-height: 40px;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  transition: color 0.2s;
}
.btn-back:hover { color: var(--c-green); text-decoration: none; }

/* ==============================
   主内容公共
============================== */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* page-content 里来自 CMS 的 HTML */
.page-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text);
}
.page-content h2 {
  font-size: 1.35rem;
  margin: 2em 0 0.5em;
  color: var(--c-green);
}
.page-content h3 {
  font-size: 1.1rem;
  margin: 1.6em 0 0.4em;
  color: var(--c-cyan);
}
.page-content p { margin-bottom: 1em; }
.page-content ul, .page-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.4em; }
.page-content a { color: var(--c-green); border-bottom: 1px solid rgba(105,255,105,0.35); }
.page-content a:hover { color: var(--c-cyan); border-color: var(--c-cyan); }
.page-content strong { color: var(--c-green); font-weight: 600; }
.page-content em { color: var(--c-cyan); font-style: normal; font-weight: 500; }
.page-content blockquote {
  border-left: 3px solid var(--c-green);
  margin: 1.5em 0;
  padding: 0.8em 1.2em;
  background: var(--c-glass);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  color: var(--c-text-muted);
  font-style: italic;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}
.page-content th {
  background: rgba(105,255,105,0.1);
  color: var(--c-green);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(105,255,105,0.3);
}
.page-content td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(105,255,105,0.1);
}
.page-content tr:hover td { background: rgba(105,255,105,0.04); }

/* ==============================
   首页 Hero
============================== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hero-grad);
  margin: -40px -20px 48px;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(105,255,105,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.1rem;
  color: rgba(105,255,105,0.35);
  letter-spacing: 8px;
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 5px 14px;
  border: 1px solid rgba(0,255,255,0.35);
  border-radius: 20px;
  background: rgba(0,255,255,0.07);
}

.hero-h1 {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 30px rgba(105,255,105,0.3);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--c-text-muted);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-slash {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--slash-grad);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: 0.28;
}

/* ==============================
   玻璃卡片列表
============================== */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: cards;
}

.card-list li {
  counter-increment: cards;
}

.card-glass {
  background: var(--c-glass);
  border: 1.5px solid var(--c-glass-border);
  border-radius: var(--r-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  overflow: hidden;
}
.card-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,255,0.45);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), var(--shadow-glow-cyan);
}

.card-glass a {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  gap: 8px;
  text-decoration: none;
  min-height: 160px;
}
.card-glass a:hover { text-decoration: none; }

.card-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-cyan);
  text-transform: uppercase;
}

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

.card-desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  flex: 1;
}

.card-count {
  font-size: 0.78rem;
  color: var(--c-green);
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-count::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--c-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--c-green);
}

/* ==============================
   文章列表（首页 recent）
============================== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: items;
}

.article-list li {
  counter-increment: items;
}

.article-list li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.article-list li a:hover {
  background: var(--c-glass);
  border-color: var(--c-glass-border);
  text-decoration: none;
}

.list-title {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--c-text);
  flex: 1;
  line-height: 1.45;
}

.list-date {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==============================
   专题页
============================== */
.topic-hero {
  background: linear-gradient(135deg, #0f1a0f 0%, #172617 100%);
  margin: -40px -20px 40px;
  padding: 60px 20px 40px;
  border-bottom: 2px solid rgba(105,255,105,0.18);
  position: relative;
  overflow: hidden;
}
.topic-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.topic-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 0 24px rgba(105,255,105,0.25);
}

.topic-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 560px;
  margin-bottom: 0;
}

.topic-meta {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 12px;
}

/* 子页列表 */
.children-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: child;
}

.children-list li {
  counter-increment: child;
}

.children-list li a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--c-glass);
  border: 1.5px solid var(--c-glass-border);
  border-radius: var(--r-card);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
}
.children-list li a:hover {
  border-color: rgba(0,255,255,0.4);
  background: rgba(0,255,255,0.05);
  transform: translateX(4px);
  text-decoration: none;
}

.item-num {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(105,255,105,0.35);
  line-height: 1;
  min-width: 36px;
  flex-shrink: 0;
  padding-top: 2px;
}

.item-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.item-body strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.35;
}
.item-body small {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}
.item-date {
  font-size: 0.78rem;
  color: rgba(0,255,255,0.6);
}

/* ==============================
   文章页
============================== */
.article-header-section {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(105,255,105,0.15);
}

.article-header-section h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(105,255,105,0.2);
  line-height: 1.25;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 10px;
}
.article-meta time { color: rgba(0,255,255,0.7); }

.article-hero-wrap {
  margin-bottom: 24px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-glass-border);
}
.article-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-body-section {
  margin-bottom: 48px;
}

.related-section {
  margin-bottom: 32px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.related-list li a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.related-list li a::before {
  content: '→ ';
  color: var(--c-green);
}
.related-list li a:hover {
  background: var(--c-glass);
  border-color: var(--c-glass-border);
  color: var(--c-text);
  text-decoration: none;
}

.back-section {
  margin-top: 32px;
}

/* ==============================
   About 页
============================== */
.about-hero-section {
  margin: -40px -20px 40px;
  padding: 60px 20px 40px;
  background: linear-gradient(140deg, #0f1a0f 0%, #1a2e1a 100%);
  border-bottom: 2px solid rgba(0,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.about-hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(105,255,105,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.about-badge, .privacy-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-dark);
  background: var(--c-green);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.about-hero-section h1 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.about-meta {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  position: relative;
  z-index: 1;
}

.about-content-section {
  margin-bottom: 40px;
}

.about-topic-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-links-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(105,255,105,0.12);
}
.about-links-section p {
  font-size: 0.95rem;
}

/* ==============================
   Privacy 页
============================== */
.privacy-header-section {
  margin: -40px -20px 40px;
  padding: 60px 20px 40px;
  background: linear-gradient(140deg, #0f1a0f 0%, #172617 100%);
  border-bottom: 2px solid rgba(105,255,105,0.15);
}

.privacy-header-section h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.privacy-meta {
  font-size: 0.82rem;
  color: var(--c-text-muted);
}
.privacy-intro {
  margin-top: 14px;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

.privacy-body-section {
  margin-bottom: 40px;
}

.privacy-nav-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(105,255,105,0.12);
}

/* ==============================
   段落标题装饰（h2 + hr 结构）
============================== */
.topics-section h2,
.recent-section h2,
.topic-children h2,
.related-section h2,
.about-topics-section h2,
.about-links-section h2,
.privacy-nav-section h2 {
  font-size: 1.25rem;
  color: var(--c-green);
  text-shadow: 0 0 16px rgba(105,255,105,0.3);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* ==============================
   页脚
============================== */
.site-footer {
  background: var(--c-dark3);
  border-top: 1.5px solid rgba(105,255,105,0.15);
  padding: 48px 20px 100px;
  margin-top: 60px;
}

.footer-form-block {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 28px 28px;
  background: var(--c-glass);
  border: 1.5px solid var(--c-glass-border);
  border-radius: var(--r-card);
  text-align: center;
}

.footer-form-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-green);
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.footer-contact input,
.footer-contact textarea {
  background: rgba(105,255,105,0.05);
  border: 1px solid var(--c-glass-border);
  border-radius: 10px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 11px 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-contact input::placeholder,
.footer-contact textarea::placeholder { color: var(--c-text-muted); }
.footer-contact input:focus,
.footer-contact textarea:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 8px rgba(0,255,255,0.25);
}

.footer-contact .btn-secondary {
  align-self: center;
  margin-top: 4px;
}

.footer-cols {
  max-width: 860px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col dt {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(105,255,105,0.2);
}

.footer-col dd {
  font-size: 0.87rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin-bottom: 6px;
}
.footer-col dd a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col dd a:hover { color: var(--c-green); text-decoration: none; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(105,255,105,0.1);
  max-width: 860px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin: 0;
}

/* ==============================
   时间标签通用
============================== */
time {
  font-variant-numeric: tabular-nums;
}

/* ==============================
   动效（减弱偏好时关闭）
============================== */
@media (prefers-reduced-motion: no-preference) {
  .card-glass {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }
  .btn-primary {
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  }
  .children-list li a {
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
  }
}

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

/* ==============================
   响应式断点
============================== */
@media (max-width: 768px) {
  main {
    padding: 28px 16px 48px;
  }

  .hero-section {
    margin: -28px -16px 36px;
    padding: 60px 16px 48px;
    min-height: 70vh;
  }

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

  .hero-sub {
    font-size: 0.97rem;
  }

  .card-list {
    grid-template-columns: 1fr;
  }

  .topic-hero {
    margin: -28px -16px 32px;
    padding: 48px 16px 32px;
  }

  .about-hero-section,
  .privacy-header-section {
    margin: -28px -16px 32px;
    padding: 48px 16px 32px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-form-block {
    padding: 20px 16px;
  }

  .site-footer {
    padding: 36px 16px 90px;
  }

  .nav-bar {
    padding: 0 10px;
    gap: 4px;
  }

  .nav-brand {
    font-size: 0.88rem;
    padding: 10px 4px;
  }

  .nav-links a {
    font-size: 0.75rem;
    padding: 10px 6px;
  }

  .nav-search input {
    width: 90px;
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-h: 56px;
  }

  body {
    padding-bottom: calc(var(--nav-h) + 8px);
  }

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

  .children-list li a {
    padding: 14px 14px;
  }

  .card-glass a {
    padding: 18px 16px;
  }

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

  .nav-search {
    display: none;
  }
}

@media (min-width: 1024px) {
  main {
    padding: 56px 40px 80px;
  }

  .hero-section {
    margin: -56px -40px 56px;
    padding: 120px 40px 80px;
  }

  .topic-hero {
    margin: -56px -40px 48px;
    padding: 80px 40px 56px;
  }

  .about-hero-section,
  .privacy-header-section {
    margin: -56px -40px 48px;
    padding: 80px 40px 56px;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .nav-search input {
    width: 180px;
  }
}
