body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Space background for the whole screen */
  background: radial-gradient(ellipse at 60% 20%, #222244 0%, #0a0033 80%, #000 100%);
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  /* Static stars */
  background-image:
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(white 1.5px, transparent 1.5px),
    radial-gradient(white 0.5px, transparent 0.5px);
  background-size: 80px 80px, 120px 120px, 200px 200px;
  background-position: 10px 20px, 60px 100px, 120px 40px;
  opacity: 0.7;
}
#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  z-index: 1;
}
#game-canvas {
  background: transparent;
  border: 2px solid #fff;
  border-radius: 8px;
  display: block;
  margin-bottom: 16px;
  width: 90vw;
  max-width: 400px;
  height: 60vw;
  max-height: 600px;
  touch-action: manipulation;
  box-shadow: 0 8px 32px 0 rgba(34,139,34,0.15);
  z-index: 1;
}
#instructions {
  text-align: center;
  margin-top: 10px;
  z-index: 1;
}
