:root {
  color-scheme: dark;
  --room: #07040c;
  --cabinet: #1a0c18;
  --bezel: #2a1424;
  --screen: #140810;
  --pink: #ff4d9a;
  --pink-hot: #ff8ec4;
  --cyan: #5cefff;
  --gold: #ffe14d;
  --ink: #fff0f7;
  --muted: #c9a8bc;
  --pixel: "Press Start 2P", monospace;
  --term: "VT323", "Courier New", monospace;
  --block: "BlockBanner", Unifont, "DejaVu Sans Mono", ui-monospace, monospace;
}

@font-face {
  font-family: "BlockBanner";
  src: url("unifont-braille.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  unicode-range: U+2800-28FF;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, #3a1230 0%, transparent 46%),
    var(--room);
  color: var(--ink);
  font-family: var(--term);
}

button,
h1,
p {
  font: inherit;
}

.room {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.cabinet {
  width: min(68rem, 100%);
}

.marquee {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 8% 0.7rem;
}

.marquee span {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: bulb 1.4s steps(2, end) infinite;
}

.marquee span:nth-child(odd) {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation-delay: 0.35s;
}

.marquee span:nth-child(3n) {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation-delay: 0.7s;
}

.bezel {
  position: relative;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, #3a1c30 0%, #1a0c16 28%, #120810 100%);
  border-radius: 1.4rem 1.4rem 1.8rem 1.8rem;
  box-shadow:
    0 18px 0 #070308,
    0 28px 50px rgba(0, 0, 0, 0.55);
}

.screw {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #d7c2cf, #5c4454 45%, #241018 70%);
  box-shadow: inset 0 0 0 2px #1a0c14;
}

.screw:nth-child(1) { top: 0.45rem; left: 0.55rem; }
.screw:nth-child(2) { top: 0.45rem; right: 0.55rem; }
.screw:nth-child(3) { bottom: 0.45rem; left: 0.55rem; }
.screw:nth-child(4) { bottom: 0.45rem; right: 0.55rem; }

.screen {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1rem 1rem;
  background:
    radial-gradient(ellipse at 50% 30%, #2a1024 0%, var(--screen) 62%);
  border: 3px solid #ff4d9a;
  box-shadow:
    0 0 0 3px #140810,
    0 0 0 6px #ff2f86,
    inset 0 0 70px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22) 0 1px,
    transparent 1px 3px
  );
  z-index: 3;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
}

.hud,
.banner,
h1,
.tagline,
.press,
.deck {
  position: relative;
  z-index: 1;
}

.hud {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
  font-family: var(--pixel);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0;
}

.hud p {
  margin: 0;
}

.hud-col.end {
  text-align: right;
}

.hud-label {
  color: var(--cyan);
}

.hud-num {
  color: var(--gold);
}

.hud-num.dim {
  color: var(--ink);
}

.live {
  color: var(--pink-hot);
}

.pip {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.35rem;
  background: #ff2d6a;
  box-shadow: 0 0 8px #ff2d6a;
  vertical-align: -1px;
  animation: blink 1s steps(1) infinite;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.banner {
  margin: 0 auto 0.4rem;
  padding: 0.55rem 0.35rem 0.35rem;
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 0 0 3px #ff4d9a,
    inset 0 0 0 6px #2a1020;
}

.boobs {
  margin: 0;
  color: #ff5aa8;
  font-family: var(--block);
  font-weight: 400;
  font-size: clamp(16px, 4.5vw, 46px);
  line-height: 0.86;
  letter-spacing: 0;
  white-space: pre;
  text-shadow:
    0 0 6px rgba(255, 70, 150, 0.85),
    0 0 18px rgba(255, 40, 120, 0.45);
}

h1 {
  margin: 0.85rem 0 0;
  font-family: var(--pixel);
  font-size: clamp(15px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.name {
  display: block;
  color: var(--ink);
  text-shadow: 3px 3px 0 #ff2f86;
}

.domain {
  display: block;
  margin-top: 0.35rem;
  color: var(--cyan);
  font-size: 0.62em;
  text-shadow: 2px 2px 0 #08343a;
}

.tagline {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: 0.06em;
}

.press {
  margin: 1.15rem 0 0.35rem;
  padding: 0.85rem 1.1rem;
  border: 3px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--pixel);
  font-size: clamp(8px, 1.3vw, 12px);
  cursor: pointer;
  text-shadow: 0 0 10px rgba(255, 225, 77, 0.45);
  animation: blink 1.05s steps(1) infinite;
}

.press:hover,
.press:focus-visible {
  background: var(--gold);
  color: #241404;
  text-shadow: none;
  outline: none;
  animation: none;
}

.screen.ready .press {
  border-color: var(--cyan);
  color: var(--cyan);
  animation: none;
  text-shadow: 0 0 10px rgba(92, 239, 255, 0.55);
}

.screen.ready .press:hover,
.screen.ready .press:focus-visible {
  background: var(--cyan);
  color: #042428;
  text-shadow: none;
}

.deck {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.65rem;
  border-top: 3px solid rgba(255, 77, 154, 0.45);
  color: var(--pink-hot);
  font-family: var(--pixel);
  font-size: 8px;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}

@keyframes bulb {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 640px) {
  .hud {
    font-size: 7px;
  }

  .bezel {
    padding: 0.7rem;
  }

  .deck {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee span,
  .pip,
  .press {
    animation: none;
  }
}
