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

/* ===== 变量 ===== */
:root {
  --red: #ff0000;
  --purple: #8b00ff;
  --dark: #261717;
  --dark-2: #1a0f0f;
  --dark-3: #0e0808;
  --red-dim: rgba(255,0,0,0.15);
  --purple-dim: rgba(139,0,255,0.12);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-hover: rgba(255,255,255,0.13);
  --text-primary: rgba(255,255,255,0.95);
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.4);
  --radius-card: 10px;
  --radius-pill: 999px;
  --blur-sm: 10px;
  --blur-md: 15px;
  --blur-lg: 20px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --header-h: 112px;
  --transition: 0.25s ease;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--dark-3);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
body.theme-dark { background-color: var(--dark-3); }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple); }
ul, ol { list-style: none; }
input, button { font-family: var(--font); }

/* ===== 背景氛围 ===== */
.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255,0,0,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(139,0,255,0.15) 0%, transparent 70%),
    linear-gradient(160deg, #1a0808 0%, #0e0808 50%, #140a1a 100%);
  z-index: 0;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.glow-orb--red {
  width: 500px; height: 500px;
  background: rgba(255,0,0,0.12);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.glow-orb--purple {
  width: 400px; height: 400px;
  background: rgba(139,0,255,0.10);
  bottom: -80px; right: -80px;
  animation-delay: -6s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .glow-orb { animation: none; }
}

/* ===== 玻璃通用 ===== */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-md));
  backdrop-filter: blur(var(--blur-md));
  border-radius: var(--radius-card);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-sm));
  backdrop-filter: blur(var(--blur-sm));
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.glass-card:hover {
  transform: translateY(-4px);
  background: var(--glass-hover);
  box-shadow: 0 12px 40px rgba(255,0,0,0.15), 0 4px 16px rgba(139,0,255,0.1);
}

.card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.glass-card:hover .card-accent { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .glass-card { transition: none; }
  .card-accent { transition: none; }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,8,8,0.85);
  -webkit-backdrop-filter: blur(var(--blur-lg));
  backdrop-filter: blur(var(--blur-lg));
  border-bottom: 1px solid var(--glass-border);
}

.header-ticker {
  background: linear-gradient(90deg, var(--red), var(--purple));
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
}

.brand-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: box-shadow var(--transition);
}
.brand-icon:hover { box-shadow: 0 0 20px rgba(255,0,0,0.5); color: #fff; }

.brand-monogram { line-height: 1; }

.main-nav { flex: 1; overflow-x: auto; }
.main-nav p {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 4px 0;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all var(--transition);
  min-height: 40px;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,0,0,0.18);
  border-color: rgba(255,0,0,0.4);
}
.main-nav a.active { color: var(--red); }

/* ===== 页面通用布局 ===== */
.page-main {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 60px;
}

/* 带侧边栏的文章布局 */
.content-article,
.about-article,
.privacy-article,
.tag-article,
.category-article,
.entry-article {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 32px;
}

/* ===== 侧边栏 ===== */
.content-aside {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.aside-inner {
  padding: 20px;
}

.aside-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.aside-inner h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.aside-inner ul { display: flex; flex-direction: column; gap: 4px; }
.aside-inner ul li a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.aside-inner ul li a:hover {
  color: var(--text-primary);
  background: var(--red-dim);
}

.aside-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.aside-tags small { width: 100%; }

/* ===== 正文区域 ===== */
.article-body,
.category-body,
.entry-main-section,
.about-main-section,
.privacy-main-section,
.tag-body-section {
  flex: 1;
  min-width: 0;
}

.article-header {
  margin-bottom: 24px;
}
.article-header h1 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 40%, rgba(255,0,0,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 眉题通用 ===== */
.eyebrow-label,
small.eyebrow-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ===== Hero 首页 ===== */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero-slash {
  position: absolute;
  top: 0; bottom: 0;
  left: 48%;
  width: 120px;
  background: linear-gradient(180deg, rgba(255,0,0,0.25), rgba(139,0,255,0.25));
  transform: skewX(-8deg);
  z-index: 0;
}

.hero-left {
  flex: 1;
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
}

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

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,0,0,0.15), rgba(139,0,255,0.2));
}

