* {

  box-sizing: border-box;

  margin: 0;
  padding: 0;

  cursor: none !important;
}

body {

  background: #080208;

  color: #4e004e;

  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,78,0.05),
      rgba(78,0,78,0.05) 1px,
      transparent 1px,
      transparent 3px
    );

  z-index: 9000;
}

/* =========================
   PURPLE HAZE
========================= */

body::before {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at center,
      rgba(168,95,168,0.06),
      transparent 70%
    );

  animation:
    hazePulse 7s ease-in-out infinite;

  z-index: 8999;
}

@keyframes hazePulse {

  0% {
    opacity: 0.18;
  }

  50% {
    opacity: 0.32;
  }

  100% {
    opacity: 0.18;
  }
}

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

header {

  padding: 12px 20px;

  border-bottom:
    1px solid #4e004e;

  font-size: 13px;

  letter-spacing: 3px;

  color: #4e004e;

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

  box-shadow:
    0 0 24px rgba(78,0,78,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: #a85fa8;

  min-height: 20px;

  text-align: center;

  text-shadow:
    0 0 10px rgba(168,95,168,0.25);
}

#score-display {

  font-size: 11px;

  letter-spacing: 2px;

  color: #4e004e;

  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 #a85fa8);
}

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

::-webkit-scrollbar {

  width: 6px;
}

::-webkit-scrollbar-track {

  background: #080208;
}

::-webkit-scrollbar-thumb {

  background: #4e004e;
}

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

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

  color: #4e004e;

  text-decoration: none;
}

.logo:hover {

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

/* =========================
   SUBTLE FLOAT
========================= */

canvas {

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

@keyframes subtleFloat {

  0% {
    transform:
      translateY(0px);
  }

  50% {
    transform:
      translateY(-1px);
  }

  100% {
    transform:
      translateY(0px);
  }
}