/* Fullscreen blood vignette on impact */
#blood-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: radial-gradient(circle at center, transparent 40%, rgba(185, 28, 28, 0.45) 85%, rgba(127, 29, 29, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.1s ease-out;
}

#blood-flash.active {
  opacity: 1;
}

/* Stylized Floating Impact Popup */
.impact-popup {
  position: fixed;
  transform: translate(-50%, -50%);
  color: #ffffff;
  background: #b91c1c;
  padding: 6px 14px;
  border-radius: 4px;
  font: 800 13px/1.2 Mukta, sans-serif;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1001;
  animation: impact-float 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes impact-float {
  0% { transform: translate(-50%, -20%) scale(0.7); opacity: 0; }
  25% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -100%) scale(1); opacity: 0; }
}

/* In-game vehicle indicator badge */
.vehicle-hud-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(35, 26, 38, 0.92);
  color: #f7b32b;
  padding: 8px 16px;
  border-radius: 6px;
  font: 700 13px/1.2 Mukta, sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 15;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.vehicle-hud-badge kbd {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
}
