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

:root {
  --bg-deep: #0a0a12;
  --bg-night: #1a0b2e;
  --neon-pink: #ff3d81;
  --neon-purple: #b829ff;
  --neon-green: #39ff88;
  --metal-silver: #c0c0d0;
  --ice-white: #f0f0ff;
  --dark-red: #8a2a2a;
  --dark-gold: #8a6d3b;
  --glass: rgba(200, 200, 220, 0.2);
  --text-body: #c0c0d0;
  --text-dim: #6f6f82;
  --font-head: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Roboto Thin', 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --content-max: 1200px;
  --z-particle: 0;
  --z-content: 1;
  --z-header: 100;
}

/* ========== Base ========== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-body);
  background:
    radial-gradient(ellipse at top right, rgba(184, 41, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255, 61, 129, 0.08) 0%, transparent 50%),
    var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--neon-pink);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--ice-white);
  text-shadow: 0 0 12px var(--neon-pink);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--neon-pink);
  color: #090912;
}

:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
  box-shadow: 0 0 24px rgba(57, 255, 136, 0.3);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple));
  border-radius: 4px;
}

/* ========== Layout ========== */
.main-content {
  position: relative;
  z-index: var(--z-content);
  min-height: 60vh;
}

.container {
  width: min(calc(100% - 32px), var(--content-max));
  margin-inline: auto;
}

.section {
  padding: 48px 0;
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 48px 0;
}

.theme-zone {
  position: relative;
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(184, 41, 255, 0.1), rgba(10, 10, 18, 0.4) 70%);
  border-top: 1px solid rgba(184, 41, 255, 0.25);
  border-bottom: 1px solid rgba(184, 41, 255, 0.25);
}

.zone-stripe {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-purple), transparent);
  transform: skewX(-20deg);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--metal-silver);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink);
}

.breadcrumb-sep {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-purple);
}

/* ========== Media Frame ========== */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(0deg, rgba(200, 200, 220, 0.03) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, rgba(26, 11, 46, 0.9), rgba(10, 10, 18, 0.95));
  border: 1px solid rgba(200, 200, 220, 0.2);
  overflow: hidden;
}

.media-frame::after {
  content: 'IMG // REC';
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 61, 129, 0.7);
  text-shadow: 0 0 8px rgba(255, 61, 129, 0.5);
}

.media-frame img,
.media-frame .media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--wide {
  aspect-ratio: 16 / 7;
}

/* ========== Buttons ========== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #090912;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 61, 129, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 30px rgba(255, 61, 129, 0.6);
  color: #090912;
  text-shadow: none;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-text {
  display: inline-block;
}

.header-download {
  white-space: nowrap;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(9, 9, 18, 0.25);
  transform: scale(0);
  animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 1;
}

@keyframes ripple-expand {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ========== Data components ========== */
.data-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 61, 129, 0.4);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon-pink);
  background: rgba(255, 61, 129, 0.08);
}

.data-tag::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
}

.specimen-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(200, 200, 220, 0.2);
  border-top: 2px solid var(--neon-pink);
  background: rgba(26, 11, 46, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.specimen-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 61, 129, 0.6);
  box-shadow: 0 10px 30px rgba(184, 41, 255, 0.15), 0 0 0 1px rgba(255, 61, 129, 0.3);
}

.specimen-label {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 2px 10px;
  background: var(--neon-pink);
  color: #090912;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(255, 61, 129, 0.4);
}

.section-heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  color: var(--ice-white);
  text-shadow: 0 0 12px rgba(255, 61, 129, 0.5);
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-purple);
  margin-bottom: 24px;
}

