/* Custom Glassmorphic & Cyber styling for GTA Cars */
.glass-panel {
  background: rgba(18, 18, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

/* Star glowing pulse when wanted */
.star-active {
  color: #f59e0b !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.8), 0 0 20px rgba(239, 68, 68, 0.6);
  animation: starPulse 0.6s infinite alternate ease-in-out;
}

@keyframes starPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px #ef4444); }
  100% { transform: scale(1.25); filter: drop-shadow(0 0 8px #f59e0b); }
}

/* Pop animation for Game Over */
@keyframes popIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.animate-pop {
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Touch button active feedback */
.touch-btn {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: none;
}

.hud-circle-btn {
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar for vehicle selection */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

/* Neon text shadows */
.neon-text-rose {
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
}

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