/* Custom Base Game Styles */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  background-color: #0b0f14;
  touch-action: none;
}

/* Glassmorphic utilities */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgba(253, 184, 19, 0.4);
  border-radius: 4px;
}

/* Button Active Springs */
button:active {
  transform: scale(0.94);
  transition: transform 0.08s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Radar Animation */
@keyframes radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.radar-sweep {
  animation: radar-sweep 4s linear infinite;
}

/* Weapon Flash Animation */
@keyframes muzzle-light {
  0% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0.8); }
}

.muzzle-flash {
  animation: muzzle-light 0.08s ease-out forwards;
}

/* Damage overlay screen pulse */
#game-container.damage-flash {
  box-shadow: inset 0 0 50px rgba(239, 68, 68, 0.8);
}