/* =====================================================================
   VOIDWAVE — landing page styles
   Color language (from the game): cyan = your infrastructure,
   magenta/purple = the Void, orange = heat & smelting.
   ===================================================================== */

:root {
  --bg:        #060912;
  --bg-2:      #0a0f1d;
  --panel:     #0d1426;
  --panel-2:   #111a30;
  --line:      rgba(120, 200, 255, 0.14);
  --line-soft: rgba(120, 200, 255, 0.08);

  --cyan:      #38e1ff;
  --cyan-bri:  #8af3ff;
  --magenta:   #ff2d9b;
  --pink:      #ff5bb0;
  --purple:    #a44bff;
  --orange:    #ff8a3d;

  --text:      #d6e2f7;
  --muted:     #8493b6;
  --dim:       #7c89ab; /* AA-contrast on --bg for small text */
  --white:     #eef7ff;

  --maxw: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-disp: 'Press Start 2P', monospace;
  --font-ui:   'Chakra Petch', system-ui, sans-serif;
  --font-mono: 'Share Tech Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: .2px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--cyan); color: #04121a; padding: 10px 16px;
  border-radius: 8px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ============ ambient background ============ */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(164,75,255,.12), transparent 60%),
    radial-gradient(1000px 700px at 12% 8%, rgba(56,225,255,.10), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(255,45,155,.10), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
}
.bg-blocks { position: absolute; inset: 0; }
.bg-blocks i {
  position: absolute; display: block; border: 1px solid rgba(120,200,255,.18);
  background: rgba(120,200,255,.03); animation: drift linear infinite;
}
@keyframes drift {
  from { transform: translateY(20px); opacity: 0; }
  10%  { opacity: .7; }
  90%  { opacity: .7; }
  to   { transform: translateY(-110vh); opacity: 0; }
}
.bg-scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(transparent 0 2px, rgba(0,0,0,.22) 2px 3px);
  mix-blend-mode: overlay;
}
.bg-vignette { position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 360px 60px rgba(0,0,0,.85); }

/* ============ buttons ============ */
.btn {
  --c: var(--cyan);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-ui); font-weight: 700; font-size: .98rem;
  letter-spacing: .04em; line-height: 1;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s var(--ease), box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-ico { color: inherit; font-size: .85em; transform: translateY(-1px); }

