/* proofoffight.com: the arcade. One brand header, a "today" strip, then each game as its own cabinet in that game's own look.
   Each game lives in its own folder (fight/, ride/); this page only links to them. Single dark look: an arcade at night. */
:root {
  --bg: #0b0a12;
  --panel: #16131f;
  --panel-2: #201b2d;
  --ink: #f6f3ff;
  --muted: #a8a2bb;
  --line: #07060b;
  --gold: #ffd23f;
  --red: #b3261e;
  --purple: #6b3fd6;
  --btc: #f7931a;
  --up: #1ff2a0;
  --down: #ff3d71;
  --display: 'Bungee', Impact, 'Arial Black', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --grotesk: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  background: radial-gradient(ellipse at top, #1d1530 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--ink); font-family: var(--body); line-height: 1.45;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1040px; margin: 0 auto; padding-block: max(28px, env(safe-area-inset-top, 0px)) max(40px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 28px; }

/* Marquee */
.marquee { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.logo { margin: 0; font-family: var(--display); font-weight: 400; line-height: .95; font-size: clamp(38px, 8vw, 64px);
  color: var(--gold); -webkit-text-stroke: 2px var(--line); text-shadow: 0 5px 0 var(--red), 0 9px 0 var(--line);
  transform: rotate(-3deg); display: flex; gap: .25em; align-items: baseline; flex-wrap: wrap; }
.logo .of { font-size: .45em; color: #fff; -webkit-text-stroke: 0; text-shadow: 0 3px 0 var(--line); }
.brand-line { color: var(--muted); margin: 14px 0 0; max-width: 46ch; }
.play:focus-visible, .cab .screen:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Today strip */
.today { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: stretch;
  background: var(--panel); border: 2px solid var(--line); box-shadow: 0 0 0 1px #2c2540 inset; border-radius: 14px; padding: 10px; }
.today-head { font-family: var(--display); font-size: 14px; color: var(--gold); display: grid; align-content: center; padding: 0 10px; line-height: 1.1; }
.today-head small { display: block; font: 600 11px var(--mono); color: var(--muted); margin-top: 4px; letter-spacing: .02em; }
.daily { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); min-width: 0; text-decoration: none; color: inherit; cursor: pointer; border: 0; text-align: left; font: inherit; }
.daily b { display: block; font-size: 14px; }
.daily span { font-size: 12px; color: var(--muted); }
.daily .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* Cabinets */
/* Room for more games: as many 290px-plus cabinets per row as fit (three on a laptop, two on a tablet, one on a phone). */
.cabinets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.cab { position: relative; border-radius: 18px; border: 3px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.cab .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cab .screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cab .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.cab .info .row { margin-top: auto; padding-top: 6px; }
.cab h2 { height: 34px; display: flex; align-items: center; }
.cab .kicker { font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cab p { margin: 0; color: var(--muted); font-size: 13.5px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.facts li { font-size: 12px; padding: 4px 8px; border-radius: 6px; }
.row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 4px; }
.best { font-size: 12px; color: var(--muted); }
.best b { color: var(--ink); }
.play { cursor: pointer; border: 2px solid var(--line); border-radius: 12px; width: 100%; height: 50px; padding: 0; font-size: 17px; display: inline-grid; place-items: center; }

/* Cabinet 1: the fighting game, in its own 16-bit arcade look */
.cab-fight { background: var(--panel); box-shadow: 0 0 0 1px #3a2b55 inset, 0 10px 0 var(--line); }
.cab-fight .screen { background: #120d1f; }
.cab-fight .kicker { color: var(--gold); }
.cab-fight h2 { margin: 0; font: 400 22px/1 var(--display); color: var(--gold); -webkit-text-stroke: 1px var(--line); text-shadow: 0 3px 0 var(--red); }
.cab-fight .facts li { background: var(--panel-2); color: var(--ink); }
.cab-fight .play { font-family: var(--display); font-size: 18px; background: linear-gradient(#ff5a4a, #c8402b); color: #fff; box-shadow: 0 4px 0 var(--line), 0 2px 0 rgba(255,255,255,.35) inset; }
.sprite { position: absolute; bottom: 9%; height: 74%; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(0,0,0,.45)); animation: bob 1.1s ease-in-out infinite; }
.sprite.l { left: 12%; }
.sprite.r { right: 12%; transform: scaleX(-1); animation-name: bobR; animation-delay: -.55s; }
@keyframes bob { 50% { translate: 0 3px; scale: 1 .985; } }
@keyframes bobR { 50% { translate: 0 3px; } }
.vs { position: absolute; left: 50%; top: 40%; translate: -50% -50%; font: 400 clamp(26px, 5vw, 42px) var(--display); color: var(--gold); -webkit-text-stroke: 2px var(--line); text-shadow: 0 4px 0 var(--red); }
.hud { position: absolute; top: 7%; left: 5%; right: 5%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.hud .bar { height: 10px; border: 2px solid var(--line); background: #3a0f12; border-radius: 3px; overflow: hidden; }
.hud .bar i { display: block; height: 100%; background: var(--gold); }
.hud .bar.r i { margin-left: auto; }
.hud .t { font: 400 14px var(--display); color: #fff; }
.names { position: absolute; bottom: 3%; left: 6%; right: 6%; display: flex; justify-content: space-between; font: 400 12px var(--display); color: #fff; text-shadow: 0 2px 0 var(--line); }

/* Cabinet 2: Ride the Chart, in its own trading-terminal look */
.cab-ride { background: #0d0f14; box-shadow: 0 0 0 1px #2a2f3a inset, 0 10px 0 var(--line); font-family: var(--grotesk); }
.cab-ride .kicker { color: var(--btc); font-family: var(--mono); }
/* Ride the Chart logo, matching the game menu: heavy mono, CHART in the crash red, glowing and tipped */
.cab-ride h2 { margin: 0; font: 800 26px/1 var(--mono); letter-spacing: -.04em; color: #fff; gap: .28em; }
.cab-ride h2 .chart { color: var(--down); text-shadow: 0 0 18px rgba(255,61,113,.65); transform: translateY(.14em) rotate(4deg); display: inline-block; }
.cab-ride p { font-family: var(--grotesk); }
.cab-ride .facts li { background: #171b24; color: #dfe5ef; font-family: var(--mono); font-size: 11px; }
.cab-ride .play { font: 800 18px var(--mono); background: var(--btc); color: #1d0f00; box-shadow: 0 4px 0 var(--line); text-transform: uppercase; letter-spacing: .04em; }
.ticker { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; font: 500 11px var(--mono); color: #9aa6b8; pointer-events: none; }
.ticker b { color: #fff; font-weight: 800; }
.ticker .chg.up { color: var(--up); } .ticker .chg.down { color: var(--down); }

footer.site { display: grid; gap: 6px; text-align: center; color: var(--muted); font-size: 12px; padding-top: 4px; }
footer.site a { color: var(--ink); }

@media (max-width: 760px) {
  .today { grid-template-columns: 1fr; }
  .today-head { padding: 4px 6px; }
}
@media (prefers-reduced-motion: reduce) { .sprite { animation: none; } }

/* Cabinet 3: 51% Attack, in its own neon network look */
.cab-51 { --teal: #19e6b0; --vio: #9b5cff; --red51: #ff3d5a; background: #08070f; box-shadow: 0 0 0 1px #2b2346 inset, 0 10px 0 var(--line); font-family: var(--grotesk); }
.cab-51 .screen { background: #05040a; }
.cab-51 .kicker { color: var(--teal); font-family: var(--mono); }
.cab-51 h2 { margin: 0; gap: .3em; font: 700 30px/1 'Chakra Petch', 'Arial Narrow', system-ui, sans-serif; }
.cab-51 h2 .n51 { color: #fff; text-shadow: 0 0 18px rgba(155,92,255,.7); }
.cab-51 h2 .atk { color: var(--red51); font-size: .62em; letter-spacing: .14em; text-shadow: 0 0 14px rgba(255,61,90,.75); }
.cab-51 .facts li { background: #15122a; color: #dcd6f5; font-family: var(--mono); font-size: 11px; }
.cab-51 .play { font: 800 18px var(--mono); letter-spacing: .04em; background: var(--teal); color: #03140f; box-shadow: 0 4px 0 var(--line), 0 0 18px rgba(25,230,176,.25); }
.cab-lambo { --lp: #ff2e97; --lc: #2de2e6; background: #0d0221; box-shadow: 0 0 0 1px #3a1a66 inset, 0 10px 0 var(--line); font-family: var(--grotesk); }
.cab-lambo .screen { background: #0d0221; }
.cab-lambo .kicker { color: var(--lc); font-family: var(--mono); }
.cab-lambo h2 { margin: 0; gap: .22em; font: 400 29px/1 'Monoton', 'Arial Black', system-ui, sans-serif; white-space: nowrap; }
.cab-lambo h2 span { color: var(--lp); text-shadow: 0 0 14px rgba(255,46,151,.8); }
.cab-lambo h2 em { font-style: normal; color: var(--lc); text-shadow: 0 0 14px rgba(45,226,230,.8); }
.cab-lambo .facts li { background: #1d0b3d; color: #f6e7ff; font-family: var(--mono); font-size: 11px; }
.cab-lambo .play { font: 800 18px var(--mono); letter-spacing: .04em; background: #ffd319; color: #0d0221; box-shadow: 0 4px 0 var(--line), 0 0 18px rgba(255,211,25,.35); }

/* Cabinet: Doge Moon Crash, comic and loud */
.cab-doge { background: #0b0a24; box-shadow: 0 0 0 1px #2c2a66 inset, 0 10px 0 var(--line); font-family: 'Comic Neue', 'Comic Sans MS', cursive; }
.cab-doge .screen { background: #07061a; }
.cab-doge .dm-hud { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; justify-content: space-between; font: 400 11px 'Bungee', sans-serif; color: #fff; text-shadow: 1px 1px 0 #000; pointer-events: none; }
.cab-doge .dm-hud b { color: #ffc93c; font-weight: 400; }
.cab-doge .kicker { color: #3dff9b; }
.cab-doge h2 { margin: 0; gap: .3em; font: 400 22px/1 'Bungee', 'Arial Black', system-ui, sans-serif; white-space: nowrap; transform: rotate(-1.5deg); }
.cab-doge h2 span { color: #ffc93c; text-shadow: 2px 2px 0 #000; }
.cab-doge h2 em { font-style: normal; color: #fff; text-shadow: 2px 2px 0 #000; }
.cab-doge p { font-weight: 700; }
.cab-doge .facts li { background: #1c1a47; color: #fff; font-weight: 700; }
.cab-doge .best { font-weight: 700; }
.cab-doge .play { font: 400 18px 'Bungee', sans-serif; background: #ffc93c; color: #1b1200; box-shadow: 0 4px 0 var(--line); }
/* Cabinet: Sui Swell, a sunset surf contest */
.cab-sui { background: #04163a; box-shadow: 0 0 0 1px #1c4a9c inset, 0 10px 0 var(--line); font-family: var(--grotesk); }
.cab-sui .screen { background: #0b3a9a; }
.cab-sui .sw-hud { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; justify-content: space-between; font: 400 11px 'Bungee', sans-serif; color: #fff; text-shadow: 1px 1px 0 #1b0b4a; pointer-events: none; }
.cab-sui .sw-hud b { color: #ffe14a; font-weight: 400; }
.cab-sui .kicker { color: #7df3ff; font-family: var(--mono); }
.cab-sui h2 { margin: 0; gap: .22em; font: 400 30px/1.1 'Pacifico', 'Brush Script MT', cursive; white-space: nowrap; transform: rotate(-2deg); transform-origin: left center; }
.cab-sui h2 span { color: #fff35c; text-shadow: 2px 3px 0 #1b0b4a; }
.cab-sui h2 em { font-style: normal; color: #ff4fa3; text-shadow: 2px 3px 0 #1b0b4a; }
.cab-sui .facts li { background: #0d2f73; color: #e6f4ff; font-family: var(--mono); font-size: 11px; }
.cab-sui .play { font: 400 18px 'Bungee', sans-serif; background: #ffe14a; color: #3a1500; box-shadow: 0 4px 0 var(--line); }
.lam-hud { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; font: 500 10px var(--mono); color: #d9c8ff; letter-spacing: .08em; pointer-events: none; text-shadow: 0 1px 2px #000; }
.lam-hud b { color: #fff; font-weight: 800; }
.cons { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; font: 500 10px var(--mono); color: #9b93b8; letter-spacing: .06em; pointer-events: none; }
.cons-bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(25,230,176,.22); overflow: hidden; }
.cons-bar i { position: absolute; inset: 0 auto 0 0; width: 20%; background: #ff3d5a; box-shadow: 0 0 8px #ff3d5a; }
.cons-bar em { position: absolute; top: -2px; bottom: -2px; left: 51%; width: 2px; background: #fff; opacity: .7; }
.cons b { color: #fff; font-weight: 800; min-width: 3ch; text-align: right; }

/* Dust Bin: rejected game ideas, still playable. Faded, a little crooked, like something you threw out. */
.dustbin { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 2px dashed #34304a; background: repeating-linear-gradient(-45deg, #0f0d17 0 10px, #121019 10px 20px); }
.bin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.bin-head h3 { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 400 18px var(--display); color: #8f89a6; letter-spacing: .04em; }
.bin-ic { width: 20px; height: 20px; }
.bin-head span { font-size: 13px; color: var(--muted); }
.bin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.binned { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid #2c2540;
  text-decoration: none; color: inherit; transform: rotate(-1.2deg); filter: grayscale(.55) brightness(.9); transition: filter .2s, transform .2s; }
.binned:nth-child(even) { transform: rotate(1deg); }
.binned:hover, .binned:focus-visible { filter: none; transform: rotate(0); }
.binned:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bin-art { position: relative; height: 72px; border-radius: 8px; background: #1b1726; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; }
.bin-art img { height: 88%; width: auto; image-rendering: pixelated; margin: 0 -2px; }
.bin-art img + img { transform: scaleX(-1); }
.bin-rap { height: 84px; background: radial-gradient(ellipse at 30% 40%, #2a2240 0%, #120f1c 70%); }
.bin-rap img { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; margin: 0; }
.bin-shot { height: 84px; }
.bin-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; image-rendering: auto; }
.bin-pop { position: absolute; left: 50%; top: 22%; transform: translateX(-28%) rotate(-4deg); font: 400 15px var(--display); font-style: normal; color: #ff4d4d; -webkit-text-stroke: 1px var(--line); text-shadow: 0 2px 0 var(--line); white-space: nowrap; }
.bin-txt b { display: block; font-size: 15px; }
.bin-txt span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bin-txt em { display: block; margin-top: 6px; font: 700 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #ff6b6b; font-style: normal; }
@media (prefers-reduced-motion: reduce) { .binned { transition: none; } }

/* Real-page additions */
a { color: inherit; }
.marquee { display: grid; gap: 0; }
.cab .screen { display: block; text-decoration: none; }
.play { text-decoration: none; }
.daily > span { min-width: 0; }
.daily:hover, .daily:focus-visible { background: #2a2340; }
.daily:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.dot-fight { background: var(--gold); }
.dot-ride { background: var(--down); }
.cab:hover .play { filter: brightness(1.08); }
.play:active { translate: 0 2px; }
.more { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.more a { color: var(--ink); }
