/* ============================================================
   ATOMIK SELECTIONS · Coming Soon
   ============================================================ */

:root {
  /* palette */
  --void:        #04001a;
  --void-2:      #0a0228;
  --plum:        #1a0640;
  --violet:      #6a3bff;
  --violet-hot:  #a875ff;
  --magenta:     #ff4fcf;
  --pink-hot:    #ff7ad9;
  --cyan:        #75f0ff;
  --cyan-deep:   #2dbbe6;
  --gold:        #ffd479;
  --paper:       #f8e9ff;
  --ink:         #b9a4ff;

  /* type */
  --f-display: "Monoton", "Impact", sans-serif;
  --f-serif:   "Fraunces", "Times New Roman", serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* motion */
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.2,.6,.2,1);

  /* parallax (set from JS) */
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
html { background: var(--void); }
body {
  font-family: var(--f-mono);
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 60% at 50% 12%, #16093a 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 50% 100%, #2a0d5e 0%, transparent 55%),
    linear-gradient(180deg, #02000d 0%, #06001f 50%, #0a0228 100%);
  min-height: 100vh;
  overflow: hidden;
  letter-spacing: 0.02em;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (pointer: coarse), (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
input { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed; left: 0; top: 0;
  width: 1px; height: 1px;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
}
.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  margin: -18px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  transition: transform .25s var(--ease-out), border-color .2s, width .2s, height .2s, margin .2s;
}
.cursor__dot {
  position: absolute;
  width: 4px; height: 4px;
  margin: -2px;
  border-radius: 50%;
  background: #fff;
}
.cursor.is-hot .cursor__ring {
  transform: scale(1.5);
  border-color: var(--pink-hot);
}
.cursor.is-press .cursor__ring {
  width: 22px; height: 22px; margin: -11px;
}

/* ============================================================
   BACKDROP · NEBULA + STARS + PLANETS
   ============================================================ */
.backdrop {
  position: fixed; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0.85;
  will-change: transform, opacity;
}
.nebula--violet {
  width: 70vmax; height: 70vmax;
  top: -15%; left: -10%;
  background: radial-gradient(circle at 50% 50%,
    rgba(168,117,255,0.85) 0%,
    rgba(106,59,255,0.55) 35%,
    rgba(106,59,255,0) 70%);
  animation: drift-1 38s ease-in-out infinite alternate;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -18px), 0);
}
.nebula--magenta {
  width: 60vmax; height: 60vmax;
  bottom: -20%; right: -15%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255,79,207,0.7) 0%,
    rgba(255,122,217,0.35) 40%,
    rgba(255,122,217,0) 70%);
  animation: drift-2 46s ease-in-out infinite alternate;
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 14px), 0);
}
.nebula--cyan {
  width: 50vmax; height: 50vmax;
  top: 30%; right: -20%;
  background: radial-gradient(circle at 50% 50%,
    rgba(117,240,255,0.45) 0%,
    rgba(45,187,230,0.25) 45%,
    rgba(45,187,230,0) 75%);
  animation: drift-3 54s ease-in-out infinite alternate;
  transform: translate3d(calc(var(--mx) * 28px), calc(var(--my) * -22px), 0);
}
.nebula--core {
  width: 55vmin; height: 55vmin;
  left: 50%; top: 50%;
  margin: -27.5vmin 0 0 -27.5vmin;
  background: radial-gradient(circle at 50% 50%,
    rgba(255,180,242,0.35) 0%,
    rgba(168,117,255,0.18) 30%,
    rgba(106,59,255,0) 65%);
  filter: blur(50px);
  animation: pulse-core 9s ease-in-out infinite;
}