/* ========== Header ========== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--neon-green);
  color: #090912;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(10, 10, 18, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 41, 255, 0.35);
  box-shadow: 0 4px 40px rgba(184, 41, 255, 0.12);
}

.header-topbar {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: linear-gradient(90deg, rgba(255, 61, 129, 0.14), rgba(184, 41, 255, 0.1) 50%, transparent);
  border-bottom: 1px solid rgba(200, 200, 220, 0.08);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.header-topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--metal-silver);
}

.header-topbar-text {
  letter-spacing: 0.14em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.header-topbar-version {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--neon-green);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  position: relative;
}

.masthead::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-purple), transparent);
}

.masthead-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: var(--neon-pink);
  background: linear-gradient(135deg, rgba(255, 61, 129, 0.16), rgba(184, 41, 255, 0.16));
  border: 1px solid rgba(255, 61, 129, 0.55);
  box-shadow: 0 0 20px rgba(255, 61, 129, 0.25), inset 0 0 12px rgba(184, 41, 255, 0.15);
  transform: rotate(-5deg);
  text-shadow: 0 0 12px var(--neon-pink);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-logo-cn {
  position: relative;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--ice-white);
  text-shadow: 0 0 10px var(--neon-pink), 0 0 30px rgba(184, 41, 255, 0.6);
}

.brand-logo-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-purple);
}

.brand-logo-cn::before,
.brand-logo-cn::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.brand-logo-cn::before {
  color: var(--neon-purple);
  animation: glitch-a 6s infinite steps(1);
}

.brand-logo-cn::after {
  color: var(--neon-green);
  animation: glitch-b 7s infinite steps(1);
}

@keyframes glitch-a {
  0%, 93%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  94% { opacity: 0.8; transform: translate(-2px, 1px); clip-path: inset(10% 0 55% 0); }
  96% { opacity: 0.9; transform: translate(2px, -1px); clip-path: inset(45% 0 30% 0); }
  98% { opacity: 0.6; transform: none; clip-path: inset(25% 0 45% 0); }
}

@keyframes glitch-b {
  0%, 91%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  92% { opacity: 0.7; transform: translate(3px, 0); clip-path: inset(70% 0 10% 0); }
  95% { opacity: 0.8; transform: translate(-2px, -1px); clip-path: inset(15% 0 60% 0); }
  97% { opacity: 0; transform: none; clip-path: inset(40% 0 30% 0); }
}

.masthead-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-right: 8px;
}

.meta-edition {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--neon-purple);
}

.meta-slogan {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-slogan::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
}

.header-navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 24px;
  min-height: 52px;
}

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.site-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.site-nav-list a {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  color: var(--metal-silver);
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: color 0.3s ease, text-shadow 0.3s ease, background 0.3s ease;
}

.site-nav-list a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 8px var(--neon-pink);
  transition: width 0.3s ease, left 0.3s ease;
}

.site-nav-list a:hover {
  color: var(--ice-white);
  text-shadow: 0 0 8px var(--neon-pink);
}

.site-nav-list a:hover::after,
.site-nav-list a[aria-current="page"]::after {
  left: 20%;
  width: 60%;
}

.site-nav-list a[aria-current="page"] {
  color: var(--ice-white);
  background: linear-gradient(180deg, transparent, rgba(255, 61, 129, 0.14));
  text-shadow: 0 0 10px var(--neon-pink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 61, 129, 0.3);
  border-radius: 4px;
  background: rgba(255, 61, 129, 0.08);
  color: var(--metal-silver);
  font-size: 13px;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 61, 129, 0.16);
  color: var(--ice-white);
  border-color: rgba(255, 61, 129, 0.6);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle-line {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, width 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  width: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle-text {
  font-weight: 500;
  letter-spacing: 0.08em;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search-input {
  width: 180px;
  padding: 8px 36px 8px 14px;
  background: rgba(10, 10, 18, 0.7);
  border: 1px solid rgba(200, 200, 220, 0.25);
  border-radius: 4px;
  color: var(--ice-white);
  font-size: 13px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
}

.header-search-input::placeholder {
  color: var(--text-dim);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--neon-purple);
  box-shadow: 0 0 16px rgba(184, 41, 255, 0.4);
  width: 220px;
}

.header-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--metal-silver);
  transition: color 0.3s ease;
}

.header-search-btn:hover {
  color: var(--neon-pink);
}

.search-ico {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-ico::after {
  content: '';
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  z-index: 2;
  pointer-events: none;
}

.header-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 12px var(--neon-pink), 0 0 24px rgba(255, 61, 129, 0.6);
  transition: width 0.1s linear;
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  z-index: var(--z-content);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-night) 100%);
  border-top: 1px solid rgba(184, 41, 255, 0.35);
  margin-top: 40px;
}

.footer-glow {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-purple), var(--neon-green), transparent);
  box-shadow: 0 0 20px rgba(255, 61, 129, 0.5);
}

.footer-container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--ice-white);
  text-shadow: 0 0 10px var(--neon-pink), 0 0 30px rgba(184, 41, 255, 0.5);
  margin-bottom: 12px;
}

.footer-trust {
  font-size: 14px;
  line-height: 1.8;
  color: var(--metal-silver);
  max-width: 300px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-pink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 61, 129, 0.25);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 1px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.footer-nav-list li + li {
  margin-top: 10px;
}

.footer-nav-list a {
  position: relative;
  padding-left: 14px;
  color: var(--metal-silver);
  font-size: 14px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-nav-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--neon-purple);
  box-shadow: 0 0 6px var(--neon-purple);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.footer-nav-list a:hover {
  color: var(--ice-white);
  text-shadow: 0 0 8px var(--neon-pink);
}

.footer-nav-list a:hover::before {
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--metal-silver);
  word-break: break-all;
}

.footer-contact-list li + li {
  margin-top: 8px;
}

.footer-contact-list li::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid rgba(200, 200, 220, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.footer-copyright {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-icp {
  color: var(--metal-silver);
}

/* ========== Particles ========== */
.particle-field {
  position: fixed;
  inset: 0;
  z-index: var(--z-particle);
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: var(--x);
  bottom: -20px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  color: var(--color);
  filter: blur(2px);
  box-shadow: 0 0 10px currentColor;
  opacity: 0;
  animation: particle-rise var(--duration) linear var(--delay) infinite;
}

