:root {
  --neon-green: #00ff41;
  --deep-bg: #050505;
  --hazard-yellow: #ffb700;
}

body {
  background-color: var(--deep-bg);
  color: var(--neon-green);
  font-family: 'Fira Code', monospace;
  margin: 0;
  overflow: hidden;
}

.orbitron { font-family: 'Orbitron', sans-serif; }

/* CRT Scanline Effect Overlay */
.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 100;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

/* Glitch Animation */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.glitch:hover {
  animation: glitch 0.3s cubic-bezier(.25,.46,.45,.94) both infinite;
}

.hazard-stripe {
  background: repeating-linear-gradient(
    45deg,
    var(--hazard-yellow),
    var(--hazard-yellow) 10px,
    #000 10px,
    #000 20px
  );
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--neon-green);
  border-radius: 10px;
}

canvas#matrix {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.35;
}

.glass {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 65, 0.2);
}

.pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.5); }
  100% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.2); }
}