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

/* ===== 基础重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-bg: #0d0d0d;
  --c-purple: #8000ff;
  --c-pink: #ff00ff;
  --c-purple-dim: rgba(128, 0, 255, 0.18);
  --c-pink-dim: rgba(255, 0, 255, 0.14);
  --c-text: #e0e0e0;
  --c-text-muted: #888;
  --c-border: rgba(128, 0, 255, 0.3);
  --c-border-pink: rgba(255, 0, 255, 0.3);
  --c-card-bg: rgba(18, 6, 30, 0.85);
  --c-sidebar-bg: #090909;
  --sidebar-w: 260px;
  --radius: 10px;
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  color: var(--c-purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover, a:focus-visible {
  color: var(--c-pink);
  text-shadow: 0 0 8px var(--c-pink);
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--c-pink);
  outline-offset: 2px;
  border-radius: 3px;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

/* ===== 扫描线效果 ===== */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
  opacity: 0.55;
}

/* ===== 布局骨架 ===== */
.layout-wrap {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ===== 左侧边栏 ===== */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--c-sidebar-bg);
  border-right: 1px solid var(--c-border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--c-border);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-purple);
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px var(--c-purple), 0 0 24px rgba(128,0,255,0.4);
  white-space: nowrap;
}

.sidebar-search {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(128,0,255,0.12);
}

.search-form {
  display: flex;
  gap: 0;
  background: rgba(128,0,255,0.08);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--c-text);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--c-text-muted);
}

.search-btn {
  background: var(--c-purple-dim);
  border: none;
  color: var(--c-purple);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background var(--transition), color var(--transition);
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: var(--c-purple);
  color: #fff;
}

.sidebar > nav {
  padding: 0.75rem 0;
  flex: 1;
}

.sidebar > nav ul {
  display: flex;
  flex-direction: column;
}

.sidebar > nav ul li a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--c-text-muted);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sidebar > nav ul li a:hover,
.sidebar > nav ul li a:focus-visible {
  color: var(--c-pink);
  border-left-color: var(--c-pink);
  background: rgba(255,0,255,0.06);
  text-shadow: 0 0 8px rgba(255,0,255,0.5);
}

.sidebar > nav ul li a[aria-current="page"] {
  color: var(--c-purple);
  border-left-color: var(--c-purple);
  background: var(--c-purple-dim);
  font-weight: 500;
  text-shadow: 0 0 10px rgba(128,0,255,0.6);
}

.sidebar-footer-note {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(128,0,255,0.12);
  margin-top: auto;
}

.sys-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(128,0,255,0.5);
  letter-spacing: 0.06em;
}

/* ===== 内容区 ===== */
.content-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ===== Glitch 文字 ===== */
@keyframes glitch-clip-1 {
  0%   { clip-path: polygon(0 0%, 100% 0%, 100% 35%, 0 35%); transform: translate(-2px, 0) skewX(-2deg); }
  20%  { clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); transform: translate(2px, 0) skewX(2deg); }
  40%  { clip-path: polygon(0 10%, 100% 10%, 100% 30%, 0 30%); transform: translate(-1px, 0); }
  60%  { clip-path: polygon(0 70%, 100% 70%, 100% 90%, 0 90%); transform: translate(1px, 0) skewX(1deg); }
  80%  { clip-path: polygon(0 20%, 100% 20%, 100% 50%, 0 50%); transform: translate(-2px, 0); }
  100% { clip-path: polygon(0 0%, 100% 0%, 100% 35%, 0 35%); transform: translate(0, 0); }
}

@keyframes glitch-clip-2 {
  0%   { clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%); transform: translate(2px, 0) skewX(2deg); }
  25%  { clip-path: polygon(0 25%, 100% 25%, 100% 45%, 0 45%); transform: translate(-2px, 0); }
  50%  { clip-path: polygon(0 65%, 100% 65%, 100% 85%, 0 85%); transform: translate(1px, 0) skewX(-1deg); }
  75%  { clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%); transform: translate(-1px, 0); }
  100% { clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%); transform: translate(0, 0); }
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: transparent;
}

