/* style.css */
body {
  margin: 0;
  padding: 0;
  background: url('bg.jpg') no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(5px);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
}

.main-container {
  text-align: center;
  padding: 20px;
}

input, button {
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

input {
  width: 250px;
}

button:hover {
  background-color: #4caf50;
  color: white;
  cursor: pointer;
}

#attackDisplay {
  font-size: 28px;
  margin: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); color: #ff0000; }
  50% { transform: scale(1.2); color: #00ff00; }
  100% { transform: scale(1); color: #ff0000; }
}

#lifeBarContainer {
  width: 80%;
  background: grey;
  margin: 10px auto;
  border-radius: 20px;
  height: 20px;
  overflow: hidden;
}

#lifeBar {
  height: 100%;
  width: 100%;
  background: limegreen;
  transition: width 0.5s;
}

.victory {
  text-align: center;
  margin-top: 100px;
}

.victory h1 {
  font-size: 50px;
  color: gold;
}

ul {
  list-style: none;
  padding: 0;
}
