:root {
  --bg: #05010a;
  --lime: #39ff14;
  --mag: #ff2bd6;
  --cyan: #18f0ff;
  --hot: #ffee00;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--lime);
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive, sans-serif;
  overflow-x: hidden;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(24, 240, 255, 0.12) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 43, 214, 0.12) 22px 23px),
    radial-gradient(ellipse at center, rgba(255, 43, 214, 0.18), transparent 55%);
}

.grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 2px,
    rgba(0, 0, 0, 0.28) 2px 3px
  );
}

marquee {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0.35rem 0;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top {
  color: var(--hot);
  background: #120018;
  border-bottom: 3px ridge var(--mag);
}

.bot {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--cyan);
  background: #001018;
  border-top: 3px ridge var(--cyan);
}

main {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 3.5rem auto 5rem;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
  background: rgba(8, 0, 16, 0.82);
  border: 4px ridge var(--mag);
  box-shadow: 0 0 24px var(--mag), inset 0 0 18px rgba(24, 240, 255, 0.2);
}

.sign {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.35em;
  text-transform: lowercase;
  text-shadow: 0 0 8px var(--cyan);
}

h1 {
  margin: 0 0 0.85rem;
  color: var(--mag);
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  line-height: 1.15;
  text-shadow: 0 0 10px var(--mag), 3px 3px 0 #3a0030;
}

.bar {
  margin: 0 0 1rem;
  color: var(--hot);
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.14em;
}

p {
  margin: 0 0 0.8rem;
  line-height: 1.5;
}

.counter {
  margin-top: 1.2rem;
  padding: 0.35rem 0.6rem;
  display: inline-block;
  color: var(--lime);
  background: #000;
  border: 2px inset #4a4a4a;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.16em;
}

.tiny {
  margin: 1rem 0 0;
  color: var(--cyan);
  font-size: 0.78rem;
}

.blink {
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}
