/* ============ 基础与变量 ============ */
:root {
  --bg: #05060f;
  --bg-soft: #0a0c1f;
  --pink: #ff2e97;
  --cyan: #2de2e6;
  --purple: #b14aed;
  --blue: #5b8cff;
  --text: #eaf0ff;
  --muted: #8089b3;
  --line: rgba(120, 140, 220, .16);
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Rajdhani", system-ui, sans-serif;
  background: radial-gradient(130% 90% at 50% -10%, #121634 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* 自定义光标 */
}

@media (pointer: coarse) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }

/* ============ 粒子背景 ============ */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ============ 颗粒噪点 ============ */
.grain {
  position: fixed; inset: -50%;
  z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-4%); } 60% { transform: translate(-3%,2%); }
  80% { transform: translate(2%,4%); } 100% { transform: translate(0,0); }
}

/* ============ 自定义光标 ============ */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 26px; height: 26px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9999;
  transition: width .2s, height .2s, background .2s, border-color .2s;
  mix-blend-mode: screen;
}
.cursor-glow.is-hover {
  width: 54px; height: 54px;
  background: rgba(255,46,151,.18);
  border-color: var(--pink);
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ============ 滚动进度条 ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--purple));
  z-index: 1000; box-shadow: 0 0 12px var(--pink);
}

/* ============ 导航（装饰） ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 14px;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,6,15,.6); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { color: var(--pink); font-size: 20px; text-shadow: 0 0 14px var(--pink); }
.nav__name { font-family: "Orbitron", sans-serif; font-weight: 700; letter-spacing: 3px; font-size: 17px; }
.nav__name em { color: var(--cyan); font-style: normal; }
.nav__tag { color: var(--muted); font-size: 12px; letter-spacing: 2px; margin-left: auto; font-family: "Orbitron", sans-serif; }

/* ============ HERO ============ */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 80px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; bottom: -2px; left: -10%;
  width: 120%; height: 48%;
  background-image:
    linear-gradient(rgba(45,226,230,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,46,151,.24) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(440px) rotateX(70deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 92%);
          mask-image: linear-gradient(to top, #000 8%, transparent 92%);
  animation: gridmove 7s linear infinite;
  opacity: .85;
}
@keyframes gridmove { from { background-position: 0 0; } to { background-position: 0 46px; } }

.hero__orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb--1 { width: 320px; height: 320px; background: var(--pink); top: 8%; left: 12%; animation: float 11s ease-in-out infinite; }
.orb--2 { width: 260px; height: 260px; background: var(--cyan); top: 30%; right: 10%; animation: float 13s ease-in-out infinite reverse; }
.orb--3 { width: 220px; height: 220px; background: var(--purple); bottom: 14%; left: 40%; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-34px) scale(1.08); } }

