@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #171717;
  --text: #f4f4f0;
  --muted: #858585;
  --acid: #c7ff43;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: grid;
  place-items: center;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(#777 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.page {
  width: min(100% - 40px, 760px);
  min-height: min(850px, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 0 25px;
  position: relative;
}
.topline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 13px #c7ff4380;
}
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 0;
}
.emoji {
  font-size: clamp(64px, 13vw, 100px);
  line-height: 1;
  margin-bottom: 26px;
  filter: grayscale(1);
  transition: transform .18s ease, filter .18s ease;
}
.emoji.pop { transform: scale(1.2) rotate(-8deg); filter: grayscale(0); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
}
h1 {
  margin: 0;
  font-size: clamp(62px, 15vw, 118px);
  line-height: .82;
  letter-spacing: -.095em;
  font-weight: 900;
}
h1 span { color: var(--acid); }
.subtitle {
  margin: 24px 0 32px;
  color: #aaa;
  font-size: 14px;
  font-weight: 500;
}
.koch-button {
  width: min(100%, 290px);
  min-height: 76px;
  border: 0;
  border-radius: 18px;
  background: var(--acid);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .13em;
  cursor: pointer;
  box-shadow: 0 8px 0 #8eaf2d, 0 18px 50px #c7ff431c;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.koch-button:hover { background: #d5ff70; transform: translateY(-2px); box-shadow: 0 10px 0 #8eaf2d, 0 22px 55px #c7ff4328; }
.koch-button:active, .koch-button.pressed { transform: translateY(6px) scale(.985); box-shadow: 0 2px 0 #8eaf2d, 0 8px 24px #c7ff431c; }
.button-arrow { font-size: 24px; font-weight: 700; }
.counter-wrap {
  margin-top: 39px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.counter-label { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.counter { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
#counter { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
footer {
  border-top: 1px solid #292929;
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #666;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.footer-actions { display: flex; gap: 18px; }
.text-button {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #888;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.text-button:hover { color: var(--acid); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 35px;
  transform: translate(-50%, 15px);
  background: #f4f4f0;
  color: #111;
  padding: 11px 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 480px) {
  .page { width: min(100% - 32px, 760px); min-height: 100svh; padding: 25px 0 20px; }
  .hero { padding: 35px 0; }
  footer { font-size: 8px; }
  .footer-actions { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
