/* ------------------------------------------------ */
/* JUMPSCARE OVERLAY */
/* ------------------------------------------------ */

#jumpscareOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: jumpscareFadeIn 0.2s ease-out;
}

@keyframes jumpscareFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#jumpscareOverlay img {
  width: 70%;
  max-width: 900px;
  border: 4px solid #b300ff;
  border-radius: 12px;
  box-shadow: 0 0 25px #b300ff, 0 0 50px #b300ff;
  animation: jumpscareZoom 0.25s ease-out;
}

@keyframes jumpscareZoom {
  from { transform: scale(0.85); }
  to   { transform: scale(1); }
}

/* Villanás effekt */
#jumpscareFlash {
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  animation: flashEffect 0.15s ease-out;
}

@keyframes flashEffect {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0; }
}
