:root {
  --ink: #0b0710;
  --gold: #ffd36a;
  --pumpkin: #ff8a1e;
}

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

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, #241126 0%, #0b0710 58%, #050308 100%);
  color: #fff;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}

body {
  position: fixed;
  inset: 0;
  touch-action: none;
}

#game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline: none;
  cursor: default;
}

#game.playing {
  cursor: crosshair;
}

#boot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 40%, #2b1430 0%, #0b0710 65%, #040207 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

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

.boot-pumpkin {
  font-size: clamp(54px, 12vmin, 110px);
  filter: drop-shadow(0 0 26px rgba(255, 138, 30, 0.65));
  animation: bootBob 1.6s ease-in-out infinite;
}

.boot-title {
  font-family: "Arial Black", "Trebuchet MS", sans-serif;
  letter-spacing: 0.09em;
  font-size: clamp(20px, 4.4vmin, 40px);
  color: #ffd36a;
  text-shadow: 0 3px 0 #6e2c0c, 0 0 30px rgba(255, 145, 35, 0.55);
}

.boot-sub {
  font-size: clamp(10px, 1.8vmin, 14px);
  letter-spacing: 0.32em;
  color: #f0cfa3;
  opacity: 0.8;
}

@keyframes bootBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0b0710;
  z-index: 10;
  color: #ffd36a;
  font-size: 18px;
}
