html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  user-select: none;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 12px;
}

button {
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
}

.hud {
  position: fixed;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 20px;
  z-index: 10;
}

#game-area {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-image: url('../images/level.png');
  background-size: cover;
  background-position: center;
  cursor: none;
  will-change: transform;
  transition: transform 180ms ease-out;
}

.alien {
  position: absolute;
  width: 30px;
  height: 30px;
}

#crosshair {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 20;
}

.zoomed {
  transform: scale(2.5);
  transform-origin: center center;
}

#scope-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 80px, rgba(0,0,0,0.85) 100px);
  z-index: 15;
  pointer-events: none;
}

#back-home {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 25;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}

@keyframes alienPulse {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.6); }
  100% { transform: scale(0.5); }
}