.hero__inner { position: relative; z-index: 3; max-width: 860px; }
.hero__eyebrow {
  font-family: "Orbitron", sans-serif; letter-spacing: 5px;
  color: var(--cyan); font-size: 12px; margin-bottom: 20px;
  opacity: .85;
}
.hero__sub { color: var(--muted); font-size: clamp(15px,2.2vw,20px); margin: 22px auto 36px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 12px; letter-spacing: 3px;
  font-family: "Orbitron", sans-serif; animation: bob 2s ease-in-out infinite; z-index: 3;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 30px; font-weight: 700;
  letter-spacing: 1px; font-size: 15px; cursor: none;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .25s, background .25s;
}
.btn--primary { background: linear-gradient(120deg, var(--pink), var(--purple)); color: #fff; box-shadow: 0 0 22px rgba(255,46,151,.45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(255,46,151,.72); }
.btn--ghost { border-color: var(--cyan); color: var(--cyan); }
.btn--ghost:hover { background: rgba(45,226,230,.12); transform: translateY(-2px); }

/* ============ 故障字 ============ */
.glitch {
  position: relative;
  font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(56px, 16vw, 170px); line-height: 1;
  letter-spacing: 4px; color: var(--text);
  text-shadow: 0 0 50px rgba(120,140,255,.4);
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  clip-path: inset(0 0 0 0);
}
.glitch::before {
  color: var(--pink); transform: translate(-3px, 0);
  animation: glitchA 2.6s infinite linear alternate-reverse;
}
.glitch::after {
  color: var(--cyan); transform: translate(3px, 0);
  animation: glitchB 3.1s infinite linear alternate-reverse;
}
@keyframes glitchA {
  0% { clip-path: inset(10% 0 85% 0); } 20% { clip-path: inset(80% 0 5% 0); }
  40% { clip-path: inset(40% 0 45% 0); } 60% { clip-path: inset(70% 0 20% 0); }
  80% { clip-path: inset(20% 0 70% 0); } 100% { clip-path: inset(55% 0 30% 0); }
}
@keyframes glitchB {
  0% { clip-path: inset(75% 0 10% 0); } 20% { clip-path: inset(15% 0 75% 0); }
  40% { clip-path: inset(50% 0 35% 0); } 60% { clip-path: inset(5% 0 80% 0); }
  80% { clip-path: inset(65% 0 18% 0); } 100% { clip-path: inset(30% 0 55% 0); }
}
.glitch--sm { font-size: clamp(22px, 4vw, 34px); }

/* ============ 跑马灯 ============ */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; background: rgba(10,12,31,.4); backdrop-filter: blur(4px);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; gap: 36px; align-items: center;
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: clamp(18px, 3.5vw, 30px); letter-spacing: 4px;
  color: var(--text); animation: marquee 22s linear infinite;
}
.marquee__track span:nth-child(even) { color: var(--pink); }
.marquee__track span { opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 像素自然场景 ============ */
.pixel { padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 56px); }
.pixel__scene {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  height: clamp(320px, 52vw, 520px); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  /* 让内部像素元素保持硬边 */
  image-rendering: pixelated;
}
.pixel__sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #1b0a3a 0%, #3a0f5e 38%, #7a1d6b 64%, #c23b6a 100%);
}
/* 极光（像素条纹） */
.pixel__aurora {
  position: absolute; left: 0; right: 0; top: 8%; height: 26%;
  background:
    repeating-linear-gradient(0deg, rgba(45,226,230,.0) 0 6px, rgba(45,226,230,.18) 6px 10px),
    repeating-linear-gradient(0deg, rgba(177,74,237,.0) 0 9px, rgba(177,74,237,.16) 9px 14px);
  filter: blur(1px); mix-blend-mode: screen;
  animation: aurora 9s ease-in-out infinite;
  opacity: .8;
}
@keyframes aurora { 0%,100% { transform: translateY(0) scaleY(1); opacity:.6; } 50% { transform: translateY(8px) scaleY(1.15); opacity:.95; } }
/* 闪烁像素星 */
.pixel__stars {
  position: absolute; left: 0; right: 0; top: 0; height: 60%;
  background-image:
    radial-gradient(2px 2px at 12% 14%, #fff, transparent),
    radial-gradient(2px 2px at 28% 8%, #fff, transparent),
    radial-gradient(2px 2px at 47% 20%, #cfe9ff, transparent),
    radial-gradient(2px 2px at 63% 10%, #fff, transparent),
    radial-gradient(2px 2px at 78% 18%, #fff, transparent),
    radial-gradient(2px 2px at 90% 9%, #ffe9c0, transparent),
    radial-gradient(2px 2px at 38% 32%, #fff, transparent),
    radial-gradient(2px 2px at 70% 30%, #cfe9ff, transparent);
  animation: twinkle 3.4s steps(2) infinite;
}
@keyframes twinkle { 0%,100% { opacity:.95; } 50% { opacity:.35; } }
/* 合成波太阳（像素扫描条纹） */
.pixel__sun {
  position: absolute; left: 50%; top: 22%; transform: translateX(-50%);
  width: clamp(120px, 22vw, 220px); height: clamp(120px, 22vw, 220px);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe14d 0%, #ff8a3d 48%, #ff2e97 100%);
  box-shadow: 0 0 60px rgba(255,138,61,.6);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 13px, transparent 13px 19px);
          mask-image: repeating-linear-gradient(180deg, #000 0 13px, transparent 13px 19px);
}
/* 像素山脉（阶梯状 clip-path） */
.pixel__mountains {
  position: absolute; left: -2%; right: -2%; bottom: 22%; height: 42%;
  background: linear-gradient(180deg, #2b1060, #160a36);
  clip-path: polygon(
    0 72%, 9% 72%, 9% 50%, 21% 50%, 21% 64%, 33% 64%, 33% 38%,
    45% 38%, 45% 58%, 57% 58%, 57% 28%, 69% 28%, 69% 54%, 81% 54%,
    81% 40%, 93% 40%, 93% 66%, 100% 66%, 100% 100%, 0 100%
  );
  image-rendering: pixelated;
}
.pixel__mountains::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(45,226,230,.4), transparent 60%);
  clip-path: inherit; mix-blend-mode: screen;
}
/* 像素松树剪影（SVG 像素松） */
.pixel__trees {
  position: absolute; left: 0; right: 0; bottom: 22%; height: 28%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='90' viewBox='0 0 220 90'%3E%3Cg fill='%230c0726'%3E%3C!--%20tree%201%20--%3E%3Crect x='18' y='70' width='6' height='20'/%3E%3Cpolygon points='21,18 4,70 38,70'/%3E%3Cpolygon points='21,34 8,72 34,72'/%3E%3C!--%20tree%202%20--%3E%3Crect x='78' y='74' width='5' height='16'/%3E%3Cpolygon points='80,30 66,74 94,74'/%3E%3Cpolygon points='80,46 70,76 90,76'/%3E%3C!--%20tree%203%20--%3E%3Crect x='138' y='66' width='7' height='24'/%3E%3Cpolygon points='141,10 120,66 162,66'/%3E%3Cpolygon points='141,30 124,68 158,68'/%3E%3Cpolygon points='141,48 128,70 154,70'/%3E%3C!--%20tree%204%20--%3E%3Crect x='196' y='72' width='5' height='18'/%3E%3Cpolygon points='198,24 184,72 212,72'/%3E%3Cpolygon points='198,42 188,74 208,74'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: auto 100%;
  image-rendering: pixelated;
}
/* 地面像素格 */
.pixel__ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background:
    repeating-linear-gradient(90deg, #0a0620 0 12px, #120a2e 12px 24px),
    linear-gradient(180deg, #160a36, #05030f);
  background-blend-mode: normal;
  box-shadow: 0 -2px 14px rgba(0,0,0,.6) inset;
  image-rendering: pixelated;
}
.pixel__label {
  position: absolute; top: 16px; left: 18px; z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
}
.pixel__tag { font-family: "Orbitron", sans-serif; color: var(--cyan); letter-spacing: 3px; font-size: 12px; }
.pixel__title { font-family: "Press Start 2P", monospace; color: #fff; font-size: 13px; text-shadow: 2px 2px 0 #ff2e97; }

/* ============ 通用 section ============ */
.section { position: relative; z-index: 2; padding: clamp(70px,10vw,120px) clamp(20px,5vw,56px); }
.section--alt { background: linear-gradient(180deg, rgba(10,12,31,0), rgba(10,12,31,.55), rgba(10,12,31,0)); }

/* ============ 特效矩阵 ============ */
.grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.fx {
  position: relative; aspect-ratio: 1 / 1; border-radius: 18px;
  border: 1px solid var(--line); overflow: hidden;
  background: rgba(12,16,40,.45); backdrop-filter: blur(6px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
}
.fx:hover { border-color: rgba(45,226,230,.5); box-shadow: 0 16px 50px rgba(0,0,0,.5); }
.fx__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 16px; transform-style: preserve-3d;
}
.fx__no {
  font-family: "Press Start 2P", monospace; font-size: 12px; color: var(--cyan);
  letter-spacing: 1px; transform: translateZ(28px);
  text-shadow: 1px 1px 0 var(--purple);
}
.fx__name, .shimmer, .glitch--sm {
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: clamp(16px,2.4vw,22px); letter-spacing: 2px;
  transform: translateZ(40px);
}
.fx__hint { color: var(--muted); font-size: 12px; letter-spacing: 1px; transform: translateZ(18px); opacity: .8; }

/* 1. 3D 倾斜 */
.fx--tilt { transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .12s ease-out, box-shadow .3s, border-color .3s; }
.fx--tilt:hover { box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 30px rgba(91,140,255,.4); }

/* 2. 全息流光边框 */
.fx--holo::before {
  content: ""; position: absolute; inset: -2px; border-radius: 18px;
  background: conic-gradient(from 0deg, var(--pink), var(--cyan), var(--purple), var(--blue), var(--pink));
  z-index: -1; animation: spin 4s linear infinite; opacity: .9;
}
.fx--holo::after {
  content: ""; position: absolute; inset: 1px; border-radius: 17px;
  background: rgba(8,10,26,.92);
}
.fx--holo .fx__inner { z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 3. 聚光灯 */
.fx--spot::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 32%);
  pointer-events: none; transition: background .1s;
}

/* 4. 故障文字（复用 .glitch） */
.fx--glitch .fx__inner { gap: 14px; }

/* 5. 渐变流光文字 */
.shimmer {
  background: linear-gradient(100deg, #6a78ff 0%, #fff 25%, var(--cyan) 50%, #fff 75%, #ff2e97 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* 6. CRT 扫描线 */
.crt-overlay {
  position: absolute; inset: 0; pointer-events: none; border-radius: 18px;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  animation: crt 8s linear infinite;
}
.crt-overlay::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(45,226,230,.25), transparent);
  animation: sweep 3.2s linear infinite;
}
@keyframes crt { to { background-position: 0 -120px; } }
@keyframes sweep { from { top: -30%; } to { top: 100%; } }

/* 7. 磁性按钮 */
.magnet-btn {
  font-family: "Orbitron", sans-serif; font-weight: 700; letter-spacing: 2px;
  padding: 14px 26px; border-radius: 30px; font-size: 16px;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  color: #05060f; cursor: none; will-change: transform;
  box-shadow: 0 0 22px rgba(45,226,230,.5);
}

/* 8. 噪点玻璃 */
.fx--glass::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx--glass .fx__inner { z-index: 1; }

/* ============ 流光渲染 BLOB ============ */
.shader {
  position: relative; max-width: 900px; margin: 0 auto;
  min-height: 60vh; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(8,10,26,.5);
  display: flex; align-items: center; justify-content: center;
}
.shader__blob {
  position: absolute; border-radius: 50%; filter: blur(50px);
  mix-blend-mode: screen; opacity: .75;
}
.shader__blob--a { width: 380px; height: 380px; background: var(--pink); top: -8%; left: -6%; animation: blob 14s ease-in-out infinite; }
.shader__blob--b { width: 320px; height: 320px; background: var(--cyan); bottom: -10%; right: -4%; animation: blob 17s ease-in-out infinite reverse; }
.shader__blob--c { width: 260px; height: 260px; background: var(--purple); top: 30%; left: 50%; animation: blob 12s ease-in-out infinite; }
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.12); }
  66% { transform: translate(-30px,25px) scale(.92); }
}
.shader__core { position: relative; z-index: 2; text-align: center; padding: 30px; }
.shader__label { font-family: "Orbitron"; letter-spacing: 5px; color: var(--cyan); font-size: 13px; }
.gradient-text {
  font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(34px, 8vw, 76px); letter-spacing: 3px; margin: 14px 0 10px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--purple), var(--blue));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
.shader__sub { color: var(--muted); letter-spacing: 2px; font-size: 15px; }

/* ============ 科技矩阵 ============ */
.tech { max-width: var(--maxw); margin: 0 auto; }
.tech__head { text-align: center; margin-bottom: 40px; }
.tech__tag { font-family: "Orbitron"; letter-spacing: 4px; color: var(--cyan); font-size: 13px; }
.tech__title { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: clamp(28px,5vw,46px); margin: 10px 0 6px; text-shadow: 0 0 22px rgba(45,226,230,.35); }
.tech__sub { color: var(--muted); letter-spacing: 2px; font-size: 13px; }

.tech__panel {
  position: relative; height: clamp(320px, 46vw, 460px);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, rgba(20,30,70,.5), rgba(8,10,26,.6));
  display: flex; align-items: center; justify-content: center;
}
.tech__corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--cyan); opacity: .8; }
.tech__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tech__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.tech__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.tech__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* 雷达扫描 */
.tech__radar {
  position: relative; width: clamp(150px,26vw,240px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(45,226,230,.4); background: rgba(45,226,230,.04); z-index: 2;
  box-shadow: 0 0 30px rgba(45,226,230,.18) inset;
}
.tech__ring { position: absolute; inset: 24%; border: 1px solid rgba(45,226,230,.3); border-radius: 50%; }
.tech__ring--2 { inset: 48%; }
.tech__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45,226,230,.45), transparent 28%);
  animation: sweep2 3.4s linear infinite; mix-blend-mode: screen;
}
@keyframes sweep2 { to { transform: rotate(360deg); } }
.tech__blip { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); opacity: 0; }
.tech__blip--1 { top: 28%; left: 62%; animation: blip 3.4s ease-in-out infinite 0.4s; }
.tech__blip--2 { top: 60%; left: 34%; animation: blip 3.4s ease-in-out infinite 1.6s; }
.tech__blip--3 { top: 44%; left: 70%; animation: blip 3.4s ease-in-out infinite 2.6s; }
@keyframes blip { 0%,12% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1); } 60% { opacity: .3; } 100% { opacity: 0; } }

