/* ==========================================================================
   KULTRP — styles.css
   8-bit / pixel aesthetic on the KULT × Crimson palette.
   Chunky pixels, CRT, everything moving/growing.
   ========================================================================== */

:root {
  --black: #050505;
  --black-2: #0a0b0c;
  --gray: #2d2d2f;
  --gray-light: #7c7c84;
  --gray-faint: #56565f;
  --white: #eeeeee;

  --accent: #eeff01;
  --accent-soft: #d5ff4c;
  --accent-hover: #a3ab32;
  --crimson: #d63434;
  --crimson-deep: #8c1a1a;
  --pink: #ff2d95;
  --cyan: #00e5ff;
  --purple: #b026ff;
  --success: #63c436;
  --online: #52e60d;
  --loading: #ffcc00;

  --font-pixel: "Press Start 2P", monospace;
  --font-retro: "VT323", "PT Mono", "Share Tech Mono", monospace;

  --glow-lime: 0 0 2px rgba(238,255,1,0.35), 0 0 18px rgba(238,255,1,0.35);
}

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

html, body { height: 100%; }

body {
  font-family: var(--font-retro);
  color: var(--white);
  background: var(--black);
  overflow: hidden;
  -webkit-font-smoothing: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: crosshair;
}

::selection { background: var(--accent); color: var(--black); }

input, textarea { user-select: text; -webkit-user-select: text; }

/* -------------------------------- Scene --------------------------------- */
.scene {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

/* ------------------------------ Atmosphere ------------------------------ */
.atmos { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

.atmos__grain {
  position: absolute; inset: -8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
  animation: grain 0.5s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-1%,1%); } 50% { transform: translate(1%,-1%); } 75% { transform: translate(-1%,1%); } 100% { transform: translate(0,0); } }

.atmos__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,0.3) 2px 4px);
  opacity: 0.4;
}

.atmos__flicker {
  position: absolute; inset: 0;
  background: rgba(238,238,238,0.02);
  animation: flicker 4s infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.2; }
  3% { opacity: 0.6; }
  4% { opacity: 0.1; }
  38% { opacity: 0.25; }
  40% { opacity: 0.05; }
  41% { opacity: 0.5; }
  42% { opacity: 0.2; }
  80% { opacity: 0.3; }
}

.atmos__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.85) 100%);
}

/* -------------------------------- Intro --------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.intro__logo {
  width: min(72vw, 420px);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  animation: introBreath 3.4s ease-in-out infinite;
}
@keyframes introBreath {
  0%, 100% { opacity: 0.72; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(0, -3px); }
}

/* --------------------------------- Brand -------------------------------- */
.brand {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 44px);
  pointer-events: none;
}
.brand__logo { height: 28px; width: auto; image-rendering: pixelated; image-rendering: crisp-edges; }
.brand__right { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.brand__status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-pixel); font-size: 9px; letter-spacing: 0.08em; color: var(--loading);
}
.dot { width: 7px; height: 7px; background: var(--loading); box-shadow: 0 0 10px var(--loading); animation: blink 2.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* -------------------------------- Mute --------------------------------- */
.mute {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 2px solid var(--gray);
  background: var(--black-2);
  color: var(--accent);
  cursor: pointer;
  transition: border-color 100ms, color 100ms;
}
.mute svg { width: 18px; height: 18px; image-rendering: pixelated; }
.mute:hover { border-color: var(--accent); }
.mute .mute__slash { opacity: 0; transition: opacity 100ms; }
.mute .mute__wave1, .mute .mute__wave2 { opacity: 1; transition: opacity 100ms; }
.mute.is-muted { color: var(--crimson); border-color: var(--crimson); }
.mute.is-muted .mute__slash { opacity: 1; }
.mute.is-muted .mute__wave1, .mute.is-muted .mute__wave2 { opacity: 0; }

/* --------------------------------- Glitch ------------------------------- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0; overflow: hidden; opacity: 0.8;
}
.glitch::before { color: var(--crimson); z-index: -1; animation: glitchA 3.4s infinite linear alternate-reverse; clip-path: inset(0 0 58% 0); }
.glitch::after { color: var(--cyan); z-index: -2; animation: glitchB 2.9s infinite linear alternate; clip-path: inset(46% 0 0 0); }
@keyframes glitchA { 0%,90%,100% { transform: translate(0); } 91% { transform: translate(-4px,1px); } 93% { transform: translate(3px,-1px); } 95% { transform: translate(-2px,2px); } 97% { transform: translate(4px,0); } 99% { transform: translate(0); } }
@keyframes glitchB { 0%,88%,100% { transform: translate(0); } 90% { transform: translate(4px,-1px); } 92% { transform: translate(-3px,1px); } 94% { transform: translate(2px,-2px); } 96% { transform: translate(-4px,0); } 98% { transform: translate(0); } }

/* --------------------------------- Gate --------------------------------- */
.gate {
  position: fixed; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; padding: 2rem 2rem 7rem;
}
.gate__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 820px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Smooth entrance — everything stays hidden until the intro finishes. */
.gate__inner, .brand, .footer { opacity: 0; }

body.ready .gate__inner { animation: softIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
body.ready .brand { animation: softInDown 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards; }
body.ready .footer { animation: softInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards; }

@keyframes softIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes softInDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes softInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.gate__kicker { font-family: var(--font-pixel); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); text-shadow: var(--glow-lime); }
.gate__title {
  font-family: var(--font-pixel);
  font-size: clamp(1.1rem, 5vw, 2.6rem);
  line-height: 1.5;
  color: var(--white);
  text-shadow: 2px 2px 0 var(--crimson), -2px -2px 0 var(--cyan);
}
.gate__sub { font-family: var(--font-retro); font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--gray-light); letter-spacing: 0.04em; max-width: 560px; }
.gate__objective { font-family: var(--font-pixel); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); text-shadow: var(--glow-lime); }

