:root {
  --frame: clamp(22px, 6.5vw, 54px);
  --ink: #24303F;
  --cream: #FFF6E5;
  --sand: #F2D6A2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: var(--sand);
}

body {
  font-family: "Nunito", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

#game {
  position: fixed;
  inset: 0;
  z-index: 1;
}

#game canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

#paper-frame {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border: var(--frame) solid transparent;
  border-image: url("assets/elements/vine_rope_frame.webp") 92 stretch;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, #FBEBC8 0%, rgba(251, 235, 200, 0) 55%),
    radial-gradient(circle at 80% 85%, #EBCB93 0%, rgba(235, 203, 147, 0) 60%),
    var(--sand);
  transition: opacity 420ms ease;
}

#boot.gone {
  opacity: 0;
  pointer-events: none;
}

.boot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 34px 32px;
  max-width: 82vw;
  text-align: center;
  color: var(--ink);
  background: var(--cream);
  border-radius: 26px;
  box-shadow: 0 8px 0 rgba(217, 183, 126, 0.75), 0 16px 30px rgba(36, 48, 63, 0.12);
}

.boot-title {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 7vw, 44px);
  line-height: 1.05;
}

.boot-sub {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 3.4vw, 17px);
  color: #5B4A8A;
}

.boot-note {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  color: #F26B5B;
  max-width: 46vw;
}
