:root {
  --navy: #0b2c63;
  --navy-900: #071a3d;
  --sky: #4fbdec;
  --green: #2f9e4b;
  --leaf: #7cc95b;
  --gold: #f4d98b;
  --gold-deep: #e2b94f;
  --ink: #0f2340;
  --white: #fff;
  --bin-green: #2f9e4b;
  --bin-yellow: #f4c430;
  --bin-blue: #1b86cf;
  --bin-red: #e0453a;
  --font-head: 'Kanit', system-ui, sans-serif;
  --font-body: 'Anuphan', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--white);
  background: radial-gradient(120% 80% at 50% 0%, #15407f 0%, var(--navy) 45%, var(--navy-900) 100%);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
h1, h2, h3, .head { font-family: var(--font-head); font-weight: 600; margin: 0; line-height: 1.15; }
button { font-family: var(--font-head); cursor: pointer; border: 0; }
.hidden { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(124, 201, 91, .25); }
.muted { color: rgba(255, 255, 255, .7); }

.btn {
  font-size: 18px; padding: 14px 22px; border-radius: 16px;
  background: var(--green); color: var(--white);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 10px 24px -12px rgba(0, 0, 0, .6);
  transition: transform .12s ease, filter .12s ease;
}
.btn:active { transform: translateY(2px) scale(.98); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn.gold { background: var(--gold-deep); color: var(--ink); }

.bin-green { --c: var(--bin-green); --t: #fff; }
.bin-yellow { --c: var(--bin-yellow); --t: var(--ink); }
.bin-blue { --c: var(--bin-blue); --t: #fff; }
.bin-red { --c: var(--bin-red); --t: #fff; }

.timer { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.timer > i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--leaf), var(--gold)); transform-origin: left; }

@keyframes pop { 0% { transform: scale(.6); opacity: 0 } 60% { transform: scale(1.08); opacity: 1 } 100% { transform: scale(1) } }
@keyframes fall { 0% { transform: translateY(-40vh) rotate(-20deg); } 70% { transform: translateY(2vh) rotate(6deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes shake { 0%, 100% { transform: translateX(0) } 25% { transform: translateX(-8px) } 75% { transform: translateX(8px) } }
.pop { animation: pop .35s cubic-bezier(.2, .9, .3, 1.3) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
