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

body {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  font-family: monospace;
}

#gameContainer {
  position: relative;
  /* Fill viewport while maintaining 1120:720 aspect ratio */
  width: 100vw;
  height: calc(100vw * 720 / 1120);
  max-height: 100vh;
  max-width: calc(100vh * 1120 / 720);
}

#gameCanvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  cursor: pointer;
}
