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

/* =============================================
   CSS 自定义属性
   ============================================= */
:root {
  --green: #87ff71;
  --blue: #01cdfe;
  --dark: #192617;
  --purple: #b967ff;
  --pink: #ff71ce;
  --dark2: #0e1a0c;
  --dark3: #1e3319;
  --text-main: #d6ffd0;
  --text-muted: #7ab870;
  --card-bg: rgba(25, 38, 23, 0.85);
  --card-radius: 28px;
  --header-h: 68px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --glow-green: 0 0 8px #87ff71, 0 0 24px #87ff7180, 0 0 48px #87ff7140;
  --glow-blue: 0 0 8px #01cdfe, 0 0 24px #01cdfe80, 0 0 48px #01cdfe40;
  --glow-purple: 0 0 8px #b967ff, 0 0 24px #b967ff80;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  font-size: 17px;
  line-height: 1.65;
  background: var(--dark2);
  color: var(--text-main);
}

body {
  font-family: var(--font);
  background: var(--dark2);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}
a:hover, a:focus-visible {
  color: var(--green);
  text-shadow: var(--glow-green);
  outline: none;
}

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

ul { list-style: none; }

/* =============================================
   装饰层：扫描线 + 噪点
   ============================================= */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  opacity: 0.5;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* =============================================
   全屏遮罩菜单
   ============================================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 7000;
  background: linear-gradient(145deg, #0a0f09ee 0%, #192617f5 50%, #0d1a1aee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(12px);
}
.overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.overlay-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--glow-green);
}
.overlay-close:hover {
  background: var(--green);
  color: var(--dark2);
}

.overlay-nav {
  text-align: center;
  z-index: 1;
  position: relative;
}

.overlay-brand {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green);
  text-shadow: var(--glow-green);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.overlay-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.overlay-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color var(--transition);
}
.overlay.is-open .overlay-item {
  opacity: 1;
  transform: translateY(0);
}

.overlay-link {
  display: inline-block;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.05em;
  padding: 0.45rem 1.2rem;
  transition: all var(--transition);
  position: relative;
}
.overlay-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width var(--transition);
}
.overlay-link:hover {
  color: var(--green);
  text-shadow: var(--glow-green);
}
.overlay-link:hover::after {
  width: 80%;
}

/* Grid floor deco */
.overlay-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  overflow: hidden;
  opacity: 0.25;
}
.grid-floor {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(transparent 60%, var(--green) 100%),
    repeating-linear-gradient(90deg, var(--blue) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, var(--blue) 0 1px, transparent 1px 40px);
  transform: perspective(300px) rotateX(40deg);
  transform-origin: bottom center;
}

/* =============================================
   顶部 Header
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6000;
  height: var(--header-h);
  background: rgba(14, 26, 12, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(135, 255, 113, 0.15);
  transition: background var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(14, 26, 12, 0.95);
  border-bottom-color: rgba(135, 255, 113, 0.35);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--green);
  box-shadow: var(--glow-green);
  transition: all var(--transition);
}
.brand-mark:hover {
  box-shadow: var(--glow-green), var(--glow-blue);
  transform: scale(1.05);
}
.logo-img { border-radius: 8px; }
.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: var(--glow-green);
}

/* 导航结构：nav > p > a */
.main-nav {
  flex: 1;
  overflow: hidden;
}
.nav-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-row::-webkit-scrollbar { display: none; }

.nav-link {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.hovered {
  color: var(--green);
  background: rgba(135, 255, 113, 0.1);
  text-shadow: var(--glow-green);
}

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--dark2);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  box-shadow: 0 0 16px rgba(135,255,113,0.4);
  white-space: nowrap;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(135,255,113,0.7), 0 0 12px rgba(1,205,254,0.5);
  color: var(--dark2);
  text-shadow: none;
}

.burger-btn {
  background: none;
  border: 1.5px solid rgba(135,255,113,0.4);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0 10px;
  transition: all var(--transition);
}
.burger-btn:hover {
  border-color: var(--green);
  box-shadow: var(--glow-green);
}
.burger-line {
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  display: block;
  transition: all var(--transition);
}

