.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(0,255,204,.11), transparent 28%),
    radial-gradient(circle at 72% 62%, rgba(255,0,212,.08), transparent 24%),
    #020303;
  color: var(--text);
  overflow: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.boot-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: .52;
  animation: bootGrid 5s linear infinite;
}
.boot-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
  opacity: .07;
  pointer-events: none;
}
.boot-core {
  position: relative;
  width: min(780px, calc(100% - 34px));
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(0,255,204,.36);
  background: linear-gradient(145deg, rgba(0,0,0,.72), rgba(0,24,24,.55));
  box-shadow: 0 0 55px rgba(0,255,204,.12), inset 0 0 40px rgba(0,255,204,.045);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  text-align: center;
}
.boot-logo {
  width: min(210px, 50vw);
  filter: drop-shadow(0 0 20px rgba(0,255,204,.32));
  opacity: 0;
  transform: translateY(10px) scale(.96);
  animation: logoWake 1.2s ease forwards .2s, logoPulse 2.4s ease-in-out infinite 1.3s;
}
.boot-kicker {
  margin-top: 16px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--kaspa);
  opacity: 0;
  animation: fadeUp .8s ease forwards .9s;
}
.boot-title {
  margin-top: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 8vw, 5.8rem);
  line-height: .9;
  letter-spacing: .07em;
  text-shadow: 0 0 32px rgba(0,255,204,.4);
  opacity: 0;
  animation: fadeUp .9s ease forwards 1.35s;
}
.boot-status {
  margin: 28px auto 0;
  max-width: 520px;
  text-align: left;
  font-family: var(--font-mono);
  color: #c8fff8;
  font-size: .92rem;
}
.boot-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(0,255,204,.12);
  padding: 8px 0;
  opacity: .25;
  transform: translateX(-8px);
}
.boot-line.is-active { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.boot-line strong { color: var(--kaspa); font-weight: 700; }
.boot-progress {
  margin: 24px auto 0;
  max-width: 520px;
  height: 8px;
  border: 1px solid rgba(0,255,204,.35);
  background: rgba(0,0,0,.6);
  overflow: hidden;
}
.boot-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--kaspa), var(--magenta));
  box-shadow: 0 0 18px rgba(0,255,204,.65);
  transition: width .38s ease;
}
.boot-skip {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10001;
  background: rgba(0,0,0,.62);
  color: var(--muted);
  border: 1px solid rgba(0,255,204,.25);
  padding: 9px 13px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
}
.boot-skip:hover { color: var(--kaspa); border-color: var(--kaspa); box-shadow: 0 0 16px rgba(0,255,204,.25); }
@keyframes bootGrid { from { transform: translateY(0); } to { transform: translateY(42px); } }
@keyframes logoWake { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes logoPulse { 0%,100% { filter: drop-shadow(0 0 14px rgba(0,255,204,.26)); } 50% { filter: drop-shadow(0 0 28px rgba(255,0,212,.28)); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } from { opacity:0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .boot-screen *, .boot-screen::before { animation: none !important; transition: none !important; } }


.audio-gate {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 44%, rgba(0,255,204,.10), transparent 28%), radial-gradient(circle at 70% 62%, rgba(255,0,212,.09), transparent 24%), #020303;
}
.audio-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s ease, visibility .55s ease; }
.audio-gate__core {
  width: min(680px, calc(100% - 34px));
  padding: clamp(24px, 5vw, 44px);
  text-align: center;
  border: 1px solid rgba(0,255,204,.42);
  background: linear-gradient(145deg, rgba(0,0,0,.82), rgba(0,20,20,.70));
  box-shadow: 0 0 58px rgba(0,255,204,.14), inset 0 0 50px rgba(255,0,212,.04);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.audio-gate__logo { width: min(220px, 52vw); filter: drop-shadow(0 0 20px rgba(0,255,204,.28)); margin-bottom: 16px; }
.audio-gate h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(2rem, 6vw, 4rem); color: var(--text); text-shadow: 0 0 24px rgba(0,255,204,.4); margin: 0 0 12px; }
.audio-gate p { color: #c9dfdc; line-height: 1.5; max-width: 520px; margin: 0 auto 22px; }
.audio-gate small { display:block; margin-top: 14px; color: var(--muted); font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