.btn-primary {
  color: #06101a;
  background: linear-gradient(135deg, var(--cyan), #34c8ff 55%, var(--cyan-bri));
  box-shadow: 0 0 0 1px rgba(138,243,255,.5), 0 10px 30px -8px rgba(56,225,255,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(138,243,255,.8), 0 16px 40px -8px rgba(56,225,255,.75); }

.btn-ghost {
  color: var(--text);
  background: rgba(120,200,255,.05);
  border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--white); background: rgba(56,225,255,.1); }

.btn-wishlist {
  color: #06101a; background: linear-gradient(135deg, var(--cyan), var(--cyan-bri));
  padding: 10px 16px; font-size: .9rem;
  box-shadow: 0 0 22px -6px rgba(56,225,255,.7);
}
.btn-wishlist:hover { transform: translateY(-1px); }

/* "Coming soon" Steam state (set steamLive:true in config to switch to a live link) */
.btn.is-soon {
  cursor: default; color: var(--cyan-bri);
  background: rgba(56,225,255,.07);
  border: 1px dashed rgba(56,225,255,.5);
  box-shadow: none;
}
.btn.is-soon:hover { transform: none; box-shadow: none; background: rgba(56,225,255,.07); }
.btn.is-soon .btn-ico { display: none; }
.btn.is-soon::before {
  content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 10px var(--orange);
  animation: blink 1.6s steps(1) infinite;
}

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,12,22,.82); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-ring {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2px solid var(--cyan-bri);
  background: radial-gradient(circle at 50% 50%, #fff 0 18%, var(--pink) 30%, var(--purple) 60%, #160024 100%);
  box-shadow: 0 0 14px -2px var(--cyan), inset 0 0 6px rgba(0,0,0,.6);
}
.brand-name {
  font-family: var(--font-disp); font-size: .82rem; letter-spacing: .08em;
  color: var(--white); text-shadow: 0 0 16px rgba(56,225,255,.55);
}
.nav-menu { display: flex; align-items: center; flex: 1; gap: 22px; }
.nav-links { display: flex; gap: 26px; margin-right: auto; }
.nav-links a {
  font-size: .95rem; color: var(--muted); font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--cyan); transition: width .25s var(--ease); box-shadow: 0 0 8px var(--cyan);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.social-ico {
  color: var(--muted); display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px; transition: color .2s, background .2s, transform .2s;
}
.social-ico:hover { color: var(--white); background: rgba(120,200,255,.08); transform: translateY(-2px); }

/* pixel-art icons (sprite referenced via <use>) */
.px-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.px-ico { display: block; color: inherit; shape-rendering: crispEdges; image-rendering: pixelated; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 38px;
  background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger span { width: 18px; height: 2px; background: var(--text); transition: .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ hero ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .32; filter: saturate(1.15) contrast(1.05);
  animation: heroFade 1.6s var(--ease) both;
}
@keyframes heroFade { from { opacity: 0; } to { opacity: .32; } }
.hero-media-fade {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(closest-side at 50% 44%, transparent 30%, rgba(6,9,18,.55) 75%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(6,9,18,.5), transparent 30% 60%, var(--bg) 96%);
}

/* WebGL black-hole layer (progressive enhancement over the CSS .void-ring) */
.hero-shader {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; pointer-events: none;
  transition: opacity 1.2s var(--ease);
}
.shader-on .hero-shader { opacity: 1; }
.shader-on .hero-video  { opacity: 0; }          /* still decoding — feeds the shader as a texture */
.shader-on .void-ring   { display: none; }       /* shader draws its own ring */

/* the void ring — a pure-CSS black hole */
.void-ring {
  position: absolute; top: 42%; left: 50%; translate: -50% -50%;
  width: min(620px, 86vw); aspect-ratio: 1; z-index: -1; pointer-events: none;
}
.void-ring .vr-orbit, .void-ring .vr-glow, .void-ring .vr-core {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
}
.vr-orbit {
  border: 2px solid rgba(170,240,255,.85);
  box-shadow: 0 0 60px 6px rgba(56,225,255,.55), inset 0 0 50px 4px rgba(56,225,255,.35);
  animation: ringSpin 26s linear infinite, ringPulse 6s ease-in-out infinite;
}
.vr-glow {
  width: 46%; height: 46%;
  background: radial-gradient(circle, rgba(255,91,176,.55), rgba(164,75,255,.25) 55%, transparent 72%);
  filter: blur(8px); animation: ringPulse 5s ease-in-out infinite;
}
.vr-core {
  width: 30%; height: 30%;
  background: radial-gradient(circle at 50% 50%, #fff 0 12%, var(--pink) 26%, var(--purple) 55%, #12001f 78%, transparent 82%);
  box-shadow: 0 0 60px 10px rgba(255,45,155,.45);
}
.vr-core::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 16%; height: 16%;
  background: #060009; border-radius: 50%; box-shadow: 0 0 18px 3px rgba(0,0,0,.9);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringPulse { 0%,100% { opacity: .85; } 50% { opacity: 1; filter: brightness(1.18); } }

.hero-content { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan-bri); margin: 0 0 22px;
  border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px;
  background: rgba(56,225,255,.05);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta); animation: blink 1.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.hero-title {
  font-family: var(--font-disp); color: var(--white);
  font-size: clamp(1.7rem, 7.4vw, 5.2rem); line-height: 1; margin: 0 0 18px;
  letter-spacing: .02em; word-break: break-word; text-shadow: 0 0 30px rgba(56,225,255,.5), 0 0 60px rgba(164,75,255,.3);
}
.hero-tagline {
  font-family: var(--font-mono); color: var(--cyan-bri);
  font-size: clamp(1rem, 2.6vw, 1.5rem); letter-spacing: .12em; margin: 0 0 22px;
}
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-cta.center { margin-top: 8px; }
.hero-note { margin-top: 22px; font-family: var(--font-mono); font-size: .85rem; color: var(--dim); letter-spacing: .05em; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan); animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* glitch text */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
  clip-path: inset(0 0 0 0);
}
.glitch::before { color: var(--cyan); animation: glitchA 4.2s infinite steps(2); mix-blend-mode: screen; }
.glitch::after  { color: var(--magenta); animation: glitchB 3.4s infinite steps(2); mix-blend-mode: screen; }
@keyframes glitchA { 0%,92%,100% { transform: translate(0); opacity:0; } 93% { transform: translate(-3px,1px); opacity:.9; } 96% { transform: translate(2px,-1px); opacity:.6; } }
@keyframes glitchB { 0%,90%,100% { transform: translate(0); opacity:0; } 91% { transform: translate(3px,-1px); opacity:.9; } 95% { transform: translate(-2px,1px); opacity:.5; } }

/* ============ marquee ============ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(8,12,22,.5);
  padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex: none; }
.marquee span { font-family: var(--font-disp); font-size: .82rem; color: var(--muted); letter-spacing: .05em; white-space: nowrap; }
.marquee i { color: var(--magenta); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ sections ============ */
.section { padding: clamp(70px, 11vw, 130px) 0; position: relative; }
.kicker { font-family: var(--font-mono); color: var(--cyan); letter-spacing: .2em; text-transform: uppercase;
  font-size: .82rem; margin: 0 0 14px; }
.h2 { font-family: var(--font-ui); font-weight: 700; color: var(--white);
  font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.01em; }
.h3 { font-family: var(--font-ui); font-weight: 700; color: var(--white); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 14px; }
.lead { font-size: 1.25rem; color: var(--text); margin: 0 0 18px; }
.body { color: var(--muted); margin: 0 0 16px; }
.body strong, .lead strong { color: var(--cyan-bri); font-weight: 700; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(34px, 6vw, 76px); align-items: center; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stat-list li {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(13,20,38,.4));
}
.stat-list b { font-family: var(--font-disp); font-size: 1.15rem; color: var(--cyan-bri); letter-spacing: .02em; }
.stat-list span { color: var(--muted); font-size: .98rem; }

/* core loop */
.loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(10,15,29,.55));
  overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background: radial-gradient(120px 80px at 100% 0, var(--glow, transparent), transparent 70%);
}
.loop-card { padding: 26px 24px 28px; }
.loop-card[data-accent="cyan"]    { --glow: rgba(56,225,255,.22); }
.loop-card[data-accent="orange"]  { --glow: rgba(255,138,61,.22); }
.loop-card[data-accent="magenta"] { --glow: rgba(255,45,155,.22); }
.loop-card[data-accent="purple"]  { --glow: rgba(164,75,255,.22); }
.loop-card:hover { transform: translateY(-6px); border-color: rgba(120,200,255,.4); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.loop-num { font-family: var(--font-disp); font-size: .9rem; color: var(--dim); display: block; margin-bottom: 18px; }
.loop-card h3 { font-family: var(--font-ui); font-weight: 700; color: var(--white); font-size: 1.3rem; margin: 0 0 10px; }
.loop-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 70px);
  align-items: center; margin-bottom: clamp(60px, 9vw, 110px); }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: 1rem; }