@keyframes drift-1 {
  0%   { transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -18px), 0) rotate(0deg)   scale(1); }
  100% { transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -18px), 0) rotate(20deg)  scale(1.08); }
}
@keyframes drift-2 {
  0%   { transform: translate3d(calc(var(--mx) * 18px),  calc(var(--my) * 14px),  0) rotate(0deg)   scale(1); }
  100% { transform: translate3d(calc(var(--mx) * 18px),  calc(var(--my) * 14px),  0) rotate(-18deg) scale(1.12); }
}
@keyframes drift-3 {
  0%   { transform: translate3d(calc(var(--mx) * 28px),  calc(var(--my) * -22px), 0) rotate(0deg)   scale(0.95); }
  100% { transform: translate3d(calc(var(--mx) * 28px),  calc(var(--my) * -22px), 0) rotate(15deg)  scale(1.1); }
}
@keyframes pulse-core {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* star fields (radial-gradient based — set in JS) */
.stars {
  position: absolute; inset: 0;
  background-repeat: repeat;
  will-change: transform;
}
.stars--far {
  background-size: 380px 380px;
  opacity: 0.6;
  transform: translate3d(calc(var(--mx) * -4px), calc(var(--my) * -4px), 0);
  animation: twinkle-far 6s steps(8) infinite;
}
.stars--mid {
  background-size: 260px 260px;
  opacity: 0.85;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0);
  animation: twinkle-mid 4.5s steps(6) infinite;
}
.stars--near {
  background-size: 180px 180px;
  opacity: 1;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -18px), 0);
  animation: twinkle-near 3.2s steps(4) infinite;
}
@keyframes twinkle-far  { 50% { opacity: 0.35; } }
@keyframes twinkle-mid  { 50% { opacity: 0.55; } }
@keyframes twinkle-near { 50% { opacity: 0.7; } }

/* shooting stars container */
.shooting-stars { position: absolute; inset: 0; }
.shoot {
  position: absolute;
  width: 180px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 60%, var(--pink-hot) 100%);
  filter: drop-shadow(0 0 8px var(--pink-hot));
  opacity: 0;
  transform-origin: right center;
  will-change: transform, opacity;
}
@keyframes shoot {
  0%   { opacity: 0; transform: translate3d(0,0,0) scaleX(0.2); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(120vmax, 60vmax, 0) scaleX(1.4); }
}

/* planets (parallax via --mx/--my) */
.planet {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(255,180,242,0.18));
  will-change: transform;
}
.planet--ringed {
  width: 38vmin; height: auto;
  top: 8%; right: -6vmin;
  transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 18px), 0) rotate(-12deg);
  animation: planet-float 22s ease-in-out infinite alternate;
  opacity: 0.95;
}
.planet--seed {
  width: 18vmin; height: auto;
  bottom: 6%; left: 4vmin;
  transform: translate3d(calc(var(--mx) * -24px), calc(var(--my) * -16px), 0) rotate(14deg);
  animation: planet-float 26s ease-in-out infinite alternate-reverse;
  opacity: 0.92;
  filter: drop-shadow(0 0 30px rgba(107,245,215,0.25));
}
.planet--moon {
  width: 9vmin; height: auto;
  top: 22%; left: 8vmin;
  transform: translate3d(calc(var(--mx) * -38px), calc(var(--my) * -28px), 0);
  animation: planet-float 18s ease-in-out infinite alternate;
  opacity: 0.85;
}
@keyframes planet-float {
  0%   { translate: 0 0; }
  100% { translate: 0 -18px; }
}

/* grid floor (perspective horizon line) */
.grid-floor {
  position: absolute;
  left: 50%;
  bottom: -28vh;
  width: 240vw;
  height: 60vh;
  margin-left: -120vw;
  background-image:
    linear-gradient(to right, rgba(168,117,255,0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,79,207,0.14) 1px, transparent 1px);
  background-size: 80px 60px;
  transform: perspective(600px) rotateX(72deg);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================
   HUD CORNERS
   ============================================================ */
.hud {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 30;
}
.hud__corner {
  position: absolute;
  display: flex;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 230, 250, 0.55);
  text-transform: uppercase;
}
.hud__corner--tl { top: 22px; left: 26px; }
.hud__corner--tr { top: 22px; right: 26px; }
.hud__corner--bl { bottom: 56px; left: 26px; }
.hud__corner--br { bottom: 56px; right: 26px; }
.hud__tick {
  font-family: var(--f-mono);
  color: var(--pink-hot);
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}
.hud__block { display: flex; flex-direction: column; gap: 3px; }
.hud__block--right { text-align: right; }
.hud__label b { color: var(--cyan); font-weight: 500; letter-spacing: 0.22em; }
.hud__label em { color: var(--pink-hot); font-style: normal; }
.hud__sub { color: rgba(180, 160, 220, 0.45); }
.hud__sub em { color: var(--violet-hot); font-style: normal; }

