/* ═══════════════════════════════════════════════
   PROJECT CHIMERA — NEO NOIR GLITCHWAVE
   ═══════════════════════════════════════════════ */

:root {
  --bg:        #0a0a0a;
  --bg-blue:   #001f3f;
  --bg-purple: #2a0a2a;
  --cyan:      #00ffff;
  --pink:      #ff00ff;
  --green:     #39ff14;
  --silver:    #808080;
  --white:     #ffffff;
  --font-head: 'Orbitron', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Rajdhani', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor-ring, .cursor-dot { display: none; }
}

::selection { background: var(--cyan); color: #000; }

.mono { font-family: var(--font-mono); }
.accent-cyan { color: var(--cyan); text-shadow: 0 0 12px rgba(0,255,255,.6); }
.accent-pink { color: var(--pink); text-shadow: 0 0 12px rgba(255,0,255,.6); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ───────── BOOT SCREEN ───────── */
.boot-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
.boot-screen.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { width: min(640px, 90vw); text-align: left; }
.boot-logo {
  font-size: clamp(5px, 1.4vw, 11px);
  line-height: 1.15;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0,255,255,.7);
  animation: bootFlicker 2s steps(12) infinite;
  overflow: hidden;
}
@keyframes bootFlicker {
  0%,100% { opacity: 1; } 92% { opacity: 1; }
  93% { opacity: .4; } 94% { opacity: 1; } 97% { opacity: .6; } 98% { opacity: 1; }
}
.boot-log {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 13px;
  min-height: 96px;
  margin: 18px 0 14px;
  white-space: pre-wrap;
}
.boot-bar {
  height: 4px; background: #1a1a1a;
  border: 1px solid rgba(0,255,255,.3);
  overflow: hidden;
}
.boot-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 12px var(--cyan);
  transition: width .18s linear;
}
.boot-pct {
  font-family: var(--font-mono);
  color: var(--cyan); font-size: 13px;
  margin-top: 8px; text-align: right;
}
.scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 2px,
    rgba(0,0,0,.22) 3px, transparent 4px
  );
  pointer-events: none;
}

/* ───────── CUSTOM CURSOR ───────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(0,255,255,.55);
  transition: width .25s, height .25s, border-color .25s;
}
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  border-color: var(--pink);
  box-shadow: 0 0 16px rgba(255,0,255,.35);
}

/* ───────── PARTICLE CANVAS ───────── */
.particle-canvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}

/* ───────── HUD NAV ───────── */
.hud-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 28px;
  background: linear-gradient(to bottom, rgba(10,10,10,.9), rgba(10,10,10,.65));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,255,255,.18);
}
.nav-logo {
  font-family: var(--font-head); font-weight: 700;
  color: var(--white); text-decoration: none;
  letter-spacing: .12em; font-size: 17px;
}
.logo-mark { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.logo-sub { color: var(--silver); font-size: 12px; }
.nav-links { margin-left: auto; display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--silver); text-decoration: none;
  letter-spacing: .1em; position: relative;
  transition: color .25s, text-shadow .25s;
}
.nav-idx { color: var(--pink); margin-right: 6px; font-size: 11px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--cyan); text-shadow: 0 0 10px rgba(0,255,255,.7); }
.nav-links a:hover::after { width: 100%; }

.sound-toggle {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid rgba(128,128,128,.4);
  color: var(--silver); font-family: var(--font-mono); font-size: 11px;
  padding: 5px 10px; cursor: none; letter-spacing: .08em;
  transition: border-color .25s, color .25s;
}
.sound-toggle.on { border-color: var(--green); color: var(--green); }
.menu-btn { display: none; background: none; border: none; cursor: none; flex-direction: column; gap: 5px; padding: 6px; }
.menu-btn span { width: 24px; height: 2px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* ───────── SECTIONS COMMON ───────── */
.section { position: relative; z-index: 1; padding: 120px 6vw; }
.section-head { margin-bottom: 56px; }
.sec-code {
  font-family: var(--font-mono); color: var(--pink);
  font-size: 13px; letter-spacing: .3em;
}
.sec-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(26px, 4.4vw, 46px);
  letter-spacing: .04em; margin-top: 8px;
  text-shadow: 0 0 24px rgba(0,255,255,.25);
}
.sec-title .mono { font-size: .45em; color: var(--silver); vertical-align: middle; }
.sec-line {
  margin-top: 18px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent 70%);
  box-shadow: 0 0 8px rgba(0,255,255,.5);
}
.section-lead { color: var(--silver); max-width: 640px; margin-bottom: 48px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }

/* ───────── HERO ───────── */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 140px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(0,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(58deg) translateY(20%);
  animation: gridFlow 14s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 72%);
}
@keyframes gridFlow { to { background-position: 0 480px, 480px 0; } }