.ticks li::before {
  content: '◢'; position: absolute; left: 0; top: 1px; color: var(--cyan);
  font-size: .8rem; text-shadow: 0 0 8px var(--cyan);
}
.feature-media {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--bg-2);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(56,225,255,.05);
}
.feature-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 70px rgba(0,0,0,.6);
  background: repeating-linear-gradient(transparent 0 3px, rgba(0,0,0,.12) 3px 4px); opacity: .5;
}
.feature-media .clip { width: 100%; height: 100%; object-fit: cover; }

/* the void */
.void-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.void-card { flex: 1 1 160px; max-width: 200px; padding: 26px 18px; text-align: center; }
.void-card:hover { transform: translateY(-6px); border-color: rgba(255,45,155,.45); box-shadow: 0 24px 50px -24px rgba(255,45,155,.3); }
.void-card h3 { font-family: var(--font-ui); font-weight: 700; color: var(--white); font-size: 1.12rem; margin: 16px 0 4px; }
.vc-role { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--pink); margin: 0 0 16px; text-transform: uppercase; }
.vc-stats { display: grid; gap: 6px; margin: 0; }
.vc-stats div { display: flex; justify-content: space-between; font-size: .9rem;
  border-top: 1px solid var(--line-soft); padding-top: 6px; }
.vc-stats dt { color: var(--dim); margin: 0; }
.vc-stats dd { color: var(--text); margin: 0; font-family: var(--font-mono); }
/* enemy roster — real in-game capture GIFs in a framed "specimen" window */
.vc-gif {
  display: block; width: 118px; height: 118px; margin: 0 auto 8px;
  border-radius: 10px; border: 1px solid var(--line-soft);
  object-fit: cover; background: #0a0f1d;
}

/* "more incoming" teaser card — a glitching unknown specimen */
.vc-unknown {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 118px; height: 118px; margin: 0 auto 8px;
  border-radius: 10px; border: 1px dashed rgba(255,91,176,.45); background: #0a0f1d;
}
.vc-unknown::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(transparent 0 3px, rgba(120,200,255,.06) 3px 4px);
}
.vc-q {
  position: relative; font-family: var(--font-disp); font-size: 2.5rem; line-height: 1;
  color: var(--white); text-shadow: 0 0 16px rgba(255,45,155,.6);
  animation: qPulse 2.6s ease-in-out infinite;
}
.vc-q::before, .vc-q::after { content: '?'; position: absolute; inset: 0; mix-blend-mode: screen; }
.vc-q::before { color: var(--cyan); animation: qGlitchA 3.2s infinite steps(2); }
.vc-q::after { color: var(--magenta); animation: qGlitchB 2.6s infinite steps(2); }
@keyframes qPulse { 0%,100% { opacity: .82; } 50% { opacity: 1; } }
@keyframes qGlitchA { 0%,90%,100% { transform: translate(0); opacity: 0; } 92% { transform: translate(-3px,1px); opacity: .9; } 96% { transform: translate(2px,-1px); opacity: .6; } }
@keyframes qGlitchB { 0%,88%,100% { transform: translate(0); opacity: 0; } 90% { transform: translate(3px,-1px); opacity: .9; } 95% { transform: translate(-2px,1px); opacity: .5; } }
.void-card-more .vc-role { color: var(--cyan-bri); }

