* {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 9999;
  image-rendering: pixelated;
  transform: translate(-50%, -50%);
}

.custom-cursor {
  filter: drop-shadow(0 0 2px #000) drop-shadow(0 0 4px #00ff00);
}

body {
  background: #050505;
  color: #00ff00;
  font-family: "Courier New", monospace;
  margin: 0;
}

header {
  padding: 20px;
  border-bottom: 1px solid #00ff00;
}

.logo {
  font-size: 18px;
  letter-spacing: 2px;
}

.calculator {
  max-width: 300px;
  margin: 60px auto;
}

#display {
  width: 100%;
  height: 50px;
  background: #050505;
  border: 1px solid #00ff00;
  color: #00ff00;
  font-size: 20px;
  padding: 10px;
  box-sizing: border-box;

  text-shadow: 0 0 6px currentColor;
  box-shadow: 0 0 6px currentColor;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 15px;
}

button {
  background: transparent;
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background: #00ff00;
  color: #050505;
}

.wide {
  grid-column: span 4;
}

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

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  pointer-events: none;

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

  z-index: 999;
}

button,
input {
  font-family: "Courier New", monospace;
}

#display::placeholder {
  color: #00ff00;
  opacity: 0.5; /* 🔥 important: prevents fading */
}