
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #ffd700;
}

#gameContainer {
  text-align: center;
  width: 100%;
  max-width: 400px;
  padding: 10px;
  background: linear-gradient(to bottom, #333, #111);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 223, 0, 0.5);
}

h1 {
  font-size: 36px;
  margin: 10px 0;
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ffa500;
}

#scoreContainer h2 {
  margin: 0;
  font-size: 18px;
}

#gameCanvas {
  display: block;
  margin: 20px auto;
  background: #222;
  border: 3px solid #ffd700;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 223, 0, 0.7);
}

#restartButton {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  color: #111;
  background-color: #ffd700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 223, 0, 0.7);
}

#restartButton:hover {
  background-color: #ffa500;
  box-shadow: 0 10px 20px rgba(255, 153, 0, 0.9);
}

#gameOverPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 300px;
  background: linear-gradient(to bottom, #333, #111);
  border: 3px solid #ffd700;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(255, 223, 0, 0.7);
  display: none;
}

#gameOverPopup .popup-content h2 {
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ffa500;
}

#gameOverPopup button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  color: #111;
  background-color: #ffd700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 223, 0, 0.7);
}

#gameOverPopup button:hover {
  background-color: #ffa500;
  box-shadow: 0 10px 20px rgba(255, 153, 0, 0.9);
}