/* 节点网络 canvas */
.tech__nodes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* 数据流 */
.tech__stream {
  position: absolute; top: 0; right: 0; bottom: 0; width: 30%; max-width: 200px;
  padding: 18px 16px; z-index: 2; display: flex; flex-direction: column; gap: 7px;
  font-family: "Orbitron", monospace; font-size: 11px; color: rgba(120,200,255,.7);
  overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  text-align: right; letter-spacing: .5px;
}
.tech__line { opacity: 0; transform: translateX(12px); animation: streamIn .5s forwards; white-space: nowrap; }
.tech__line .ok { color: var(--cyan); }
.tech__line .warn { color: var(--yellow); }
@keyframes streamIn { to { opacity: .9; transform: none; } }

/* ============ 行情终端 ============ */
.market { max-width: 1180px; margin: 0 auto; }
.market__head { text-align: center; margin-bottom: 40px; }
.market__tag { font-family: "Orbitron"; letter-spacing: 4px; color: var(--pink); font-size: 13px; }
.market__title { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: clamp(28px,5vw,46px); margin: 10px 0 6px; }
.market__sub { color: var(--muted); letter-spacing: 2px; font-size: 13px; }

/* 指数 + 滚动报价 */
.market__top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.market__index { display: flex; align-items: baseline; gap: 14px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,16,40,.5); backdrop-filter: blur(6px); }
.market__index-name { font-family: "Orbitron"; letter-spacing: 2px; color: var(--muted); font-size: 14px; }
.market__index-val { font-family: "Orbitron", monospace; font-weight: 700; font-size: clamp(22px,4vw,34px); color: var(--text); }
.market__index-chg { font-family: "Orbitron", monospace; font-weight: 700; font-size: 16px; padding: 3px 10px; border-radius: 20px; }
.market__index-chg.up { color: #ff4d4d; background: rgba(255,77,77,.12); }
.market__index-chg.down { color: #2ee06a; background: rgba(46,224,106,.12); }

.market__ticker { flex: 1; min-width: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.market__track { display: inline-flex; gap: 30px; white-space: nowrap; animation: marquee 26s linear infinite; }
.market__q { font-family: "Rajdhani", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .5px; }
.market__q b { font-family: "Orbitron", monospace; font-weight: 700; }
.market__q .up { color: #ff4d4d; }
.market__q .down { color: #2ee06a; }

/* K线 + 面积图 */
.market__chart { position: relative; height: clamp(220px, 34vw, 300px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(8,10,26,.6), rgba(8,10,26,.3)); }
.market__candles { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 3px; padding: 24px 18px 18px; }
.candle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.candle.is-shown { opacity: 1; transform: none; }
.candle__wick { width: 2px; border-radius: 2px; }
.candle__body { width: 70%; border-radius: 2px; }
.candle.up .candle__wick, .candle.up .candle__body { background: #ff4d4d; box-shadow: 0 0 8px rgba(255,77,77,.6); }
.candle.down .candle__wick, .candle.down .candle__body { background: #2ee06a; box-shadow: 0 0 8px rgba(46,224,106,.6); }
.market__area { position: absolute; inset: 0; width: 100%; height: 100%; }
.market__area-line { stroke: rgba(45,226,230,.9); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(45,226,230,.6)); stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.market__area-line.is-drawn { animation: drawLine 2.4s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.market__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); animation: msweep 3.6s linear infinite; opacity: .7; }
@keyframes msweep { from { top: 0; } to { top: 100%; } }

/* ============ 页脚 ============ */
.footer {
  position: relative; z-index: 2; border-top: 1px solid var(--line);
  padding: 36px clamp(20px,5vw,56px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__name { font-family: "Orbitron"; font-weight: 700; letter-spacing: 3px; color: var(--cyan); }
.footer__meta { color: var(--muted); font-size: 13px; letter-spacing: 1px; }

/* ============ 滚动揭示 ============ */
.reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .nav__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__grid, .hero__scroll, .marquee__track, .orb, .shader__blob,
  .glitch::before, .glitch::after, .shimmer, .gradient-text,
  .fx--holo::before, .crt-overlay, .crt-overlay::after, .grain,
  .pixel__aurora, .pixel__stars, .pixel__sun, .market__scan { animation: none; }
  .market__area-line { stroke-dashoffset: 0; animation: none; }
  .candle { opacity: 1; transform: none; transition: none; }
  .tech__sweep, .tech__blip, .tech__stream .tech__line { animation: none; }
  .tech__stream .tech__line { opacity: .9; transform: none; }
  body { cursor: auto; }
  .cursor-glow { display: none; }
}
