:root {
  --bg-main: #060816;
  --bg-panel: rgba(15, 23, 42, 0.92);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.45);
  --text: #f8fafc;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  background:
    radial-gradient(circle at top, #172554 0%, #0b1120 30%, #030712 100%);
  color: var(--text);
  overflow: hidden;
}

#app {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

#game-shell {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 16 / 9;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 30px 80px var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 60px rgba(34, 211, 238, 0.05);
}

#game-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.08), transparent 34%);
  pointer-events: none;
  z-index: 0;
}

#game-root {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#game-root canvas {
  width: 100%;
  height: 100%;
}