body {
  background-color: #f4f4f4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
}
h1 {
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
#game-container {
  background: #fff;
  padding: 22px 22px 12px 22px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60,64,67,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid #cccccc;
}
canvas {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 14px #dde1e6;
  display: block;
  border: 2px solid #cccccc;
}
#score {
  color: #333333;
  font-size: 20px;
  font-weight: bold;
  margin: 16px 0 6px 0;
  letter-spacing: 1px;
}
#restart-btn {
  background: linear-gradient(90deg, #4caf50, #43a047);
  border: none;
  color: #fff;
  padding: 9px 32px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 2px 8px #21416f22;
  transition: background 0.2s, transform 0.2s;
  outline: none;
}
#restart-btn:hover {
  background: linear-gradient(90deg, #43a047, #4caf50);
  transform: scale(1.05);
}
#game-over {
  font-size: 1.5em;
  color: #ff5722;
  font-weight: bold;
  margin-top: 8px;
  text-align: center;
  display: none;
  letter-spacing: 2px;
}
@media (max-width:480px) {
  #game-container { padding: 8px 2px; }
  canvas { width: 95vw !important; height: 70vw !important; }
}
