* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  overflow: hidden;
  background: #010417;
  color: #f4f8ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.terminal-screen {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 44, 98, 0.5), rgba(3, 9, 31, 0.96) 62%, #010314 100%);
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.56),
    inset 0 0 140px rgba(2, 8, 30, 0.66);
}

#numbers-canvas {
  position: absolute;
  inset: 0;
  display: block;
  filter: saturate(1.15) contrast(1.14);
}

.scanlines,
.screen-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scanlines {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(127, 190, 255, 0.18) 0,
      rgba(127, 190, 255, 0.18) 1px,
      rgba(0, 0, 0, 0.38) 2px,
      rgba(0, 0, 0, 0.38) 4px
    );
  mix-blend-mode: screen;
  opacity: 0.72;
}

.screen-glow {
  background:
    linear-gradient(90deg, rgba(1, 4, 23, 0.58), transparent 11%, transparent 89%, rgba(1, 4, 23, 0.58));
}

.center-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  padding: 32px 22px;
  text-align: center;
  isolation: isolate;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.45rem, 7.4vw, 7.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow:
    0 0 18px rgba(235, 248, 255, 0.74),
    0 0 48px rgba(75, 160, 255, 0.5),
    0 12px 44px rgba(0, 0, 0, 0.74);
}

.status {
  position: fixed;
  top: 18px;
  right: 20px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(122, 178, 255, 0.28);
  border-radius: 999px;
  background: rgba(2, 8, 28, 0.56);
  color: rgba(232, 243, 255, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.58rem, 1.1vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow:
    0 0 22px rgba(48, 142, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 420px) {
  .center-stage {
    padding: 24px 18px;
  }

  .status {
    top: 12px;
    right: 12px;
  }
}