@keyframes pulseText { 0%, 100% { text-shadow: var(--glow-lime); } 50% { text-shadow: 0 0 24px var(--accent), 0 0 60px var(--accent-soft); } }

/* -------------------------------- Buttons ------------------------------- */
.btn {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--black-2);
  border: 3px solid var(--accent);
  padding: 16px 26px;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  box-shadow: 5px 5px 0 0 rgba(0,0,0,0.6), 5px 5px 0 1px var(--crimson);
  transition: transform 60ms steps(2), background-color 80ms, color 80ms;
}
.btn:hover { background: var(--accent); color: var(--black); transform: translate(2px, 2px); box-shadow: 3px 3px 0 0 rgba(0,0,0,0.6); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 0 transparent; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn__icon { margin-right: 0.4em; }
.btn--ghost { border-color: var(--gray-light); box-shadow: 5px 5px 0 0 rgba(0,0,0,0.6); }
.btn--ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--block { width: 100%; }

/* Loading state — button collapses slightly and glitches while working */
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn.is-loading {
  pointer-events: none;
  animation: btnGlitch 0.45s steps(2) infinite;
}
@keyframes btnGlitch {
  0%, 100% { transform: scale(0.96) translate(0, 0); }
  25% { transform: scale(0.96) translate(-2px, 1px); }
  50% { transform: scale(0.96) translate(2px, -1px); }
  75% { transform: scale(0.96) translate(-1px, -1px); }
}

/* ------------------------------ Experience ------------------------------ */
.exp {
  position: fixed; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 2.4rem; padding: 0 1.5rem 14vh;
  animation: fadeUp 0.8s ease both;
}
.exp__copy { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.exp__line {
  font-family: var(--font-pixel);
  font-size: clamp(0.85rem, 3vw, 1.5rem);
  line-height: 1.7;
  color: var(--white);
  text-shadow: 2px 2px 0 var(--crimson);
  max-width: 720px;
  transition: opacity 500ms ease, transform 500ms ease;
  animation: pulseText 3s ease-in-out infinite;
}
.exp__line.is-out { opacity: 0; transform: translateY(10px); }
.exp__objective { font-family: var(--font-pixel); font-size: 10px; letter-spacing: 0.12em; color: var(--accent); text-shadow: var(--glow-lime); }

/* ------------------------------ Score HUD ------------------------------- */
.score-hud {
  position: absolute; top: 84px; left: clamp(16px, 4vw, 44px);
  display: flex; align-items: baseline; gap: 12px;
  pointer-events: none;
}
.score-hud__label { font-family: var(--font-pixel); font-size: 9px; letter-spacing: 0.1em; color: var(--gray-light); }
.score-hud__value { font-family: var(--font-pixel); font-size: 20px; color: var(--accent); text-shadow: var(--glow-lime); }

/* Floating "+points" popup on hit */
.score-pop {
  position: absolute;
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent), 0 0 20px var(--accent-soft);
  pointer-events: none;
  z-index: 6;
  animation: popUp 0.9s ease-out forwards;
}
@keyframes popUp {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  18% { opacity: 1; transform: translate(-50%, -70%) scale(1.25); }
  100% { opacity: 0; transform: translate(-50%, -160%) scale(1); }
}

/* -------------------------------- Modal --------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,5,0.8);
}
.modal__card {
  position: relative; z-index: 1;
  width: min(480px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
  padding: 26px;
  border: 3px solid var(--gray);
  background: var(--black-2);
  box-shadow: 8px 8px 0 0 rgba(0,0,0,0.6), 8px 8px 0 1px var(--crimson);
  animation: fadeUp 0.5s ease both;
}
.modal__bar { width: 64px; height: 6px; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.modal__title { font-family: var(--font-pixel); font-size: 17px; line-height: 1.6; color: var(--white); text-shadow: 2px 2px 0 var(--crimson); }
.modal__sub { font-family: var(--font-retro); font-size: 1.25rem; color: var(--gray-light); }
.modal__body { font-family: var(--font-retro); font-size: 1.35rem; line-height: 1.5; color: var(--white); }

.countdown { display: flex; flex-direction: column; gap: 10px; }
.countdown__label { font-family: var(--font-pixel); font-size: 9px; letter-spacing: 0.1em; color: var(--gray-faint); }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown__cell {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 4px; border: 2px solid var(--gray); background: var(--black);
}
.countdown__cell b { font-family: var(--font-pixel); font-size: 18px; color: var(--accent); text-shadow: var(--glow-lime); }
.countdown__cell span { font-family: var(--font-pixel); font-size: 7px; letter-spacing: 0.1em; color: var(--gray-faint); }

.waitlist { display: flex; flex-direction: column; gap: 14px; }
.waitlist input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-retro);
  font-size: 1.3rem;
  outline: none;
}
.waitlist input::placeholder { color: var(--gray-light); }
.waitlist input:focus { border-color: var(--accent); }
.waitlist__note { font-family: var(--font-retro); font-size: 1.25rem; color: var(--success); }

/* -------------------------------- Footer -------------------------------- */
.footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px;
  font-family: var(--font-retro); font-size: 1.1rem; letter-spacing: 0.08em; color: var(--gray-faint);
  pointer-events: none;
}
.footer__np {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-shadow: var(--glow-lime);
  animation: pulseText 4s ease-in-out infinite;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.footer__np.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* One-shot entrance flash when the track credit appears */
.footer__np.is-visible.flash {
  animation: npFlash 0.9s ease-out, pulseText 4s ease-in-out infinite;
}
@keyframes npFlash {
  0% { text-shadow: 0 0 2px var(--accent), 0 0 30px var(--accent); }
  100% { text-shadow: var(--glow-lime); }
}
.footer__legal { font-size: 1.1rem; letter-spacing: 0.08em; color: var(--gray-faint); }

/* ------------------------------- KULT egg ------------------------------- */
/* NOTE: `.kult` is intentionally NOT positioned. A `position: fixed` element
   establishes a stacking context, which would trap the children's z-indexes
   (`.kult__stage` 4 / `.kult__modal` 12) and bury the egg behind the `.exp`
   overlay. The children position themselves against the viewport instead. */
.kult {
  pointer-events: none;
}

/* Stage — transparent emergence (the growing KULT word) */
.kult__stage {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
}

.kult__word {
  position: absolute;
  left: calc(50% + 0.08em); /* compensate for trailing letter-spacing so glyphs are truly centered */
  top: 50%;
  transform: translate(-50%, -50%) scale(0.05);
  opacity: 0;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-pixel);
  font-size: clamp(2.2rem, 10vw, 5.5rem);
  letter-spacing: 0.6em;
  color: var(--white);
  cursor: pointer;
  pointer-events: none; /* only clickable once fully grown */
  text-shadow: 2px 2px 0 var(--crimson), -2px -2px 0 var(--cyan), 0 0 24px rgba(238,255,1,0.35);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1), opacity 6s ease, letter-spacing 6s ease;
}
.kult__word:hover,
.kult__word:focus-visible {
  text-shadow: 2px 2px 0 var(--crimson), -2px -2px 0 var(--cyan), 0 0 36px var(--accent);
  outline: none;
}
.kult__word.is-grown {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  letter-spacing: 0.16em;
  pointer-events: auto;
}
.kult__word.is-blinking { animation: kultBlink 2.6s ease-in-out infinite; }
@keyframes kultBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.22; } }

