@media (max-width: 720px) {
  .hero {
    padding: 18px;
  }
  .btn {
    font-size: 1rem;
  }
}

@media (pointer: coarse) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background: #000;
  }
  .page {
    min-height: 100dvh;
    padding: 0;
    gap: 0;
    background: transparent;
  }
  #game-area {
    position: fixed;
    inset: 0;
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
  }
  canvas {
    width: 100dvw;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: block;
  }
  .mobile-controls {
    display: flex;
  }
}

@media (max-width: 1024px) and (pointer: coarse) {
  .mobile-controls {
    display: flex;
  }
  .page {
    padding: 0px;
    gap: 0px;
  }
}

@media (max-width: 1024px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
  }
  .page {
    padding: 0;
    background: transparent;
  }
  #game-area {
    position: fixed;
    inset: 0;
    width: 100dvw;
    height: 100dvh;
  }
  canvas {
    width: 100dvw;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
}
