* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Press Start 2P', 'Arial', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.game-container {
  position: relative;
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.game-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 12px;
}

.score-container,
.high-score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-label {
  font-size: 10px;
  color: #888;
  margin-bottom: 5px;
}

.score-value {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

#game-canvas {
  display: block;
  background-color: #1a1a1a;
  border: 2px solid #333;
  border-radius: 5px;
}

.game-over {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.9);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  border: 2px solid #ff6b6b;
}

.game-over h2 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ff6b6b;
}

.game-over p {
  font-size: 14px;
  margin-bottom: 30px;
}

#restart-button {
  padding: 15px 30px;
  font-size: 12px;
  background-color: #4ecdc4;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#restart-button:hover {
  background-color: #45b7b8;
}

.hidden {
  display: none;
}