.hero-inner { position: relative; z-index: 2; }
.hero-tag {
  font-family: var(--font-mono); color: var(--green);
  font-size: 14px; letter-spacing: .25em; margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(38px, 8vw, 92px);
  line-height: 1.15; letter-spacing: .03em;
  text-shadow: 0 0 40px rgba(0,255,255,.35);
}
.hero-lead {
  margin-top: 28px; color: #cfcfcf;
  font-size: clamp(15px, 2vw, 19px);
}
.hero-lead em { font-style: normal; color: var(--cyan); text-shadow: 0 0 12px rgba(0,255,255,.6); }
.hero-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 20px; }

.hero-status {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--green); letter-spacing: .2em;
  display: inline-flex; align-items: center; gap: 8px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--silver); letter-spacing: .3em;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--cyan), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

.corner { position: absolute; width: 34px; height: 34px; border-color: rgba(0,255,255,.5); border-style: solid; border-width: 0; z-index: 2; }
.corner--tl { top: 84px; left: 24px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 84px; right: 24px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: 24px; left: 24px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: 24px; right: 24px; border-bottom-width: 2px; border-right-width: 2px; }

/* ───────── GLITCH SHAKE (form error) ───────── */
.glitch-shake { animation: glitchShake .4s steps(2) 1; }
@keyframes glitchShake {
  0%   { transform: translate(0); filter: none; }
  20%  { transform: translate(-5px, 2px); filter: hue-rotate(90deg); }
  40%  { transform: translate(4px, -2px); }
  60%  { transform: translate(-3px, 1px); filter: hue-rotate(-60deg); }
  80%  { transform: translate(2px, 0); }
  100% { transform: translate(0); filter: none; }
}

/* ───────── GLITCH TEXT ───────── */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
.glitch::before { color: var(--cyan); z-index: -1; animation: glitchA 3.2s infinite steps(1); }
.glitch::after  { color: var(--pink); z-index: -2; animation: glitchB 2.7s infinite steps(1); }
@keyframes glitchA {
  0%, 91%, 100% { opacity: 0; transform: none; clip-path: none; }
  92% { opacity: .85; transform: translate(-4px, 2px); clip-path: inset(12% 0 62% 0); }
  94% { opacity: .85; transform: translate(3px, -2px); clip-path: inset(58% 0 8% 0); }
  96% { opacity: 0; }
}
@keyframes glitchB {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; }
  89% { opacity: .8; transform: translate(4px, -1px); clip-path: inset(38% 0 34% 0); }
  91% { opacity: .8; transform: translate(-3px, 2px); clip-path: inset(4% 0 82% 0); }
  93% { opacity: 0; }
}

/* ───────── GLITCH BUTTON ───────── */
.btn-glitch {
  position: relative; display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 16px; letter-spacing: .14em;
  color: var(--cyan); text-decoration: none;
  background: rgba(0,255,255,.05);
  border: 1px solid var(--cyan);
  padding: 16px 42px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  overflow: hidden;
  transition: color .25s, box-shadow .25s, background .25s;
  box-shadow: 0 0 18px rgba(0,255,255,.18), inset 0 0 18px rgba(0,255,255,.06);
}
.btn-glitch--lg { font-size: 18px; padding: 18px 52px; }
.btn-face { display: block; transition: transform .25s; }
.btn-face--hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #000; background: var(--cyan);
  clip-path: inset(48% 0 48% 0);
  transition: clip-path .3s cubic-bezier(.7,0,.3,1);
}
.btn-glitch:hover, .btn-glitch:focus-visible {
  color: var(--white);
  box-shadow: 0 0 32px rgba(0,255,255,.5), inset 0 0 24px rgba(0,255,255,.12);
  outline: none;
}
.btn-glitch:hover .btn-face { transform: translateX(2px); }
.btn-glitch:hover .btn-face--hover, .btn-glitch:focus-visible .btn-face--hover { clip-path: inset(0 0 0 0); }
.btn-glitch:active { transform: scale(.97); }

