/* Sistema de diseño heredado de "¡OV! Arcade Edition" (Hannia Pérez Trejo) */
:root {
  --yellow: #f3e500;
  --orange: #ff641f;
  --orange-hover: #e84e0a;
  --teal: #00b8ac;
  --teal-light: #d8ede1;
  --cream: #fff4d8;
  --paper: #fff4d8;
  --ink: #172e2d;
  --muted: #3d5551;
  --ink-wash: #172e2d18;
  --ink-shadow: #172e2d30;
  --outline: 2px solid var(--ink);
  --radius: 16px 20px 14px 19px;
  --radius-sm: 10px 13px 9px 12px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font-display: "Bangers", Impact, sans-serif;
  --font-hand: "Kalam", "Trebuchet MS", cursive;
  --font-body: "Trebuchet MS", system-ui, sans-serif;
  --paper-texture: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3e%3cfilter%20id='g'%3e%3cfeTurbulence%20type='fractalNoise'%20baseFrequency='.85'%20numOctaves='3'%20stitchTiles='stitch'/%3e%3cfeColorMatrix%20type='saturate'%20values='0'/%3e%3cfeComponentTransfer%3e%3cfeFuncA%20type='linear'%20slope='.11'/%3e%3c/feComponentTransfer%3e%3c/filter%3e%3cpath%20fill='%23172e2d'%20filter='url(%23g)'%20d='M0%200h180v180H0z'/%3e%3c/svg%3e");
}

@font-face {
  font-family: "Bangers";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bangers.woff2") format("woff2");
}
@font-face {
  font-family: "Kalam";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/kalam-400.woff2") format("woff2");
}
@font-face {
  font-family: "Kalam";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/kalam-700.woff2") format("woff2");
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: var(--paper-texture);
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 { margin: 0; }

button { font-family: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: .8rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
  text-decoration: none;
  line-height: 1;
}
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn:disabled {
  opacity: .45;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.btn--orange { background: var(--orange); color: #fff; }
.btn--teal { background: var(--teal); }
.btn--ghost { background: transparent; box-shadow: none; border-width: 2px; font-family: var(--font-hand); text-transform: none; font-size: 1rem; }
.btn--sm { font-size: 1.1rem; padding: .55rem .9rem; border-width: 2px; box-shadow: var(--shadow-sm); }

.sticker {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .9rem;
  clip-path: polygon(2% 12%, 97% 0, 100% 74%, 95% 100%, 0 88%);
  transform: rotate(-3deg);
}

.note {
  font-family: var(--font-hand);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
