:root {
  --galala-green: #A2D45E;
  --galala-blue: #00269A;
  --galala-gray: #77787B;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #061650;
  color: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  touch-action: none;
  user-select: none;
}

#app {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(162, 212, 94, 0.22), transparent 34%),
    linear-gradient(180deg, #00269A 0%, #03165f 58%, #020a31 100%);
}

#gameCanvas {
  display: block;
  width: min(100vw, calc(100vh * 0.5625));
  height: min(100vh, calc(100vw * 1.7777778));
  max-width: 1080px;
  max-height: 1920px;
  border-radius: 0;
  background: var(--galala-blue);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.35);
}

#fullscreenButton {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  min-width: 156px;
  min-height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 38, 154, 0.74);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

#fullscreenButton:active {
  transform: scale(0.98);
}

@media (display-mode: fullscreen) {
  #fullscreenButton {
    display: none;
  }
}