/* ───────── INTRO ───────── */
.intro-body {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 64px; align-items: center;
}
.intro-text p { margin-bottom: 20px; color: #d6d6d6; }
.mono-label {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--green); letter-spacing: .15em; margin-bottom: 18px;
}
.intro-quote {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 26px); line-height: 1.6;
  color: var(--white);
  border-left: 3px solid var(--pink);
  padding-left: 22px;
  text-shadow: 0 0 18px rgba(255,0,255,.35);
}
.intro-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.holo-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(0,255,255,.4);
}
.holo-ring--1 { width: 78%; height: 78%; animation: spin 22s linear infinite; }
.holo-ring--2 { width: 56%; height: 56%; border-color: rgba(255,0,255,.4); animation: spin 14s linear reverse infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.holo-core {
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle, rgba(0,255,255,.16), transparent 70%);
  border: 1px solid rgba(0,255,255,.5);
  box-shadow: 0 0 40px rgba(0,255,255,.25), inset 0 0 30px rgba(0,255,255,.15);
  animation: coreBreath 3.4s ease-in-out infinite;
}
@keyframes coreBreath { 50% { box-shadow: 0 0 70px rgba(0,255,255,.45), inset 0 0 40px rgba(0,255,255,.25); } }
.core-glyph { font-size: clamp(30px, 4vw, 48px); color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }
.core-readout { position: absolute; bottom: -34px; white-space: nowrap; }
.data-stream {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  font-family: var(--font-mono); font-size: 11px; color: rgba(57,255,20,.35);
  line-height: 1.5; word-break: break-all;
}