/* =============================================
   Hero
   ============================================= */
.hero-section {
  padding-top: var(--header-h);
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0a1209 0%, #192617 40%, #0d1a26 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(135,255,113,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(1,205,254,0.07) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-media {
  position: relative;
  border-radius: var(--card-radius);
  overflow: visible;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
  box-shadow: 0 0 40px rgba(135,255,113,0.2), 0 0 80px rgba(1,205,254,0.1);
}
.hero-placeholder {
  aspect-ratio: 16/10;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, #1a2e17, #0d2030);
  border: 1.5px solid rgba(135,255,113,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(135,255,113,0.15);
  overflow: hidden;
}
.vhs-screen {
  width: 80%;
  height: 60%;
  background: linear-gradient(180deg,
    #ff71ce33 0%, #b967ff33 25%, #01cdfe33 50%, #87ff7133 75%, #ff71ce33 100%
  );
  border-radius: 12px;
  animation: vhs-shift 4s linear infinite;
  filter: blur(2px);
}
@keyframes vhs-shift {
  0% { filter: hue-rotate(0deg) blur(2px); }
  100% { filter: hue-rotate(360deg) blur(2px); }
}

.floating-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  box-shadow: var(--glow-purple);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: var(--glow-blue);
}

.hero-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
  text-shadow: var(--glow-green);
  letter-spacing: 0.02em;
}

/* Glitch effect */
.glitch-text {
  position: relative;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch-text::before {
  color: var(--blue);
  text-shadow: none;
  animation: glitch-a 3.5s infinite steps(1);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
}
.glitch-text::after {
  color: var(--pink);
  text-shadow: none;
  animation: glitch-b 3.5s infinite steps(1);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}
@keyframes glitch-a {
  0%,89%,91%,100% { transform: none; opacity: 0; }
  90% { transform: translate(-2px, 1px); opacity: 0.7; }
}
@keyframes glitch-b {
  0%,84%,86%,100% { transform: none; opacity: 0; }
  85% { transform: translate(2px, -1px); opacity: 0.6; }
}

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

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 1.8rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: var(--dark2);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(135,255,113,0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px rgba(135,255,113,0.8), 0 0 16px rgba(1,205,254,0.5);
  color: var(--dark2);
  text-shadow: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 1.8rem;
  border-radius: 24px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
}
.btn-ghost:hover {
  background: rgba(1,205,254,0.12);
  box-shadow: var(--glow-blue);
  color: var(--blue);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.htag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  background: rgba(135,255,113,0.1);
  border: 1px solid rgba(135,255,113,0.35);
  color: var(--green);
  letter-spacing: 0.04em;
}

/* =============================================
   内容区：aside 在左 + 正文
   ============================================= */
.content-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* aside 在内容左侧 */
.sidebar-left {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--card-bg);
  border: 1px solid rgba(135,255,113,0.2);
  border-radius: var(--card-radius);
  padding: 1.5rem 1rem;
  backdrop-filter: blur(10px);
}
.aside-inner { display: flex; flex-direction: column; gap: 1rem; }
.aside-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  text-shadow: var(--glow-green);
  margin-bottom: 0.25rem;
}
.aside-links { display: flex; flex-direction: column; gap: 0.2rem; }
.aside-link {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  transition: all var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.aside-link:hover, .aside-link.hovered {
  color: var(--green);
  background: rgba(135,255,113,0.1);
  text-shadow: var(--glow-green);
}
.aside-deco {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0.5rem;
}
.neon-bar {
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: var(--glow-green);
  opacity: 0.5;
  width: 60%;
}
.neon-bar--blue { background: var(--blue); box-shadow: var(--glow-blue); width: 40%; }
.neon-bar--purple { background: var(--purple); box-shadow: var(--glow-purple); width: 25%; }

/* =============================================
   正文内容（page.content 注入区）
   ============================================= */
.content-body {
  min-width: 0;
}

/* Section 通用 */
.content-body section {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: rgba(20, 35, 18, 0.6);
  border: 1px solid rgba(135,255,113,0.12);
  border-radius: var(--card-radius);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.content-body section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--purple));
  opacity: 0.6;
}