.glitch-text::before {
  color: var(--c-pink);
  animation: glitch-clip-1 4.5s infinite steps(1);
  opacity: 0;
}

.glitch-text::after {
  color: var(--c-purple);
  animation: glitch-clip-2 5.2s infinite steps(1) 0.5s;
  opacity: 0;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
  opacity: 1;
}

/* ===== Hero 区块 ===== */
.hero-section {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 2.5rem 2.5rem;
  min-height: 45vh;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(128,0,255,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(255,0,255,0.06) 0%, transparent 60%);
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--c-pink);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border: 1px solid var(--c-border-pink);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,0,255,0.06);
}

.hero-h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(128,0,255,0.4);
}

.hero-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 500px;
}

.hero-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hbadge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--c-border);
  color: var(--c-purple);
  background: var(--c-purple-dim);
  letter-spacing: 0.05em;
}

.hbadge--pink {
  border-color: var(--c-border-pink);
  color: var(--c-pink);
  background: rgba(255,0,255,0.1);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.4rem;
  background: var(--c-purple);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  min-height: 44px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 16px rgba(128,0,255,0.45);
}

.cta-btn:hover, .cta-btn:focus-visible {
  background: var(--c-pink);
  box-shadow: 0 0 24px rgba(255,0,255,0.55);
  color: #fff;
  text-shadow: none;
  transform: translateY(-2px);
}

.hero-media {
  flex: 0 0 38%;
  max-width: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 0 32px rgba(128,0,255,0.2);
}

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

.hero-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(128,0,255,0.12) 0%, rgba(255,0,255,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-grid {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(128,0,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128,0,255,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  position: relative;
}

/* ===== 主内容 ===== */
.main-content {
  padding: 2rem 2.5rem;
}

[main] {
  width: 100%;
}

/* ===== 正文文章 ===== */
.page-article,
.guide-article,
.about-article,
.privacy-article {
  width: 100%;
}

.page-content,
.guide-content,
.about-content,
.privacy-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  max-width: 780px;
}

.prose-narrow {
  max-width: 680px;
}

.page-content h2,
.guide-content h2,
.about-content h2,
.privacy-content h2 {
  font-size: 1.35rem;
  color: var(--c-purple);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--c-border);
  text-shadow: 0 0 10px rgba(128,0,255,0.3);
}

.page-content h3,
.guide-content h3,
.about-content h3,
.privacy-content h3 {
  font-size: 1.1rem;
  color: var(--c-pink);
  margin: 1.5rem 0 0.5rem;
}

.page-content p,
.guide-content p,
.about-content p,
.privacy-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.guide-content ul,
.about-content ul,
.privacy-content ul,
.page-content ol,
.guide-content ol,
.about-content ol,
.privacy-content ol {
  margin: 0.75rem 0 1rem 1.4rem;
}

.page-content li,
.guide-content li,
.about-content li,
.privacy-content li {
  margin-bottom: 0.35rem;
}

.page-content a,
.guide-content a,
.about-content a,
.privacy-content a {
  color: var(--c-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover,
.guide-content a:hover,
.about-content a:hover,
.privacy-content a:hover {
  color: var(--c-pink);
}

.page-content strong,
.guide-content strong,
.about-content strong,
.privacy-content strong {
  color: #fff;
  font-weight: 600;
}

.page-content blockquote,
.guide-content blockquote,
.about-content blockquote,
.privacy-content blockquote {
  border-left: 3px solid var(--c-purple);
  padding: 0.75rem 1.25rem;
  background: var(--c-purple-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
  color: var(--c-text-muted);
  font-style: italic;
}

.page-content code,
.guide-content code,
.about-content code,
.privacy-content code {
  font-family: var(--font-mono);
  background: rgba(128,0,255,0.12);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.88rem;
  color: var(--c-pink);
}

.page-content pre,
.guide-content pre,
.about-content pre,
.privacy-content pre {
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.87rem;
  margin: 1rem 0;
}

/* ===== 频道卡片区 ===== */
.channels-section {
  padding: 2rem 2.5rem 2.5rem;
  border-top: 1px solid var(--c-border);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-purple);
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(128,0,255,0.4);
  font-family: var(--font-mono);
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c-border) 0%, transparent 100%);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feat-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 0 var(--c-purple);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.feat-card:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.5), 0 0 16px rgba(128,0,255,0.25);
  border-color: var(--c-purple);
  transform: translateY(-3px);
}