.hero-right {
  flex: 1;
  padding: 60px 48px 60px 60px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-right h1 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 50%, rgba(255,0,0,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 胶囊按钮 ===== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  min-height: 44px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 0 20px rgba(255,0,0,0.4);
}
.btn-secondary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-secondary:hover {
  background: transparent;
  color: var(--purple);
  box-shadow: 0 0 20px rgba(139,0,255,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: var(--glass-hover);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .btn-pill { transition: none; }
}

/* ===== 首页主体 ===== */
.page-main--home {
  padding-top: 40px;
}

.home-article {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.home-article > article { width: 100%; }

.home-content-section .section-intro {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-md));
  backdrop-filter: blur(var(--blur-md));
  border-radius: var(--radius-card);
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* 分类网格 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cat-card .card-media {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(139,0,255,0.1));
}
.cat-card .card-media img { width: 100%; height: 100%; object-fit: cover; }

.cat-card .card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-card .card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.cat-card .card-body h3 a { color: var(--text-primary); }
.cat-card .card-body h3 a:hover { color: var(--red); }
.cat-card .card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.card-count { font-size: 12px; color: var(--purple); font-weight: 600; }

/* 精选条目网格 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.entry-card {
  display: flex;
  flex-direction: column;
}
.entry-card .card-media {
  height: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,0,0,0.08), rgba(139,0,255,0.08));
}
.entry-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.entry-card .card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.entry-card .card-body h3 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.entry-card .card-body h3 a { color: var(--text-primary); }
.entry-card .card-body h3 a:hover { color: var(--red); }
.entry-card .card-body p { font-size: 12px; color: var(--text-secondary); }

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(255,0,0,0.2);
  border: 1px solid rgba(255,0,0,0.35);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  width: fit-content;
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  min-height: 40px;
  text-decoration: none;
}
.tag-pill:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(255,0,0,0.18);
  box-shadow: 0 0 12px rgba(255,0,0,0.25);
}
.tag-pill--sm { padding: 5px 12px; font-size: 12px; min-height: 30px; }

/* ===== 栏目页 Hero ===== */
.cat-hero {
  position: relative;
  z-index: 1;
  margin-top: var(--header-h);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(255,0,0,0.12), rgba(139,0,255,0.1)), var(--glass-bg);
}

.cat-hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cat-hero h1 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
}

.cat-hero p { font-size: 15px; color: var(--text-secondary); max-width: 560px; }

.cat-hero-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid var(--red);
  box-shadow: 0 0 30px rgba(255,0,0,0.3);
}
.count-number { font-size: 32px; font-weight: 700; color: var(--red); line-height: 1; }
.count-label { font-size: 12px; color: var(--text-muted); }

/* 子页列表 */
.page-main--category { padding-top: 40px; }

.category-intro {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-md));
  backdrop-filter: blur(var(--blur-md));
  border-radius: var(--radius-card);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.children-block { margin-top: 8px; }

.children-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.child-card {
  display: flex;
  flex-direction: column;
}
.child-card .card-media {
  height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,0,0,0.08), rgba(139,0,255,0.08));
}
.child-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media--empty { background: linear-gradient(135deg, rgba(255,0,0,0.06), rgba(139,0,255,0.06)); }

.child-card .card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.child-card .card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.child-card .card-body h3 a { color: var(--text-primary); }
.child-card .card-body h3 a:hover { color: var(--red); }
.child-card .card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  padding: 6px 0;
  min-height: 36px;
  transition: color var(--transition);
}
.card-link:hover { color: var(--purple); }

/* ===== 条目页 ===== */
.page-main--entry { padding-top: 40px; }

.entry-hero {
  margin-bottom: 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-height: 400px;
}
.entry-hero img, .entry-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-header {
  padding: 24px 28px;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-primary); }

.entry-header h1 {
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #fff;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.meta-date { font-size: 13px; color: var(--text-muted); }
.meta-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(139,0,255,0.2);
  border: 1px solid rgba(139,0,255,0.4);
  color: #c060ff;
  min-height: 28px;
}
.meta-cat:hover { background: rgba(139,0,255,0.35); color: #fff; }

.entry-body {
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.entry-body h2, .entry-body h3 {
  color: var(--text-primary);
  margin: 24px 0 12px;
}
.entry-body p { margin-bottom: 16px; }
.entry-body a { color: var(--red); }
.entry-body a:hover { color: var(--purple); }

.related-section { margin-top: 32px; }
.rel-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.rel-card { display: flex; flex-direction: column; }
.rel-card .card-media {
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,0,0,0.07), rgba(139,0,255,0.07));
}
.rel-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.rel-card .card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rel-card .card-body h3 { font-size: 13px; font-weight: 600; line-height: 1.4; }
.rel-card .card-body h3 a { color: var(--text-primary); }
.rel-card .card-body h3 a:hover { color: var(--red); }
.rel-card .card-body p { font-size: 12px; color: var(--text-secondary); }

/* ===== 标签页 Hero ===== */
.tag-hero {
  position: relative;
  z-index: 1;
  margin-top: var(--header-h);
  padding: 40px 40px;
  background: linear-gradient(135deg, rgba(139,0,255,0.12), rgba(255,0,0,0.08)), var(--glass-bg);
}

.tag-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(139,0,255,0.25);
  border: 1px solid rgba(139,0,255,0.5);
  color: #c060ff;
  margin-bottom: 12px;
}

.tag-hero h1 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
}

.tag-hero p { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; }

.other-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.other-tags-label { font-size: 13px; color: var(--text-muted); }

.page-main--tag { padding-top: 40px; }

.tag-intro {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-md));
  backdrop-filter: blur(var(--blur-md));
  border-radius: var(--radius-card);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.tag-entries { margin-top: 8px; }