/* 8-bit arrows flanking the KULT word — point inward once it's clickable */
.kult__finger {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.kult__finger--left { left: calc(50% - 16rem); }
.kult__finger--right { left: calc(50% + 16rem); }
.kult__stage.is-pointing .kult__finger--left {
  opacity: 1;
  animation: kultFingerBounceLeft 1.1s ease-in-out infinite;
}
.kult__stage.is-pointing .kult__finger--right {
  opacity: 1;
  animation: kultFingerBounceRight 1.1s ease-in-out infinite;
}
@keyframes kultFingerBounceLeft {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -50%) translateX(6px); }
}
@keyframes kultFingerBounceRight {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -50%) translateX(-6px); }
}
@media (max-width: 640px) {
  .kult__finger--left { left: calc(50% - 8rem); }
  .kult__finger--right { left: calc(50% + 8rem); }
}

/* Modal shell (riddle + reveal) */
.kult__modal {
  position: fixed; inset: 0; z-index: 12;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  pointer-events: auto;
}
.kult__backdrop { position: absolute; inset: 0; background: rgba(5,5,5,0.84); }
.kult__card {
  position: relative; z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px;
  border: 3px solid var(--gray);
  background: var(--black-2);
  box-shadow: 8px 8px 0 0 rgba(0,0,0,0.6), 8px 8px 0 1px var(--crimson);
  animation: fadeUp 0.5s ease both;
}
.kult__bar { width: 64px; height: 6px; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.kult__kicker {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--accent);
  text-shadow: var(--glow-lime);
}
.kult__sub {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--gray-light);
}

