/* Brand tokens taken from the event videos: one red on white, pink checker, pixel type. */
/* Self-hosted (OFL-1.1, via @fontsource) so the page works under simsforhire.com's CSP (font-src 'self'). */
@font-face { font-family: 'Silkscreen'; font-weight: 400; font-display: swap; src: url('/fonts/silkscreen-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Silkscreen'; font-weight: 700; font-display: swap; src: url('/fonts/silkscreen-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'VT323'; font-weight: 400; font-display: swap; src: url('/fonts/vt323-latin-400-normal.woff2') format('woff2'); }

:root {
  --red: #e21216;
  --red-deep: #b40d10;
  --pink: #fbd9d9;
  --pink-2: #fdeaea;
  --white: #fffdfd;
  --ink: #e21216;
  --px: 'Silkscreen', ui-monospace, monospace;   /* headings, labels, buttons */
  --mono: 'VT323', ui-monospace, monospace;      /* body copy, HUD numbers */
  --checker: repeating-conic-gradient(var(--pink) 0 25%, var(--white) 0 50%) 0 0 / 120px 120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 22px; line-height: 1.25; }
img { image-rendering: pixelated; max-width: 100%; display: block; }
video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
.px { font-family: var(--px); text-transform: uppercase; letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared pixel button */
.btn-px {
  font-family: var(--px); text-transform: uppercase; font-size: 16px;
  background: var(--red); color: var(--white); border: 0; padding: 14px 20px;
  box-shadow: 4px 4px 0 var(--red-deep); transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn-px:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--red-deep); }
.btn-px:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--red-deep); }
.btn-px.ghost { background: var(--white); color: var(--red); border: 3px solid var(--red); box-shadow: 4px 4px 0 var(--red); }
.btn-px:focus-visible, .store-ui :focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

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