#slasher-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, #2c3e50 0%, #000000 100%);
  z-index: 56;
}
canvas {
  display: block;
  cursor: crosshair;
}
.ui-layer {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.lives {
  color: #ff4757;
}
#menu-slasher,
#game-over-slasher {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: white;
  border: 2px solid #f1c40f;
  z-index: 100;
}
.btn-slasher {
  background: #f1c40f;
  color: #000;
  border: none;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 20px;
  transition:
    transform 0.2s,
    background 0.2s;
  pointer-events: auto;
}
.btn-slasher:hover {
  transform: scale(1.1);
  background: #f39c12;
}
.damage-flash {
  animation: flash 0.3s ease-out;
}

@keyframes flash {
  0% {
    box-shadow: inset 0 0 0 10px rgba(255, 0, 0, 0.7);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 0, 0, 0);
  }
}
