@font-face { font-family: "Mortend"; src: url("fonts/Mortend-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mortend"; src: url("fonts/Mortend-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/BeVietnamPro-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Ponypoket"; src: url("fonts/Ponypoket.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --lime: #83EC4C;
  --black: #000;
  --white: #fff;
  --grey: #8A8A8A;
  --panel: #1A1A1A;
  --line: #2B2B2B;
  --red: #FF5A4E;
  --heading: "Mortend", "Arial Black", sans-serif;
  --body: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  --hand: "Ponypoket", "Be Vietnam Pro", cursive;
  --r: 4px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .heading {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

.hand { font-family: var(--hand); color: var(--lime); line-height: 1.05; }

.btn {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  background: var(--lime);
  color: var(--black);
  border: 0;
  border-radius: var(--r);
  padding: 15px 24px;
  min-height: 48px;
  cursor: pointer;
  transition: transform 150ms ease-out, background 150ms ease-out;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px #444; }
.btn.small { font-size: 12px; padding: 9px 14px; min-height: 38px; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

input, textarea, select {
  font: inherit;
  color: var(--white);
  background: var(--panel);
  border: 1px solid #3A3A3A;
  border-radius: var(--r);
  padding: 11px 13px;
  min-height: 48px;
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--lime); outline: none; }
label { display: block; font-size: 14px; font-weight: 500; color: #CFCFCF; margin: 0 0 6px; }
.muted { color: var(--grey); }
.error { color: var(--red); font-size: 15px; min-height: 1.5em; margin: 8px 0 0; }

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