/* ───────── MODULES ───────── */
.module-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.module-card {
  position: relative;
  background: linear-gradient(160deg, rgba(0,31,63,.5), rgba(10,10,10,.9));
  border: 1px solid rgba(0,255,255,.22);
  padding: 40px 28px 30px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.module-card:hover, .module-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: 0 12px 40px rgba(0,255,255,.15);
  outline: none;
}
.module-card:nth-child(2):hover, .module-card:nth-child(2):focus-visible { border-color: var(--pink); box-shadow: 0 12px 40px rgba(255,0,255,.15); }
.module-card:nth-child(3):hover, .module-card:nth-child(3):focus-visible { border-color: var(--green); box-shadow: 0 12px 40px rgba(57,255,20,.12); }
.module-icon { width: 54px; height: 54px; color: var(--cyan); margin-bottom: 22px; filter: drop-shadow(0 0 8px rgba(0,255,255,.6)); }
.module-card:nth-child(2) .module-icon { color: var(--pink); filter: drop-shadow(0 0 8px rgba(255,0,255,.6)); }
.module-card:nth-child(3) .module-icon { color: var(--green); filter: drop-shadow(0 0 8px rgba(57,255,20,.5)); }
.module-name { font-family: var(--font-head); font-size: 19px; line-height: 1.4; margin-bottom: 14px; }
.module-en { font-size: 12px; color: var(--silver); letter-spacing: .12em; }
.module-desc { color: #bdbdbd; font-size: 15px; }
.module-id {
  position: absolute; top: 14px; right: 18px;
  font-size: 11px; color: rgba(128,128,128,.6); letter-spacing: .15em;
}

/* ───────── ARCHITECTURE ───────── */
.arch { background: linear-gradient(180deg, transparent, rgba(0,31,63,.25) 50%, transparent); }
.arch-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.arch-diagram {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 40px 10px;
}
.node {
  position: relative; z-index: 2;
  width: 110px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  border: 1px solid rgba(0,255,255,.5);
  background: radial-gradient(circle, rgba(0,255,255,.1), transparent 75%);
  font-family: var(--font-head); font-size: 15px; letter-spacing: .1em;
  box-shadow: 0 0 20px rgba(0,255,255,.15);
}
.node small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--silver); letter-spacing: 0; }
.node--core {
  width: 150px; border-color: var(--pink);
  background: radial-gradient(circle, rgba(255,0,255,.14), transparent 75%);
  box-shadow: 0 0 34px rgba(255,0,255,.3);
  animation: coreBreath 3s ease-in-out infinite;
}
.link { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,255,255,.5), rgba(255,0,255,.5)); position: relative; overflow: visible; }
.pulse-dot {
  position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: pulseTravel 2.4s linear infinite;
}
.pd-1 { left: 12%; } .pd-2 { left: 62%; animation-delay: 1.2s; }
@keyframes pulseTravel {
  0% { transform: translate(0, -50%); opacity: 0; }
  15% { opacity: 1; } 85% { opacity: 1; }
  100% { transform: translate(120px, -50%); opacity: 0; }
}
.arch-panel { display: grid; gap: 18px; }
.log-entry {
  border: 1px solid rgba(128,128,128,.3);
  border-left: 3px solid var(--green);
  background: rgba(10,10,10,.7);
  padding: 20px 24px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.log-entry:hover, .log-entry:focus-visible {
  border-left-color: var(--cyan);
  transform: translateX(8px);
  box-shadow: -6px 0 24px rgba(0,255,255,.12);
  outline: none;
}
.log-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.log-time { color: var(--green); font-size: 12px; }
.log-entry h3 { font-family: var(--font-head); font-size: 16px; }
.log-entry p { color: #b5b5b5; font-size: 15px; }

/* ───────── PROTOCOL / TIMELINE ───────── */
.timeline { list-style: none; position: relative; max-width: 780px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(var(--cyan), var(--pink));
  box-shadow: 0 0 8px rgba(0,255,255,.4);
}
.tl-item { position: relative; padding: 0 0 56px 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: -40px; top: 6px;
  width: 19px; height: 19px; border-radius: 50%;
  border: 2px solid var(--cyan); background: var(--bg);
  box-shadow: 0 0 12px rgba(0,255,255,.5);
}
.tl-node--final { border-color: var(--pink); box-shadow: 0 0 12px rgba(255,0,255,.6); animation: blink 1.6s infinite; }
.tl-date { color: var(--green); font-size: 13px; letter-spacing: .15em; }
.tl-title { font-family: var(--font-head); font-size: 22px; margin: 8px 0 10px; }
.tl-desc { color: #b5b5b5; max-width: 560px; }

/* ───────── ACCESS / CTA ───────── */
.access { text-align: center; overflow: hidden; }
.access-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,0,255,.14), transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(0,255,255,.1), transparent 60%);
}
.access-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.access-warn { color: #ffb000; font-size: 13px; letter-spacing: .25em; margin-bottom: 20px; }
.access-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(30px, 5.6vw, 58px);
  text-shadow: 0 0 36px rgba(255,0,255,.4);
}
.access-lead { margin-top: 22px; color: #cfcfcf; }
.access-lead em { font-style: normal; color: var(--pink); text-shadow: 0 0 12px rgba(255,0,255,.6); font-weight: 700; }

.countdown {
  display: flex; justify-content: center; align-items: baseline; gap: 10px;
  margin: 44px 0;
  font-family: var(--font-mono);
}
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cd-num {
  font-size: clamp(30px, 5vw, 52px); color: var(--cyan);
  text-shadow: 0 0 18px rgba(0,255,255,.6);
  min-width: 2ch; text-align: center;
}
.cd-label { font-size: 11px; color: var(--silver); letter-spacing: .25em; }
.cd-sep { font-size: clamp(24px, 4vw, 40px); color: var(--pink); animation: blink 1s infinite; }

.reg-form { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.reg-field {
  display: flex; align-items: center; gap: 10px;
  width: min(480px, 100%);
  border: 1px solid rgba(0,255,255,.35);
  background: rgba(0,31,63,.3);
  padding: 4px 16px;
  transition: border-color .3s, box-shadow .3s;
}
.reg-field:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,255,255,.25);
}
.reg-prefix { color: var(--green); }
.reg-field input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-family: var(--font-mono); font-size: 15px;
  padding: 12px 0; caret-color: var(--cyan);
}
.reg-field input::placeholder { color: rgba(128,128,128,.7); }
.reg-msg { min-height: 24px; font-size: 14px; margin-top: 6px; }
.reg-msg.ok  { color: var(--green); text-shadow: 0 0 10px rgba(57,255,20,.5); }
.reg-msg.err { color: #ff4444; }
.reg-note { font-size: 12px; color: var(--silver); margin-top: 18px; }

/* ───────── FOOTER ───────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(0,255,255,.18);
  padding: 48px 6vw 28px;
  background: rgba(5,5,5,.9);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.footer-logo { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; }
.footer-copy { font-size: 12px; color: var(--silver); margin-top: 8px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--silver); text-decoration: none;
  transition: color .25s, text-shadow .25s;
}
.footer-links a:hover { color: var(--cyan); text-shadow: 0 0 8px rgba(0,255,255,.6); }
.footer-social { display: flex; gap: 12px; }
.sns {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(128,128,128,.4);
  color: var(--silver); text-decoration: none;
  font-family: var(--font-mono); font-size: 13px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: all .3s;
}
.sns:hover { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 16px rgba(255,0,255,.3); }
.footer-barcode {
  margin-top: 32px; text-align: center;
  font-size: 10px; letter-spacing: 2px;
  color: rgba(128,128,128,.4); user-select: none;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 960px) {
  .intro-body, .arch-body { grid-template-columns: 1fr; gap: 48px; }
  .module-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .nav-links { display: none; }
  .menu-btn { display: flex; margin-left: auto; order: 3; }
  .sound-toggle { order: 2; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; right: 0;
    background: rgba(10,10,10,.96);
    border-left: 1px solid rgba(0,255,255,.3);
    padding: 32px 40px; gap: 22px;
  }
  .section { padding: 88px 6vw; }
}
.sp-br { display: none; }
@media (max-width: 560px) {
  .sp-br { display: block; }
  body { font-size: 16px; }
  .countdown { gap: 6px; }
  .hero-cta .btn-glitch { width: 100%; text-align: center; }
}