@media (max-width: 640px) {
  .hud__corner { font-size: 9px; gap: 6px; }
  .hud__corner--tl, .hud__corner--tr { top: 14px; }
  .hud__corner--tl, .hud__corner--bl { left: 14px; }
  .hud__corner--tr, .hud__corner--br { right: 14px; }
  .hud__corner--bl, .hud__corner--br { bottom: 44px; }
  .hud__tick { font-size: 14px; }
}

/* ============================================================
   STAGE + ATOM
   ============================================================ */
.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  z-index: 10;
  padding: clamp(80px, 12vh, 140px) 24px clamp(120px, 14vh, 160px);
}

.atom {
  position: absolute;
  left: 50%; top: 50%;
  width: min(92vmin, 1100px);
  aspect-ratio: 1 / 1;
  transform: translate3d(-50%, -50%, 0)
             rotate3d(1, 0, 0, calc(var(--my) * 6deg))
             rotate3d(0, 1, 0, calc(var(--mx) * 6deg));
  transform-style: preserve-3d;
  z-index: 1;
  pointer-events: none;
}
.atom__halo {
  position: absolute; inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 180, 242, 0.18) 0%,
    rgba(168, 117, 255, 0.10) 35%,
    transparent 65%);
  filter: blur(30px);
  animation: halo-breathe 7s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.atom__nucleus {
  position: absolute;
  left: 50%; top: 50%;
  width: 9.5vmin; height: 9.5vmin;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.atom__nucleus-core {
  position: absolute; inset: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, var(--pink-hot) 30%, var(--magenta) 55%, #5a0e8a 90%);
  box-shadow:
    0 0 30px rgba(255, 122, 217, 0.8),
    0 0 80px rgba(255, 79, 207, 0.55),
    inset 0 0 12px rgba(255, 255, 255, 0.6);
  animation: nucleus-pulse 2.6s ease-in-out infinite;
}
.atom__nucleus-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 180, 242, 0.35);
  animation: ring-spin 12s linear infinite;
}
@keyframes nucleus-pulse {
  0%, 100% { transform: scale(1);    filter: brightness(1); }
  50%      { transform: scale(1.08); filter: brightness(1.2); }
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.atom__orbit-wrap {
  position: absolute; inset: 0;
  transform: rotate(var(--tilt, 0deg));
}
.atom__orbit-line {
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; height: 36%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(190, 130, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 40px rgba(168,117,255,0.10),
    0 0 30px rgba(168,117,255,0.06);
}
.atom__electron {
  position: absolute;
  width: 26px; height: 26px;
  left: 50%; top: 50%;
  margin: -13px 0 0 -13px;
  color: var(--violet-hot);
  filter: drop-shadow(0 0 8px currentColor) drop-shadow(0 0 16px currentColor);
  offset-path: path("M -49 0 A 49 18 0 1 1 49 0 A 49 18 0 1 1 -49 0 Z");
  offset-rotate: 0deg;
  animation: orbit var(--dur, 14s) linear infinite;
  animation-delay: var(--t-offset, 0s);
}
/* the offset-path above is in viewBox-relative arbitrary units;
   we use a percent-based ellipse via JS-friendly path? Use ellipse() shorthand */
.atom__electron {
  offset-path: ellipse(46% 18% at 50% 50%);
}
.atom__electron svg { width: 100%; height: 100%; display: block; }
@keyframes orbit {
  to { offset-distance: 100%; }
}

/* ============================================================
   FLOATING LEAVES (foreground accents)
   ============================================================ */
.float-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  filter: drop-shadow(0 0 12px currentColor);
  will-change: transform;
}
.float-leaf--1 {
  width: 14vmin;
  top: 14%; left: 6%;
  color: var(--cyan);
  transform: translate3d(calc(var(--mx) * -40px), calc(var(--my) * -28px), 0) rotate(-22deg);
  animation: leaf-bob-1 14s ease-in-out infinite alternate;
}
.float-leaf--2 {
  width: 11vmin;
  bottom: 18%; right: 8%;
  color: var(--pink-hot);
  transform: translate3d(calc(var(--mx) * 36px), calc(var(--my) * 28px), 0) rotate(28deg);
  animation: leaf-bob-2 17s ease-in-out infinite alternate;
}
.float-leaf--3 {
  width: 9vmin;
  top: 60%; left: 14%;
  color: var(--violet-hot);
  transform: translate3d(calc(var(--mx) * -28px), calc(var(--my) * 22px), 0) rotate(-8deg);
  animation: leaf-bob-3 19s ease-in-out infinite alternate;
}
@keyframes leaf-bob-1 { to { translate: 0 -22px; rotate: -10deg; } }
@keyframes leaf-bob-2 { to { translate: 0 18px;  rotate: 38deg;  } }
@keyframes leaf-bob-3 { to { translate: 0 -14px; rotate: 4deg;   } }

/* ============================================================
   HERO CONTENT
   ============================================================ */
.hero {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  gap: clamp(14px, 2.2vh, 22px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 230, 250, 0.6);
  opacity: 0;
  animation: rise 1s var(--ease-out) .3s forwards;
}
.hero__eyebrow-line {
  display: inline-block;
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-hot), transparent);
}

