@font-face { font-family: 'Scrapyard Display'; src: url('/fonts/scrapyard-display.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Scrapyard UI'; src: url('/fonts/scrapyard-ui.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #1a1214; --ink: #1d1210; --steel: #3a3431; --steel-2: #4a423d; --edge: #120c0b;
  --hazard: #f0bd24; --hazard-hi: #ffe27a; --text: #f3e6cf; --muted: #b9a88e; --rust: #c77d3f;
  --display: 'Scrapyard Display', 'Arial Black', system-ui, sans-serif;
  --ui: 'Scrapyard UI', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; font-family: var(--ui); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--hazard); }

.hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 16px, var(--edge) 16px 32px); box-shadow: 0 2px 0 #0008; }

/* ---- hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #1a1214f2 0%, #1a1214cc 38%, #1a121433 70%, #1a121400 100%), linear-gradient(0deg, var(--bg) 0%, #1a121400 30%); }
.hero-inner { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 72px 0 56px; }
.hero .hazard { position: absolute; left: 0; right: 0; bottom: 0; }
h1 { margin: 0; }
.logo { width: min(460px, 82vw); height: auto; filter: drop-shadow(0 10px 18px #000c); }
.tagline { font-family: var(--display); font-size: clamp(28px, 4.4vw, 52px); line-height: 1.05; margin: 18px 0 10px; letter-spacing: .01em; text-shadow: 0 3px 0 #000a; }
.tagline span { color: var(--hazard); }
.lede { max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text); margin: 0 0 26px; text-shadow: 0 1px 2px #000; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000c; border: 2px solid #ffffff38; font-weight: 800; font-size: 19px; line-height: 1.1; }
.store svg { width: 26px; height: 26px; fill: var(--text); }
.store small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.free { margin: 14px 0 0; font-size: 14px; color: var(--muted); font-weight: 700; }

/* ---- sections */
main section { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 72px 0 0; }
.section-title, .fair h2, .cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 0 0 26px; color: var(--hazard); text-shadow: 0 3px 0 #2a1208; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card, .mode {
  position: relative; padding: 22px 20px 20px; border-radius: 16px; border: 2px solid var(--edge);
  background: linear-gradient(180deg, var(--steel-2), var(--steel)); box-shadow: 0 4px 0 var(--edge), inset 0 1px 0 #ffffff14;
}
.card h3, .mode h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 8px; letter-spacing: .01em; }
.card p, .mode p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card-icon { font-size: 34px; line-height: 1; margin-bottom: 12px; filter: drop-shadow(0 3px 2px #0008); }

.gallery { padding-top: 56px !important; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-color: var(--hazard) #0006; }
.shots img { flex: none; width: min(720px, 86vw); height: auto; aspect-ratio: 16 / 9; border-radius: 14px; border: 3px solid var(--edge); box-shadow: 0 6px 18px #000a; scroll-snap-align: start; background: var(--steel); }
.shots:focus-visible { outline: 2px solid var(--hazard); outline-offset: 4px; border-radius: 14px; }
.hint { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.mode { border-top: 4px solid var(--hazard); }
.leagues { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-top: 26px; padding: 18px; border-radius: 16px; background: #0006; border: 2px solid var(--edge); }
.leagues figure { margin: 0; text-align: center; }
.leagues img { width: 100%; max-width: 84px; margin: 0 auto; filter: drop-shadow(0 4px 4px #000a); }
.leagues figcaption { font-family: var(--display); font-size: 14px; color: var(--muted); margin-top: 4px; }

.fair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; }
.fair img { border-radius: 18px; border: 3px solid var(--edge); box-shadow: 0 8px 22px #000b; }
.fair p { color: var(--text); font-size: 17px; margin: 0 0 14px; }
.fair ul { margin: 0; padding-left: 20px; color: var(--muted); }
.fair li::marker { color: var(--hazard); }

.cta { text-align: center; padding-bottom: 72px !important; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); margin: 0; }

footer { margin-top: 24px; background: #120c0b; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 26px 20px 8px; }
footer a { color: var(--text); text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--hazard); }
footer p { text-align: center; color: var(--muted); font-size: 13px; margin: 0; padding: 8px 20px 30px; }

@media (max-width: 900px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leagues { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fair { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 4%, #1a1214d9 45%, #1a121499 100%); }
  .hero-inner { padding-top: 48px; }
  .store { font-size: 17px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card, .mode { transition: transform .15s ease; }
  .card:hover, .mode:hover { transform: translateY(-3px); }
}
