* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at center, #111625 0%, #06080f 75%, #020306 100%);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: #f4f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cabinet {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 2px rgba(120, 165, 255, 0.22),
    0 20px 70px rgba(0, 0, 0, 0.92),
    0 0 50px rgba(40, 110, 220, 0.18);
  background: #05070d;
  overflow: hidden;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: auto;
  cursor: crosshair;
}

/* Subtle optional CRT scanline sheen that doesn't darken foreground bullets */
#cabinet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 2px,
    rgba(0, 0, 0, 0.07) 3px
  );
  mix-blend-mode: multiply;
}
