:root {
  --bg: #05070a;
  --accent: #00ffb4;
  --panel: rgba(255,255,255,0.06);
  --blur: blur(14px);
}

* {
  box-sizing: border-box;
  touch-action: none;
}

body {
  margin: 0;
  height: 100svh;
  background: radial-gradient(circle at top, #111 0%, #000 65%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, sans-serif;
  overflow: hidden;
}

#game-wrapper {
  position: relative;
}

canvas {
  max-width: 100vw;
  max-height: 100svh;
  border-radius: 14px;
  background: #000;
  box-shadow:
    0 0 35px rgba(0,255,180,0.25),
    inset 0 0 18px rgba(255,255,255,0.05);
}

/* ===== Mobile Controls ===== */

.controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.control {
  width: 90px;
  height: 150px;
  background: var(--panel);
  backdrop-filter: var(--blur);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  pointer-events: auto;
}

.btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0c0f14, #181d24);
  color: var(--accent);
  font-size: 26px;
  display: grid;
  place-items: center;
  user-select: none;
}

.btn:active {
  transform: scale(0.92);
  box-shadow: 0 0 20px var(--accent);
}

@media (min-width: 900px) {
  .controls {
    display: none;
  }
}

