canvas {
  width: 100%;
  height: 100%;
  background: linear-gradient(#001a33 0%, #036 100%);
  cursor: none;
  display: block;
}

.game-ui {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-family: Courier New, monospace;
  font-size: 18px;
  text-shadow: 2px 2px 4px #000c;
  pointer-events: none;
}

.lives {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.heart {
  width: 30px;
  height: 30px;
  color: red;
}

.game-over {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000000e6;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-family: Courier New, monospace;
  display: none;
}

.game-over.visible {
  display: block;
}

.game-over h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: red;
}

.game-over button {
  font-size: 24px;
  padding: 15px 30px;
  background: #0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: Courier New, monospace;
  font-weight: bold;
}

.game-over button:hover {
  background: #0c0;
}

.stage-complete {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #006400e6;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-family: Courier New, monospace;
  display: none;
}

.stage-complete.visible {
  display: block;
}

.stage-complete h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #0f0;
}
