/* EyeSpeed Lab Custom Stylesheet */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@600;700&display=swap');

:root {
  --bg-primary: #0a0d14;
  --bg-card: rgba(16, 23, 38, 0.75);
  --border-neon-cyan: rgba(6, 182, 212, 0.4);
  --neon-cyan: #06b6d4;
  --neon-emerald: #10b981;
  --neon-amber: #f59e0b;
  --neon-rose: #f43f5e;
  --neon-purple: #a855f7;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: #f1f5f9;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.font-cyber {
  font-family: 'Orbitron', monospace;
}

.font-tech {
  font-family: 'Rajdhani', sans-serif;
}

/* Background Cyber Grid Effect */
.cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.glow-rose {
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}

.glow-purple {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.text-glow-cyan {
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.7);
}

.text-glow-green {
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.text-glow-amber {
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-canvas-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #0f172a 0%, #030712 100%);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(6, 182, 212, 0.1);
}

/* Pulsing radar lines on canvas bg */
.radar-overlay {
  background: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 40px,
    rgba(6, 182, 212, 0.05) 41px,
    transparent 42px
  );
}

/* Responsive Touchpad Keypad buttons */
.num-btn, .dir-btn {
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
}

.num-btn:active, .dir-btn:active {
  transform: scale(0.92);
  filter: brightness(1.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #06b6d4;
}

/* Badge animation */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

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