:root {
  color-scheme: dark;
  --arena-bg: #07101c;
  --arena-edge: #02050a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 32, 64, 0.16), transparent 38%),
    radial-gradient(circle at 20% 80%, rgba(36, 170, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #101726 0%, var(--arena-edge) 100%);
  color: #f6fbff;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  touch-action: none;
  user-select: none;
}

body {
  display: grid;
  place-items: center;
}

#game-frame {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  min-width: 320px;
  min-height: 180px;
  display: grid;
  place-items: center;
  background: #050914;
}

#game-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--arena-bg);
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: auto;
}