.content-body h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--green);
  text-shadow: var(--glow-green);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
/* h2 + p.subtitle 结构 */
.content-body h2 + p,
.content-body h2 + .subtitle,
.content-body h2 + .subhead,
.content-body h2 + .desc,
.content-body h2 + .lead {
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 8px rgba(1,205,254,0.3);
}

.content-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
  margin: 1.5rem 0 0.5rem;
}

.content-body p {
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.content-body ul, .content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.75;
}
.content-body li { margin-bottom: 0.4rem; }

.content-body a {
  color: var(--blue);
  border-bottom: 1px solid rgba(1,205,254,0.3);
  transition: all var(--transition);
}
.content-body a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
  text-shadow: var(--glow-green);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.content-body th {
  background: rgba(135,255,113,0.12);
  color: var(--green);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1.5px solid rgba(135,255,113,0.3);
}
.content-body td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(135,255,113,0.08);
  color: var(--text-main);
}
.content-body tr:hover td {
  background: rgba(135,255,113,0.04);
}

.content-body blockquote {
  border-left: 3px solid var(--blue);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(1,205,254,0.06);
  border-radius: 0 12px 12px 0;
  color: var(--text-muted);
  font-style: italic;
}

/* =============================================
   页脚：footer > section×n
   ============================================= */
.site-footer {
  background: linear-gradient(180deg, var(--dark2) 0%, #060d05 100%);
  border-top: 1px solid rgba(135,255,113,0.15);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--blue), transparent);
  box-shadow: 0 0 20px var(--green);
}

.footer-brand-section {
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}
.footer-super-brand {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  filter: drop-shadow(0 0 20px rgba(135,255,113,0.4));
  line-height: 1.1;
}

.footer-bottom-section {
  padding: 1rem 1.5rem 2rem;
}
.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(135,255,113,0.1);
  padding-top: 1rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
  transition: color var(--transition);
}
.footer-link:hover {
  color: var(--green);
  text-shadow: var(--glow-green);
}

/* =============================================
   vaporwave-body 背景
   ============================================= */
.vaporwave-body {
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(135,255,113,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 100% 60%, rgba(1,205,254,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(185,103,255,0.03) 0%, transparent 60%),
    linear-gradient(180deg, #060d05 0%, #0e1a0c 50%, #060d05 100%);
}

/* =============================================
   prefers-reduced-motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-badge { animation: none; }
  .vhs-screen { animation: none; }
  .glitch-text::before,
  .glitch-text::after { display: none; }
  .overlay-item { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =============================================
   响应式断点
   ============================================= */
@media (max-width: 1024px) {
  .content-shell {
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
  }
}

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

  .main-nav { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.25rem;
  }
  .hero-copy { align-items: center; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-desc { font-size: 0.95rem; }

  .content-shell {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
  .sidebar-left {
    position: static;
    order: -1;
  }
  .aside-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .aside-link {
    min-height: 40px;
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
  }

  .content-body article {
    padding: 1.75rem 1.25rem;
    margin-bottom: 2.5rem;
  }

  .hero-btns { justify-content: center; }
  .hero-tags { justify-content: center; }

  .footer-super-brand { font-size: clamp(2rem, 12vw, 3.5rem); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }

  .header-inner { padding: 0 1rem; }
  .cta-btn { display: none; }

  .hero-inner { padding: 1.5rem 1rem; }
  .btn-primary, .btn-ghost { height: 44px; font-size: 0.95rem; }

  .content-body article { padding: 1.25rem 1rem; }

  .overlay-link { font-size: 1.6rem; }

  .footer-brand-section { padding: 2rem 1rem 1rem; }
}

/* 小屏 tap 目标保障 */
@media (max-width: 768px) {
  .nav-link, .aside-link, .footer-link, .overlay-link, .cta-btn, .btn-primary, .btn-ghost {
    min-height: 40px;
  }
  .burger-btn { min-height: 44px; min-width: 44px; }
  .overlay-close { min-height: 48px; min-width: 48px; }
}