.hero__logo {
  width: min(88vw, 540px);
  opacity: 0;
  filter: drop-shadow(0 0 26px rgba(255, 180, 242, 0.35))
          drop-shadow(0 0 60px rgba(168, 117, 255, 0.25));
  animation: rise 1.1s var(--ease-out) .55s forwards, logo-breathe 5s ease-in-out 1.5s infinite;
  transform: translateY(0);
}
.hero__logo img {
  width: 100%;
  height: auto;
}
@keyframes logo-breathe {
  0%, 100% { filter: drop-shadow(0 0 26px rgba(255,180,242,0.35)) drop-shadow(0 0 60px rgba(168,117,255,0.25)); }
  50%      { filter: drop-shadow(0 0 40px rgba(255,180,242,0.55)) drop-shadow(0 0 90px rgba(168,117,255,0.4)); }
}

.hero__title {
  position: relative;
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 4.2vw, 44px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1.1s var(--ease-out) .9s forwards;
}
.hero__title-real {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, var(--pink-hot) 70%, var(--magenta) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 122, 217, 0.35);
}
.hero__title-glitch {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--violet-hot) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: screen;
  filter: blur(0.4px);
  animation: chroma-shift 4.5s ease-in-out infinite;
}
@keyframes chroma-shift {
  0%, 100% { transform: translate(0, 0); opacity: 0.85; }
  20%      { transform: translate(-2px, 0); opacity: 1; }
  40%      { transform: translate(2px, -1px); opacity: 0.7; }
  60%      { transform: translate(-1px, 1px); opacity: 0.9; }
  80%      { transform: translate(1px, 0); opacity: 0.8; }
}

.hero__tagline {
  margin: 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(248, 233, 255, 0.78);
  max-width: 36ch;
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 1.15s forwards;
}
.hero__tagline-em {
  font-style: normal;
  font-family: var(--f-mono);
  font-weight: 300;
  letter-spacing: 0.04em;
  font-size: 0.85em;
  color: var(--cyan);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}
.hero__tagline em {
  font-style: italic;
  color: var(--pink-hot);
  font-weight: 400;
}

