:root {
  --background: 240 10% 4%;
  --foreground: 0 0% 98%;
  --card: 240 10% 8%;
  --primary: 142 70% 50%;
  --secondary: 240 5% 15%;
  --muted: 240 5% 20%;
  --destructive: 0 84% 60%;
  --border: 240 5% 15%;
  --radius: 1.5rem;
}

* {
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  user-select: none;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'ui-monospace', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
}

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.scanning-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, transparent, hsl(var(--primary)), transparent);
  box-shadow: 0 0 20px hsl(var(--primary));
  animation: scan 3s ease-in-out infinite;
  z-index: 10;
}

.neon-glow-green {
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.5), 0 0 20px rgba(34, 197, 94, 0.3);
}

.neon-glow-red {
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5), 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--muted));
  border-radius: 10px;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}