.card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feat-card:hover .card-thumb {
  transform: scale(1.04);
}

.card-body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--c-pink);
  border: 1px solid rgba(255,0,255,0.3);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  width: fit-content;
  background: rgba(255,0,255,0.07);
}

.card-body h3 {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.card-body h3 a {
  color: #fff;
  transition: color var(--transition);
}

.card-body h3 a:hover {
  color: var(--c-pink);
  text-shadow: none;
}

.card-desc {
  font-size: 0.83rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(128,0,255,0.6);
  margin-top: auto;
  padding-top: 0.4rem;
}

/* ===== Guide 页面 ===== */
.guide-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: 1px solid var(--c-border);
  background:
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(128,0,255,0.07) 0%, transparent 70%);
}

.guide-header-text {
  flex: 1;
  min-width: 0;
}

.guide-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-pink);
  border: 1px solid var(--c-border-pink);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  background: rgba(255,0,255,0.06);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.guide-h1 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 16px rgba(128,0,255,0.3);
}

.guide-desc {
  font-size: 0.96rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  max-width: 520px;
}

.guide-hero-media {
  flex: 0 0 35%;
  max-width: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

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

.article-dates {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(128,0,255,0.7);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.date-label {
  color: var(--c-text-muted);
}

.date-sep {
  color: rgba(128,0,255,0.4);
}

.guide-content {
  padding-top: 0.5rem;
}

.sibling-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  border-bottom: 1px solid rgba(128,0,255,0.1);
  background: rgba(128,0,255,0.04);
}

.sibling-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sibling-link {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  border: 1px solid rgba(128,0,255,0.2);
  border-radius: 5px;
  padding: 0.25rem 0.65rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.sibling-link:hover {
  color: var(--c-purple);
  border-color: var(--c-purple);
  background: var(--c-purple-dim);
  text-shadow: none;
}

/* ===== 子页列表 ===== */
.subpages-section {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--c-border);
}

.sub-heading {
  font-size: 1.05rem;
  color: var(--c-purple);
  font-family: var(--font-mono);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 8px rgba(128,0,255,0.35);
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.sub-card {
  background: var(--c-card-bg);
  border: 1px solid rgba(128,0,255,0.2);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.sub-card:hover {
  border-color: var(--c-purple);
  box-shadow: 0 4px 20px rgba(128,0,255,0.18);
  transform: translateY(-2px);
}

.sub-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-purple);
  letter-spacing: 0.07em;
  width: fit-content;
}

.sub-card h3 {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.sub-card h3 a {
  color: #e8e8e8;
  transition: color var(--transition);
}

.sub-card h3 a:hover {
  color: var(--c-purple);
  text-shadow: none;
}

.sub-card p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sub-card time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(128,0,255,0.5);
  margin-top: auto;
}

/* ===== 底部导航按钮 ===== */
.guide-nav-bottom {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(128,0,255,0.1);
}

.back-home,
.warn-link,
.privacy-footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 40px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.back-home {
  background: var(--c-purple-dim);
  color: var(--c-purple);
  border: 1px solid var(--c-border);
}

.back-home:hover {
  background: var(--c-purple);
  color: #fff;
  box-shadow: 0 0 12px rgba(128,0,255,0.4);
  text-shadow: none;
}

.warn-link {
  background: rgba(255,0,255,0.08);
  color: var(--c-pink);
  border: 1px solid rgba(255,0,255,0.25);
}

.warn-link:hover {
  background: var(--c-pink);
  color: #fff;
  box-shadow: 0 0 12px rgba(255,0,255,0.4);
  text-shadow: none;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0.9rem;
}

.breadcrumb a {
  color: rgba(128,0,255,0.7);
}

.breadcrumb a:hover {
  color: var(--c-purple);
  text-shadow: none;
}

.breadcrumb span[aria-current] {
  color: var(--c-text-muted);
}

/* ===== About 页 ===== */
.about-header {
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: 1px solid var(--c-border);
}

.about-h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 14px rgba(128,0,255,0.25);
}

