* {

  box-sizing: border-box;

  margin: 0;
  padding: 0;

  cursor: none !important;
}

body {

  background: #020808;

  color: #004e3b;

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

  z-index: 9000;
}

/* speed flicker */

body::before {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    rgba(0,255,180,0.02);

  animation:
    aetherPulse 0.08s infinite;

  z-index: 8999;
}

@keyframes aetherPulse {

  0% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.09;
  }

  100% {
    opacity: 0.04;
  }
}

/* header */

header {

  padding: 12px 20px;

  border-bottom:
    1px solid #004e3b;

  font-size: 13px;

  letter-spacing: 3px;

  color: #004e3b;

  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 #004e3b;

  box-shadow:
    0 0 25px rgba(0,78,59,0.35);
}

/* 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: #00c896;

  min-height: 20px;

  text-align: center;

  text-shadow:
    0 0 8px rgba(0,255,180,0.4);
}

#score-display {

  font-size: 11px;

  letter-spacing: 2px;

  color: #004e3b;

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

/* scrollbar */

::-webkit-scrollbar {

  width: 6px;
}

::-webkit-scrollbar-track {

  background: #020808;
}

::-webkit-scrollbar-thumb {

  background: #004e3b;
}

/* logo */

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

  color: #004e3b;

  text-decoration: none;
}

.logo:hover {

  text-shadow:
    0 0 12px #00ffb4;
}

/* subtle motion feel */

canvas {

  animation:
    screenBuzz 0.12s infinite;
}

@keyframes screenBuzz {

  0% {
    transform: translate(0px, 0px);
  }

  25% {
    transform: translate(0.2px, -0.2px);
  }

  50% {
    transform: translate(-0.2px, 0.1px);
  }

  75% {
    transform: translate(0.1px, 0.2px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}