/* media gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot {
  position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; padding: 0; background: var(--bg-2);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.shot video { width: 100%; height: 100%; object-fit: cover; }
.shot .play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px;
  display: grid; place-items: center; border-radius: 50%; color: var(--white);
  background: rgba(6,9,18,.55); border: 1px solid rgba(170,240,255,.6); backdrop-filter: blur(4px);
  font-size: 1.1rem; padding-left: 4px; transition: transform .25s, background .25s; pointer-events: none;
}
.shot::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0,0,0,.5); }
.shot:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 24px 50px -24px rgba(56,225,255,.4); }
.shot:hover .play { transform: scale(1.1); background: rgba(56,225,255,.25); }

/* cta band */
.cta-band { text-align: center; border-block: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(164,75,255,.14), transparent 70%),
    radial-gradient(700px 360px at 50% 100%, rgba(56,225,255,.1), transparent 70%); }
.cta-inner { position: relative; max-width: 720px; }
.cta-inner .void-ring.small { position: relative; top: auto; left: auto; translate: 0;
  width: 130px; margin: 0 auto 26px; }
.cta-inner .void-ring.small .vr-orbit { box-shadow: 0 0 30px 2px rgba(56,225,255,.5), inset 0 0 24px rgba(56,225,255,.3); }

/* community */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.community-card { padding: 30px 26px; display: block; }
.community-card[data-accent="purple"]  { --glow: rgba(164,75,255,.26); }
.community-card[data-accent="magenta"] { --glow: rgba(255,45,155,.26); }
.community-card[data-accent="cyan"]    { --glow: rgba(56,225,255,.26); }
.community-card:hover { transform: translateY(-6px); border-color: rgba(120,200,255,.4); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.cc-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 12px;
  color: var(--white); background: rgba(120,200,255,.07); border: 1px solid var(--line); margin-bottom: 18px; }
.community-card h3 { font-family: var(--font-ui); font-weight: 700; color: var(--white); font-size: 1.3rem; margin: 0 0 8px; }
.community-card p { color: var(--muted); margin: 0 0 18px; }
.cc-go { font-family: var(--font-mono); color: var(--cyan); font-size: .92rem; letter-spacing: .04em; }

/* press */
.press-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(180deg, var(--panel), rgba(10,15,29,.5)); flex-wrap: wrap; }
.press-inner .h2 { margin-bottom: 10px; }
.press-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* footer */
.footer { border-top: 1px solid var(--line); background: rgba(6,9,18,.7); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 30px; align-items: start;
  padding-bottom: 36px; }
.footer-tag { font-family: var(--font-mono); color: var(--dim); margin: 14px 0 0; font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .98rem; transition: color .2s; }
.footer-links a:hover { color: var(--cyan-bri); }
.footer-social { display: flex; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--line-soft); padding: 22px 0; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: var(--dim); font-size: .85rem; }
.footer-made { font-family: var(--font-mono); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center;
  background: rgba(4,6,12,.92); backdrop-filter: blur(8px); padding: 24px;
}
.lightbox.open { display: grid; }
.lb-video { width: min(1100px, 94vw); max-height: 86vh; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: 0 40px 100px -30px #000; background: #000; }
.lb-close {
  position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; border-radius: 10px;
  background: rgba(120,200,255,.08); border: 1px solid var(--line); color: var(--white);
  font-size: 1.2rem; cursor: pointer; transition: background .2s, transform .2s;
}
.lb-close:hover { background: rgba(255,45,155,.2); transform: rotate(90deg); }

/* ============ reveal ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ responsive ============ */
@media (max-width: 940px) {
  .nav-menu {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,12,22,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; transform: translateY(-130%); transition: transform .3s var(--ease); flex: none;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 0; margin-right: 0; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); width: 100%; }
  .nav-actions { justify-content: center; gap: 22px; padding: 16px 0 4px; }
  .nav-burger { display: flex; margin-left: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
  .void-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-menu { top: 62px; }
  .loop-grid { grid-template-columns: 1fr; }
  .void-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .press-inner { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; }
}
