/* SPDX-License-Identifier: LicenseRef-Arcade-Art-Reserved
 * Copyright (c) 2026 PedroCostinha. All rights reserved. See ../ART-RIGHTS.txt.
 * Collection composition only; does not import or modify either game theme. */
:root { color-scheme: dark; --bg: #121214; --panel: #1b1b1e; --text: #f6f3ed; --muted: #b3b1b7; --red: #ef5261; --line: #414146; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; }
body::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); }
.shell { width: min(1184px, calc(100% - 80px)); margin: auto; }
.masthead { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.brand-mark { display: flex; align-items: center; width: 36px; height: 36px; background: var(--red); color: var(--bg); font-size: 19px; letter-spacing: -5px; padding-left: 5px; transform: skew(-6deg); }
.brand-mark span { transform: translateY(4px); }
.brand-divider { color: var(--red); }
.collection-badge { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 10px/1.5 monospace; letter-spacing: 1px; }
.collection-badge > span { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.intro { padding: 49px 0 43px; }
.eyebrow { color: var(--muted); font: 11px/1.5 monospace; letter-spacing: 1.5px; margin: 0 0 23px; }
.eyebrow > span { color: var(--red); margin-right: 8px; }
.intro-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
h1 { margin: 0; font-size: clamp(46px, 7.2vw, 94px); line-height: .91; font-weight: 900; letter-spacing: -5px; }
h1 > span:not(.title-dot) { color: var(--red); }
.title-dot { color: var(--text); }
.intro-copy { padding: 0 0 3px; flex-shrink: 0; }
.intro-copy p:first-child { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 0 0 14px; }
.intro-copy p:last-child { font-size: 13px; color: var(--muted); margin: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font: 700 11px/1.5 monospace; letter-spacing: 1.3px; }
.section-heading > span { color: var(--muted); font: 10px/1.5 monospace; letter-spacing: 1px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.game-card { border: 1px solid var(--line); background: var(--panel); min-width: 0; transition: border-color .18s ease; }
.game-card:focus-within, .game-card:hover { border-color: var(--red); }
.card-art { position: relative; height: 254px; overflow: hidden; border-bottom: 1px solid var(--line); background-color: #242024; background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 28px 28px; }
.barrel .card-art { background-color: #302126; }
.snake .card-art { background-color: #23232a; }
.art-label { position: absolute; z-index: 2; top: 20px; left: 24px; right: 24px; display: flex; justify-content: space-between; color: #d6c1c5; font: 10px/1.5 monospace; letter-spacing: 1px; }
.art-label > span:last-child { font-size: 19px; line-height: 1; }
.portrait-stage { position: absolute; inset: 25px 0 17px; display: flex; align-items: center; justify-content: center; }
.portrait { display: block; object-fit: contain; image-rendering: pixelated; position: relative; z-index: 1; }
.ember { width: 144px; height: 180px; }
.nib { width: 180px; height: 180px; }
.character-label { position: absolute; z-index: 2; bottom: 20px; left: 24px; display: grid; gap: 5px; }
.character-label span { font: 9px/1.5 monospace; letter-spacing: 1.5px; color: #c8b9bd; }
.character-label strong { font: 700 12px/1.4 monospace; letter-spacing: 1px; }
.art-index { position: absolute; right: 18px; bottom: 7px; color: #ffffff0a; font-size: 94px; font-weight: 900; line-height: 1; letter-spacing: -8px; }
.platforms { position: absolute; inset: 45px -20px 0; opacity: .45; transform: rotate(-9deg); }
.platforms i { display: block; height: 12px; background: #96505a; border-bottom: 4px solid #171418; margin-top: 46px; }
.platforms i:nth-child(2) { margin-left: 70%; }
.snake-trail { position: absolute; left: 14%; top: 100px; width: 76%; height: 96px; opacity: .27; }
.snake-trail i { position: absolute; width: 26px; height: 26px; border: 2px solid #c5687a; background: #642b3b; }
.snake-trail i:nth-child(2) { top: 28px; }.snake-trail i:nth-child(3) { top: 56px; }.snake-trail i:nth-child(4) { top: 56px; left: 28px; }.snake-trail i:nth-child(5) { top: 56px; left: 56px; }
.card-copy { padding: 26px 28px 24px; }
.game-type { font: 10px/1.5 monospace; letter-spacing: 1px; color: var(--red); margin: 0 0 10px; }
h3 { margin: 0 0 12px; font-size: 31px; letter-spacing: -1px; line-height: 1.1; }
.description { margin: 0; max-width: 42ch; min-height: 44px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.game-meta { display: flex; gap: 16px; margin: 21px 0; color: #cdcbd0; font: 10px/1.5 monospace; }
.game-meta span + span::before { content: "/"; color: #a09da6; margin-right: 16px; }
.play-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 14px 17px; background: var(--red); color: #141416; text-decoration: none; font-size: 13px; line-height: 1.4; font-weight: 800; transition: background .18s ease; }
.play-link:hover { background: #ff7b87; }
.play-link > span:last-child { font-size: 20px; line-height: 1; }
:focus-visible { outline: 3px solid #fff2be; outline-offset: 5px; }
.input-note { margin: 22px 0 34px; text-align: center; font-size: 11px; line-height: 1.6; color: var(--muted); }
.input-note > span { color: var(--text); margin-right: 6px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 0; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font: 9px/1.7 monospace; letter-spacing: .4px; }
footer p:first-child span { display: block; color: #d6d2d8; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px; background: var(--text); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .intro-copy p:first-child { font-size: 18px; }
  .intro-copy p:last-child { max-width: 22ch; line-height: 1.5; }
  h1 { letter-spacing: -3px; }
  .card-copy { padding: 24px; }
  .description { min-height: 68px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 76px; gap: 8px; }
  .brand { gap: 7px; font-size: 8px; letter-spacing: .6px; }
  .brand-mark { width: 29px; height: 29px; font-size: 16px; }
  .collection-badge { font-size: 8px; letter-spacing: .3px; gap: 5px; }
  .intro { padding: 34px 0 30px; }
  .eyebrow { font-size: 8px; letter-spacing: .7px; margin-bottom: 20px; }
  .intro-line { display: block; }
  h1 { font-size: clamp(39px, 10.9vw, 72px); letter-spacing: -2px; }
  .intro-copy { margin-top: 22px; }
  .intro-copy p:first-child { font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
  .intro-copy br { display: none; }
  .intro-copy p:last-child { max-width: none; font-size: 12px; }
  .section-heading h2 { font-size: 9px; letter-spacing: .6px; }
  .section-heading > span { font-size: 8px; letter-spacing: 0; }
  .game-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-art { height: 228px; }
  .card-copy { padding: 24px 20px 20px; }
  .game-type { font-size: 9px; letter-spacing: .6px; }
  .description { min-height: 0; }
  h3 { font-size: 29px; }
  .input-note { max-width: 30ch; margin: 22px auto 28px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .play-link { border: 2px solid LinkText; }
  .game-card { border-color: CanvasText; }
}
