body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #70c1ff 0%, #ffffff 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.game-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gameCanvas {
  border: 2px solid #333;
  background: #87ceeb;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border-radius: 16px;
  display: block;
}

.score {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 2px 2px 8px #333;
  z-index: 2;
  pointer-events: none;
}

.game-over {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 32px 48px;
  border-radius: 16px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.game-over.hidden {
  display: none;
}

#restartBtn {
  margin-top: 16px;
  padding: 10px 32px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  background: #ffcc00;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

#restartBtn:hover {
  background: #ffd700;
}

.start-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 32px 48px;
  border-radius: 16px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.start-screen.hidden {
  display: none;
}

#startBtn {
  margin-top: 16px;
  padding: 10px 32px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  background: #ffcc00;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

#startBtn:hover {
  background: #ffd700;
}

.instructions {
  margin-top: 12px;
  font-size: 1rem;
  color: #ffe082;
} 