/* ==========================================================================
   KUBUS.LOL — NOTIFICATIONS, HITMARKERS & FLOATING COMBAT TEXT
   ========================================================================== */

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  align-items: center;
}

.toast {
  background: rgba(12, 15, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.45);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(0, 242, 254, 0.3);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.35s ease 2.2s forwards;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

@keyframes toastIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px) scale(0.95); }
}

/* ==========================================================================
   MLG HITMARKERS
   ========================================================================== */
.hitmarker-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
}

.hitmarker {
  position: absolute;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hitmarkerPop 0.22s ease-out forwards;
}

.hitmarker-line {
  position: absolute;
  width: 9px;
  height: 2.5px;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff, 0 0 12px #ff0055;
  border-radius: 1px;
}

.hitmarker-tl { top: 2px; left: 2px; transform: rotate(45deg); }
.hitmarker-tr { top: 2px; right: 2px; transform: rotate(-45deg); }
.hitmarker-bl { bottom: 2px; left: 2px; transform: rotate(-45deg); }
.hitmarker-br { bottom: 2px; right: 2px; transform: rotate(45deg); }

@keyframes hitmarkerPop {
  0% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
}

/* ==========================================================================
   FLOATING COMBAT / MEME NUMBERS (+1000 AURA, HEADSHOT, CRIT)
   ========================================================================== */
.floater-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99997;
}

.floater-text {
  position: absolute;
  font-family: var(--font-cyber);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  user-select: none;
  animation: floaterFloat 0.75s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes floaterFloat {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.7) translateY(0);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.25) translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) translateY(-65px);
  }
}