.kult__body, .kult__hidden, .kult__welcome { display: flex; flex-direction: column; gap: 5px; }
.kult__body p.kult__spacer { height: 8px; font-size: 0; }
.kult__hidden p.kult__spacer, .kult__welcome p.kult__spacer { height: 10px; font-size: 0; }

.kult__form { display: flex; flex-direction: column; gap: 12px; }
.kult__form input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-retro);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-align: center;
  outline: none;
}
.kult__form input::placeholder { color: var(--gray-light); }
.kult__form input:focus { border-color: var(--accent); }
.kult__error {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--crimson);
  text-shadow: 0 0 8px rgba(214,52,52,0.5);
  animation: kultShake 0.3s ease;
}
@keyframes kultShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* --------------------------- Terminal riddle --------------------------- */
.kult__card--term {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  height: min(560px, calc(100vh - 48px));
  padding: 0;
  overflow: hidden; /* the body scrolls, not the card */
  gap: 0;
}
.kult__term-bar {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #0d0d10;
  border-bottom: 2px solid var(--gray);
}
.kult__term-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 2px rgba(0,0,0,0.6); }
.kult__term-dot--r { background: var(--crimson); }
.kult__term-dot--y { background: var(--loading); }
.kult__term-dot--g { background: var(--online); }
.kult__term-title {
  margin-left: 8px;
  font-family: "PT Mono", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--gray-light);
}
.kult__term-body {
  flex: 1 1 auto;
  min-height: 0; /* allow shrink + scroll within the fixed-height card */
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 22px 22px;
  font-family: "PT Mono", monospace;
  /* console-style scrollbar (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: var(--gray) #0a0a0c;
}
.kult__term-body::-webkit-scrollbar { width: 10px; }
.kult__term-body::-webkit-scrollbar-track { background: #0a0a0c; }
.kult__term-body::-webkit-scrollbar-thumb {
  background: var(--gray);
  border: 2px solid #0a0a0c;
}
.kult__term-body::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.kult__panel { display: flex; flex-direction: column; gap: 14px; }
.kult__card--term .kult__kicker {
  font-family: "PT Mono", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(238,255,1,0.4);
}
.kult__card--term .kult__sub {
  font-family: "PT Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gray-light);
}
.kult__card--term .kult__body p {
  font-family: "PT Mono", monospace;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d6d6d6;
  text-shadow: 0 0 6px rgba(238,255,1,0.12);
  opacity: 1;         /* typed text is revealed by the typewriter, not a fade */
  animation: none;
}
.kult__card--term .kult__granted {
  font-family: "PT Mono", monospace;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(238,255,1,0.5);
  opacity: 1;
  animation: none;
}
.kult__card--term .kult__hidden p,
.kult__card--term .kult__welcome p {
  font-family: "PT Mono", monospace;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d6d6d6;
  text-shadow: 0 0 6px rgba(238,255,1,0.12);
  opacity: 1;
  animation: none;
}
.kult__card--term .kult__welcome p:first-child {
  font-family: "PT Mono", monospace;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(238,255,1,0.4);
}
.kult__prompt {
  display: flex; align-items: center; gap: 8px;
  font-family: "PT Mono", monospace;
}
.kult__prompt-sym {
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 0 8px rgba(238,255,1,0.5);
}
.kult__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: kultCursorBlink 1s steps(2, start) infinite;
}
@keyframes kultCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .kult__cursor { animation: none; }
}
.kult__term-input {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-top: 2px solid var(--gray);
  background: #0a0a0c;
}
.kult__term-input .kult__form { gap: 0; }
.kult__card--term .kult__form input {
  flex: 1;
  padding: 4px 0;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: "PT Mono", monospace;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-align: left;
  caret-color: var(--accent);
  caret-shape: block; /* terminal block cursor where supported */
}
.kult__card--term .kult__error {
  font-family: "PT Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--crimson);
}

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 640px) {
  .brand__logo { height: 22px; }
  .gate__title { font-size: clamp(0.8rem, 4vw, 1.4rem); }
  .gate { align-items: flex-end; padding-bottom: 6rem; }
  .kult__body p, .kult__hidden p, .kult__welcome p { font-size: 1.2rem; }
}

[hidden] { display: none !important; }