@keyframes particle-rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(-30px, -90vh, 0);
    opacity: 0;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .header-search-input {
    width: 140px;
  }

  .header-search-input:focus {
    width: 180px;
  }

  .site-nav-list a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .masthead-meta {
    display: none;
  }

  .header-tools {
    gap: 8px;
  }

  .header-navbar {
    gap: 16px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .header-navbar {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: static;
    transform: none;
    order: 3;
    flex-basis: 100%;
    display: none;
    margin-top: 8px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 61, 129, 0.2);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav-list a {
    display: block;
    padding: 12px 16px;
    border-left: 2px solid transparent;
    font-size: 15px;
  }

  .site-nav-list a::after {
    display: none;
  }

  .site-nav-list a:hover,
  .site-nav-list a[aria-current="page"] {
    border-left-color: var(--neon-pink);
    background: rgba(255, 61, 129, 0.08);
  }

  .header-tools {
    margin-left: auto;
  }

  .split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
  }

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

@media (max-width: 640px) {
  .header-topbar {
    display: none;
  }

  .masthead {
    padding: 12px 16px;
  }

  .brand-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .brand-logo-cn {
    font-size: 22px;
  }

  .brand-logo-en {
    font-size: 9px;
  }

  .header-navbar {
    padding: 8px 16px;
  }

  .header-search-input {
    width: 110px;
    padding: 6px 32px 6px 10px;
    font-size: 12px;
  }

  .header-search-input:focus {
    width: 140px;
  }

  .header-tools .btn {
    padding: 8px 12px;
  }

  .btn-text {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .split-hero {
    padding: 32px 0;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-toggle-text {
    display: none;
  }

  .header-search-input {
    width: 90px;
  }

  .header-search-input:focus {
    width: 110px;
  }
}

/* ========== 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;
  }

  .particle {
    display: none;
  }
}