/* signal form */
.signal {
  margin-top: 8px;
  width: min(100%, 460px);
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 1.4s forwards;
}
.signal__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: rgba(255, 230, 250, 0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.signal__bracket { color: var(--pink-hot); }
.signal__row {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(190, 130, 255, 0.4);
  border-radius: 0;
  background: rgba(10, 2, 40, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.signal__row::before, .signal__row::after {
  /* corner ticks */
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--pink-hot);
  pointer-events: none;
}
.signal__row::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.signal__row::after  { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.signal__row:focus-within {
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 1px rgba(255,122,217,0.25), 0 0 30px rgba(255,79,207,0.18);
}

.signal__input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper);
  outline: none;
}
.signal__input::placeholder {
  color: rgba(190, 160, 230, 0.4);
  letter-spacing: 0.1em;
}

.signal__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  color: var(--void);
  background: linear-gradient(180deg, var(--pink-hot) 0%, var(--magenta) 100%);
  cursor: none;
  overflow: hidden;
  transition: filter .3s, transform .25s var(--ease-out);
}
.signal__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .8s var(--ease-out);
}
.signal__btn:hover::after { transform: translateX(110%); }
.signal__btn:hover { filter: brightness(1.1); }
.signal__btn:active { transform: scale(0.97); }
.signal__btn-arrow { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.signal__btn:hover .signal__btn-arrow { transform: translateX(3px); }

.signal__ack {
  margin: 10px 0 0;
  min-height: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

/* Honeypot — visually & absolutely hidden, but reachable enough for bots */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0;
  pointer-events: none;
}

/* Loading state on submit */
.signal__btn[data-loading="true"] {
  pointer-events: none;
  opacity: 0.7;
}
.signal__btn[data-loading="true"] .signal__btn-text::after {
  content: "···";
  margin-left: 4px;
  animation: dots 1s steps(4) infinite;
}
@keyframes dots {
  0%   { content: ""; }
  25%  { content: "·"; }
  50%  { content: "··"; }
  75%  { content: "···"; }
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(190, 160, 230, 0.4);
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.65s forwards;
}
.hero__meta-dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--violet-hot);
  opacity: 0.7;
}

/* ============================================================
   TICKER (bottom marquee)
   ============================================================ */
.ticker {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 25;
  border-top: 1px solid rgba(190, 130, 255, 0.18);
  background: linear-gradient(180deg, transparent 0%, rgba(4, 0, 26, 0.55) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  padding: 10px 0;
  pointer-events: none;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.9s forwards;
}
.ticker__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.45em;
  color: rgba(255, 230, 250, 0.4);
  text-transform: uppercase;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.ticker__track span { display: inline-block; padding-right: 3em; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PARTICLE CANVAS
   ============================================================ */
.particles {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}

/* ============================================================
   ATMOSPHERIC OVERLAYS
   ============================================================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain-shift 0.6s steps(4) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-6px,4px); }
  50%  { transform: translate(4px,-3px); }
  75%  { transform: translate(-2px,-5px); }
  100% { transform: translate(0,0); }
}

.vignette {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 40;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 50%, rgba(0,0,0,0.65) 100%);
}

.scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 45;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ============================================================
   ENTRANCE
   ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.is-loading .nebula,
.is-loading .stars,
.is-loading .planet,
.is-loading .atom,
.is-loading .float-leaf {
  opacity: 0;
}
body:not(.is-loading) .nebula,
body:not(.is-loading) .stars,
body:not(.is-loading) .planet,
body:not(.is-loading) .atom,
body:not(.is-loading) .float-leaf {
  animation-play-state: running;
  transition: opacity 1.6s var(--ease-out);
}
body:not(.is-loading) .nebula { opacity: 0.85; }
body:not(.is-loading) .stars--far  { opacity: 0.6; }
body:not(.is-loading) .stars--mid  { opacity: 0.85; }
body:not(.is-loading) .stars--near { opacity: 1; }
body:not(.is-loading) .planet--ringed { opacity: 0.95; }
body:not(.is-loading) .planet--seed   { opacity: 0.92; }
body:not(.is-loading) .planet--moon   { opacity: 0.85; }
body:not(.is-loading) .atom           { opacity: 1; }
body:not(.is-loading) .float-leaf     { opacity: 0.18; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ============================================================
   SMALL SCREENS
   ============================================================ */
@media (max-width: 720px) {
  .planet--ringed { width: 60vmin; top: 4%; right: -16vmin; }
  .planet--seed   { width: 28vmin; bottom: 10%; }
  .planet--moon   { width: 14vmin; }
  .atom { width: 130vmin; }
  .hero__logo { width: 86vw; }
  .ticker__track { font-size: 10px; }
  .float-leaf--1, .float-leaf--2, .float-leaf--3 { display: none; }
}
