* {

  box-sizing: border-box;

  margin: 0;
  padding: 0;

  cursor: none !important;
}

body {

  background: #111111;

  color: #d7d7d7;

  font-family:
    "Courier New",
    monospace;

  height: 100vh;

  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* =========================
   CRT SCANLINES
========================= */

body::after {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 3px
    );

  z-index: 9000;
}

/* =========================
   DUAL TONE OVERLAY
========================= */

body::before {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      rgba(40,40,40,0.12),
      transparent 40%,
      transparent 60%,
      rgba(215,215,215,0.08)
    );

  animation:
    imbalancePulse 5s linear infinite;

  z-index: 8999;
}

@keyframes imbalancePulse {

  0% {

    opacity: 0.18;
  }

  50% {

    opacity: 0.34;
  }

  100% {

    opacity: 0.18;
  }
}

/* =========================
   HEADER
========================= */

header {

  padding: 12px 20px;

  border-bottom:
    1px solid #444444;

  font-size: 13px;

  letter-spacing: 3px;

  color: #d7d7d7;

  flex-shrink: 0;
}

/* =========================
   MAIN
========================= */

main {

  flex: 1;

  display: flex;

  align-items: center;
  justify-content: center;

  position: relative;
}

/* =========================
   CANVAS
========================= */

canvas {

  display: block;

  image-rendering: pixelated;

  border:
    1px solid #444444;

  box-shadow:
    0 0 24px rgba(255,255,255,0.08);
}

/* =========================
   UI
========================= */

#ui {

  position: absolute;

  bottom: 20px;
  left: 50%;

  transform:
    translateX(-50%);

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 8px;

  pointer-events: none;
}

#prompt {

  font-size: 13px;

  letter-spacing: 2px;

  color: #d7d7d7;

  min-height: 20px;

  text-align: center;

  text-shadow:
    0 0 10px rgba(255,255,255,0.12);
}

#score-display {

  font-size: 11px;

  letter-spacing: 2px;

  color: #888888;

  min-height: 16px;
}

/* =========================
   CURSOR
========================= */

.custom-cursor {

  position: fixed;

  width: 14px;
  height: 14px;

  pointer-events: none;

  z-index: 9999;

  transform:
    translate(-50%, -50%);

  filter:
    drop-shadow(0 0 4px #ffffff);
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {

  width: 6px;
}

::-webkit-scrollbar-track {

  background: #111111;
}

::-webkit-scrollbar-thumb {

  background: #555555;
}

/* =========================
   LOGO
========================= */

.logo,
.logo:visited,
.logo:hover,
.logo:active {

  color: #d7d7d7;

  text-decoration: none;
}

.logo:hover {

  text-shadow:
    0 0 12px #ffffff;
}

/* =========================
   SPLIT SCREEN FEEL
========================= */

canvas {

  animation:
    staticShift 6s ease-in-out infinite;
}

@keyframes staticShift {

  0% {

    transform:
      translateX(0px);
  }

  25% {

    transform:
      translateX(0.5px);
  }

  50% {

    transform:
      translateX(-0.5px);
  }

  75% {

    transform:
      translateX(0.5px);
  }

  100% {

    transform:
      translateX(0px);
  }
}q