.tag-entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tag-entry-card { display: flex; flex-direction: column; }
.tag-entry-card .card-media {
  height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,0,0,0.07), rgba(139,0,255,0.07));
}
.tag-entry-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.tag-entry-card .card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tag-entry-card .card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.tag-entry-card .card-body h3 a { color: var(--text-primary); }
.tag-entry-card .card-body h3 a:hover { color: var(--red); }
.tag-entry-card .card-body p { font-size: 13px; color: var(--text-secondary); flex: 1; }

/* ===== About ===== */
.page-main--about { padding-top: 40px; }

.about-header {
  padding: 28px 32px;
  margin-bottom: 20px;
}
.about-header h1 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 12px;
}

.about-body {
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.about-body h2, .about-body h3 { color: var(--text-primary); margin: 20px 0 10px; }
.about-body p { margin-bottom: 14px; }
.about-body a { color: var(--red); }

.about-features {
  padding: 28px 32px;
}
.about-features h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-3px); }
.feature-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.feature-item h3 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .feature-item { transition: none; }
}

/* ===== Privacy ===== */
.page-main--privacy { padding-top: 40px; }

.privacy-header {
  padding: 28px 32px;
  margin-bottom: 20px;
}
.privacy-header h1 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 12px;
}

.privacy-body {
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.privacy-body h2, .privacy-body h3 { color: var(--text-primary); margin: 22px 0 10px; }
.privacy-body p { margin-bottom: 14px; }
.privacy-body ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.privacy-body ul li { margin-bottom: 6px; }
.privacy-body a { color: var(--red); }

/* ===== Default layout ===== */
.page-main--default { padding-top: 40px; }

.article-body {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-md));
  backdrop-filter: blur(var(--blur-md));
  border-radius: var(--radius-card);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.article-body h2, .article-body h3 { color: var(--text-primary); margin: 20px 0 10px; }
.article-body p { margin-bottom: 14px; }
.article-body a { color: var(--red); }

/* ===== 日期 ===== */
.entry-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.entry-dates time {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 栏目页 sections small+h2 ===== */
.categories-section small,
.featured-section small,
.tags-section small,
.children-block small,
.related-section small,
.tag-entries small {
  display: block;
  margin-bottom: 6px;
}

.categories-section h2,
.featured-section h2,
.tags-section h2,
.children-block h2,
.related-section h2,
.tag-entries h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(10,5,5,0.9);
  border-top: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-lg));
  backdrop-filter: blur(var(--blur-lg));
  margin-top: 60px;
}

.footer-form-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 32px;
  text-align: center;
  transform: translateY(-32px);
  background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(139,0,255,0.1)), var(--glass-bg);
}
.footer-form-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 10px;
}
.footer-form-block p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.subscribe-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  min-height: 44px;
  transition: border-color var(--transition);
}
.subscribe-form input[type="email"]:focus {
  border-color: var(--red);
}
.subscribe-form input[type="email"]::placeholder { color: var(--text-muted); }
.subscribe-form button {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, var(--red), var(--purple));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: opacity var(--transition), transform var(--transition);
}
.subscribe-form button:hover { opacity: 0.85; transform: scale(1.02); }

@media (prefers-reduced-motion: reduce) {
  .subscribe-form button { transition: none; }
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 40px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-col address {
  font-style: normal;
}
.footer-col address p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  padding: 5px 0;
  min-height: 30px;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 20px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .hero-right { padding: 40px 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 104px; }

  .header-inner { padding: 0 12px; gap: 10px; }
  .main-nav p { gap: 4px; }
  .main-nav a { padding: 8px 10px; font-size: 12px; }

  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 40px;
  }
  .hero-slash { display: none; }
  .hero-left { width: 100%; height: 240px; }
  .hero-right { padding: 28px 20px; width: 100%; }
  .hero-right h1 { font-size: 26px; }
  .hero-actions { gap: 10px; }

  .content-article,
  .about-article,
  .privacy-article,
  .tag-article,
  .category-article,
  .entry-article {
    flex-direction: column;
  }
  .content-aside {
    width: 100%;
    position: static;
  }

  .cat-hero {
    flex-direction: column;
    padding: 28px 20px;
    gap: 20px;
    align-items: flex-start;
  }
  .cat-hero-count { align-self: flex-start; }

  .tag-hero { padding: 28px 20px; }

  .cat-grid,
  .entry-grid,
  .children-list,
  .tag-entry-list,
  .rel-list {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px 32px;
    gap: 20px;
  }

  .footer-form-block { margin: 0 16px; padding: 28px 20px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form input[type="email"],
  .subscribe-form button { width: 100%; }

  .page-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .entry-body,
  .about-body,
  .privacy-body {
    padding: 20px 16px;
  }

  .entry-header { padding: 18px 16px; }
  .about-header { padding: 20px 16px; }
  .privacy-header { padding: 20px 16px; }

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

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .main-nav a { font-size: 11px; padding: 8px 8px; }
}
