* {

  box-sizing: border-box;

  margin: 0;
  padding: 0;

  cursor: none !important;
}

body {

  background: #080204;

  color: #4e0027;

  font-family:
    "Courier New",
    monospace;

  height: 100vh;

  overflow: hidden;

  display: flex;
  flex-direction: column;
}

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

body::after {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(78,0,39,0.05),
      rgba(78,0,39,0.05) 1px,
      transparent 1px,
      transparent 3px
    );

  z-index: 9000;
}

/* =========================
   RADAR GLOW
========================= */

body::before {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at center,
      rgba(255,80,140,0.04),
      transparent 72%
    );

  animation:
    radarPulse 4s linear infinite;

  z-index: 8999;
}

@keyframes radarPulse {

  0% {

    opacity: 0.12;
    transform: scale(0.98);
  }

  50% {

    opacity: 0.28;
    transform: scale(1.01);
  }

  100% {

    opacity: 0.12;
    transform: scale(0.98);
  }
}

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

header {

  padding: 12px 20px;

  border-bottom:
    1px solid #4e0027;

  font-size: 13px;

  letter-spacing: 3px;

  color: #4e0027;

  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 #4e0027;

  box-shadow:
    0 0 24px rgba(78,0,39,0.28);
}

/* =========================
   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: #d16a95;

  min-height: 20px;

  text-align: center;

  text-shadow:
    0 0 10px rgba(209,106,149,0.24);
}

#score-display {

  font-size: 11px;

  letter-spacing: 2px;

  color: #4e0027;

  min-height: 16px;

  text-align: center;
}

/* =========================
   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 #d16a95);
}

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

::-webkit-scrollbar {

  width: 6px;
}

::-webkit-scrollbar-track {

  background: #080204;
}

::-webkit-scrollbar-thumb {

  background: #4e0027;
}

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

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

  color: #4e0027;

  text-decoration: none;
}

.logo:hover {

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

/* =========================
   TERMINAL FEEL
========================= */

canvas {

  animation:
    terminalHum 5s ease-in-out infinite;
}

@keyframes terminalHum {

  0% {

    transform:
      translateY(0px);
  }

  50% {

    transform:
      translateY(-1px);
  }

  100% {

    transform:
      translateY(0px);
  }
}