body {
  background: radial-gradient(circle at top, #0f0f0f, #000);
  color: white;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.title {
  text-align: center;
  text-shadow: 0 0 15px #0ff;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #0ff; }
  to { text-shadow: 0 0 25px #0ff, 0 0 40px #00f; }
}

.game-container {
  text-align: center;
}

.game-area {
  position: relative;
  width: 800px;
  height: 300px;
  background: linear-gradient(to bottom, #1b1b1b, #2b2b2b);
  border: 3px solid #00ffff;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 0 30px #0ff;
}

.guard-area {
  position: absolute;
  top: 10px;
  left: 20px;
}

#guard {
  width: 100px;
  transition: transform 0.5s;
}

.light {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-top: 10px;
  box-shadow: 0 0 15px;
}

.green { background: lime; box-shadow: 0 0 25px lime; }
.red { background: red; box-shadow: 0 0 25px red; }

.path {
  position: absolute;
  bottom: 50px;
  left: 120px;
  width: 650px;
  height: 10px;
  background: #444;
  border-radius: 5px;
}

#player {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url("https://cdn-icons-png.flaticon.com/512/1477/1477022.png") no-repeat center/cover;
  left: 0;
  bottom: -15px;
  transition: left 0.1s;
  filter: drop-shadow(0 0 10px #0ff);
}

.goal {
  position: absolute;
  right: 0;
  bottom: -20px;
  font-size: 40px;
}

.controls {
  margin-top: 15px;
}

button {
  background: #00ffff33;
  color: white;
  border: 2px solid #0ff;
  border-radius: 8px;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

button:hover {
  background: #00ffff77;
  transform: scale(1.1);
}

.status p {
  font-size: 18px;
  text-shadow: 0 0 10px #0ff;
  margin-top: 10px;
}
