body {
  background: #181c24;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  /* Sterrenhemel achtergrond */
  overflow: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="20" r="1.5" fill="white" opacity="0.7"/><circle cx="80" cy="60" r="1" fill="white" opacity="0.5"/><circle cx="200" cy="150" r="1.2" fill="white" opacity="0.8"/><circle cx="400" cy="300" r="1.7" fill="white" opacity="0.6"/><circle cx="700" cy="500" r="1.3" fill="white" opacity="0.7"/><circle cx="600" cy="100" r="1.1" fill="white" opacity="0.5"/><circle cx="300" cy="400" r="1.4" fill="white" opacity="0.6"/></svg>') repeat;
  animation: stars-move 60s linear infinite;
}
@keyframes stars-move {
  0% { background-position: 0 0; }
  100% { background-position: 100px 200px; }
}
#game-canvas {
  display: block;
  margin: 40px auto 0 auto;
  background: #222;
  border: 3px solid #3af;
  border-radius: 18px;
  width: 100vw !important;
  max-width: 800px;
  height: auto !important;
  max-height: 60vw;
  box-shadow: 0 8px 32px #000a, 0 0 32px #3af6;
  z-index: 1;
  touch-action: none;
}
#overlay-root {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}
.overlay {
  background: rgba(24,28,36,0.98);
  border: 2px solid #3af;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 32px #000a;
  text-align: center;
  min-width: 320px;
  max-width: 90vw;
  pointer-events: all;
}
button {
  background: linear-gradient(90deg, #3af, #09f);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.2rem;
  margin: 16px 0 0 0;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px #0004;
}
button:hover {
  background: linear-gradient(90deg, #09f, #3af);
}
@media (max-width: 900px) {
  #game-canvas {
    width: 98vw !important;
    height: 60vw !important;
    max-width: 100vw;
    max-height: 70vw;
  }
}
#touch-controls-bar {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  position: fixed !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  background: rgba(24,28,36,0.92);
  z-index: 9999 !important;
  padding: 8px 0 8px 0;
  box-shadow: 0 -2px 16px #000a;
}
#touch-controls-bar button {
  flex: 1 1 0;
  margin: 0 8px;
  min-width: 64px;
  min-height: 64px;
  font-size: 2.2rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(90deg, #3af, #09f);
  color: #fff;
  box-shadow: 0 4px 16px #3af4;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  outline: none;
  pointer-events: auto !important;
  touch-action: none;
}
#touch-controls-bar button:active {
  background: linear-gradient(90deg, #09f, #3af);
  color: #fff;
  box-shadow: 0 0 24px #3af8;
  transform: scale(0.96);
}
@media (min-width: 1200px) {
  #touch-controls-bar {
    display: none !important;
  }
} 