.about-desc {
  font-size: 0.96rem;
  color: var(--c-text-muted);
  max-width: 520px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  padding: 2rem 2.5rem;
  align-items: start;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 1.5rem;
}

.aside-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.aside-card--warn {
  border-color: rgba(255,0,255,0.25);
  background: rgba(255,0,255,0.05);
}

.aside-title {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--c-purple);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 8px rgba(128,0,255,0.3);
}

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

.aside-nav-list li a {
  display: block;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(128,0,255,0.08);
  transition: color var(--transition);
  min-height: 36px;
  display: flex;
  align-items: center;
}

.aside-nav-list li a:hover {
  color: var(--c-purple);
  text-shadow: none;
}

.aside-card p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.aside-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--c-pink);
  border: 1px solid rgba(255,0,255,0.3);
  border-radius: 5px;
  padding: 0.35rem 0.75rem;
  min-height: 36px;
  transition: background var(--transition), color var(--transition);
}

.aside-link:hover {
  background: var(--c-pink);
  color: #fff;
  text-shadow: none;
}

/* ===== Privacy 页 ===== */
.privacy-header {
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: 1px solid var(--c-border);
}

.privacy-h1 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 0.6rem;
}

.privacy-footer-nav {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(128,0,255,0.1);
}

.privacy-footer-nav a {
  background: var(--c-purple-dim);
  color: var(--c-purple);
  border: 1px solid var(--c-border);
  border-radius: 6px;
}

.privacy-footer-nav a:hover {
  background: var(--c-purple);
  color: #fff;
  text-shadow: none;
}

/* ===== 页脚 ===== */
.site-footer {
  background: rgba(5,0,12,0.85);
  border-top: 1px solid var(--c-border);
  padding: 2.5rem 2.5rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-purple);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 10px rgba(128,0,255,0.4);
  font-family: var(--font-mono);
}

.footer-about {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(128,0,255,0.7);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

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

.footer-links li a {
  font-size: 0.83rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  display: block;
  padding: 0.2rem 0;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-links li a:hover {
  color: var(--c-purple);
  text-shadow: none;
}

.footer-bottom {
  border-top: 1px solid rgba(128,0,255,0.1);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(128,0,255,0.45);
}

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

.footer-links-inline a {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-links-inline a:hover {
  color: var(--c-purple);
  text-shadow: none;
}

/* ===== Scroll Reveal 动效 ===== */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: reveal-up 0.5s ease both;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .glitch-text::before,
  .glitch-text::after {
    display: none !important;
  }
}

/* ===== 响应式：平板 ===== */
@media (max-width: 1100px) {
  :root { --sidebar-w: 220px; }

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

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-media {
    flex: 0 0 42%;
  }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    position: fixed;
    left: -260px;
    width: 260px;
    transition: left 0.3s ease;
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0,0,0,0.6);
  }

  .sidebar.is-open {
    left: 0;
  }

  .content-wrap {
    margin-left: 0;
  }

  .mobile-nav-toggle {
    display: flex;
    position: fixed;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 300;
    background: var(--c-sidebar-bg);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--c-purple);
  }

  .hero-section {
    flex-direction: column;
    padding: 4.5rem 1.25rem 1.75rem;
    min-height: auto;
    gap: 1.25rem;
  }

  .hero-media {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

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

  .guide-header {
    flex-direction: column;
    padding: 4.5rem 1.25rem 1.5rem;
  }

  .guide-hero-media {
    max-width: 100%;
    flex: none;
  }

  .main-content,
  .channels-section,
  .subpages-section,
  .guide-nav-bottom,
  .privacy-footer-nav,
  .about-header,
  .privacy-header,
  .sibling-nav {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .about-layout {
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
  }

  .about-aside {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    padding: 2rem 1.25rem 0;
  }

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

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

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

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

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