body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  text-align: center;
  margin: 0;
  overflow: hidden;
}

.menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #4a90e2, #50e3c2);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 3.5em;
  margin: 20px;
}

button {
  font-size: 20px;
  margin: 15px;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  color: #333;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

button:hover {
  background: #e6e6e6;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

button:active {
  transform: scale(0.95);
}

#gameCanvasContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

#gameCanvas {
  border: 5px solid #4a90e2;
  border-radius: 15px;
}

#game-over {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

#game-over h2 {
  margin: 0 0 10px;
  font-size: 2em;
}

#game-over p {
  font-size: 1.5em;
  margin: 10px 0;
}

.progress-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 25px;
  background-color: #ddd;
  border: 2px solid #4a90e2;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  background-color: #4caf50;
  width: 0%;
  border-radius: 10px;
}
