body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Arial, sans-serif;
  background: #111;
  color: white;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  margin: 8px 0;
}

.hud {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0;
  font-size: 20px;
  font-weight: bold;
  flex-wrap: wrap;
}

#gameArea {
  position: relative;
  width: 800px;
  height: 500px;
  margin: 20px auto;
  border: 3px solid white;
  background-image: url("../Assets/Images/milwalkee1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#player {
  position: absolute;
  width: 50px;
  height: 50px;
  left: 380px;
  top: 220px;
  background-image: url("../Assets/Images/cat.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* player when powered up */
#player.powered {
  background-image: url("../Assets/Images/oven_cat.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}

.enemy {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url("../Assets/Images/cucumber.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.powerup {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url("../Assets/Images/oven.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.buttons {
  margin-top: 20px;
}

button {
  padding: 10px 18px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background: white;
  color: black;
}

button:hover {
  background: #ddd;
}

#gameMessage {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
  color: gold;
  min-height: 30px;
}

.bullet {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgb(230, 15, 15);
  border-radius: 50%;
  box-shadow: 0 0 6px white;
  z-index: 5;
}

.projectile {
  position: absolute;
  width: 10px;
  height: 10px;
  background: yellow;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 0, 0.9);
  z-index: 5;
}