@layer base {
  body {
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
}

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

.font-tajawal {
  font-family: 'Tajawal', sans-serif;
}

/* Touch Control buttons styling */
.touch-btn {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.touch-btn:active {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

/* Steering Wheel Styling */
#steering-wheel {
  touch-action: none;
  user-select: none;
  transform-origin: center center;
  transition: transform 0.05s ease-out;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), inset 0 0 15px rgba(0, 0, 0, 0.8);
}

/* Neon glow animations */
@keyframes neonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.8));
  }
}

.neon-glow {
  animation: neonPulse 3s infinite ease-in-out;
}

/* Landscape / Tilted View Layout Adaptations */
@media (orientation: landscape) or (min-aspect-ratio: 1.2) {
  #hud-overlay {
    padding: 0.5rem 1rem;
  }
  
  #touch-controls {
    max-width: 100%;
    width: 100%;
    padding: 0 0.5rem;
  }
  
  .touch-btn {
    width: 3.75rem !important;
    height: 3.75rem !important;
  }
  
  #btn-gas {
    width: 4.25rem !important;
    height: 4.25rem !important;
  }
}

/* Airtime pop animation */
@keyframes jumpGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 15px #ffea00); }
}
.airtime-pulse {
  animation: jumpGlow 0.8s infinite ease-in-out;
}

/* Custom Scrollbar for garage */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #101016;
}
::-webkit-scrollbar-thumb {
  background: #252538;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f0ff;
}