@font-face {
  font-family: "Press Start 2P";
  src: url("press-start-2p-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0d0b1e;
  --ink: #f4f1ff;
  --muted: #b7b2d9;
  --pink: #ff3e8a;
  --cyan: #35e6ff;
  --yellow: #ffd23d;
  --green: #4dff88;
  --pixel: "Press Start 2P", ui-monospace, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(59, 47, 134, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 47, 134, .18) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--pixel);
}

/* CRT scanlines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px);
}

.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

.mark {
  width: 120px;
  height: auto;
  image-rendering: pixelated;
  animation: bob 1.2s steps(2, jump-none) infinite;
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.6rem, 7.5vw, 3.75rem);
  line-height: 1.35;
  text-shadow: 3px 3px 0 var(--pink);
}

h1 .hq {
  display: inline-block;
  margin-left: .15em;
  padding: .12em .2em .05em;
  background: var(--cyan);
  color: var(--bg);
  text-shadow: none;
}

.soon {
  margin: 0;
  font-size: clamp(.9rem, 3.6vw, 1.4rem);
  color: var(--yellow);
}

.bar {
  width: min(100%, 22rem);
  height: 22px;
  padding: 3px;
  border: 3px solid var(--ink);
}

.bar span {
  display: block;
  height: 100%;
  width: 72%;
  background: repeating-linear-gradient(90deg, var(--green) 0 14px, transparent 14px 18px);
  animation: load 3.2s steps(12, end) infinite;
}

.insert {
  margin: 0;
  font-size: .7rem;
  color: var(--muted);
  animation: blink 1s steps(1, end) infinite;
}

@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes load { from { width: 8%; } to { width: 92%; } }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
