/* Launcher shelf: charcoal table, gold rim, one vignette per game that flips to its card back on hover. */
:root { --bg: #14161c; --surface: #1d2027; --surface-2: #272b34; --ink: #f1ede4; --ink-2: #a3a09a; --line: #343945; --accent: #d4a545; --accent-ink: #1a1208; --font-display: "Marcellus", Georgia, serif; --font-ui: "Nunito Sans", system-ui, sans-serif; }
:root[data-theme="light"] { --bg: #efe9dd; --surface: #fffaf1; --surface-2: #e6dfd0; --ink: #1c1a17; --ink-2: #6b665d; --line: #d6cdbd; --accent: #9a6b1e; --accent-ink: #fff; }
body { background: var(--bg); background-image: radial-gradient(ellipse at 50% -20%, #2a2620 0%, transparent 55%), repeating-linear-gradient(90deg, transparent 0 46px, rgb(255 255 255 / .012) 46px 48px); min-height: 100dvh; }
.wrap { max-width: 1080px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) var(--gutter) max(40px, env(safe-area-inset-bottom)); }
header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 8.5vw, 4.2rem); letter-spacing: .06em; line-height: .98; color: var(--accent); text-shadow: 0 2px 0 rgb(0 0 0 / .4), 0 0 40px rgb(212 165 69 / .25); }
h1 small { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; color: var(--ink-2); letter-spacing: 0; text-transform: none; text-shadow: none; margin-top: 10px; }
.shelf { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .shelf { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .shelf { grid-template-columns: repeat(3, 1fr); gap: 18px; } .card:first-child { grid-column: span 2; } .card:first-child .art { height: 180px; } }
.card { --c: var(--accent); position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px color-mix(in oklab, var(--c) 30%, transparent), 0 10px 30px rgb(0 0 0 / .45); color: inherit; text-decoration: none; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); min-height: 220px; }
a.card:hover, a.card:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--c), 0 0 34px color-mix(in oklab, var(--c) 40%, transparent), 0 16px 40px rgb(0 0 0 / .5); }
a.card:active { transform: translateY(0) scale(.99); }
.art { height: 140px; position: relative; overflow: hidden; background: var(--art, #000); perspective: 900px; }
.art img, .art svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art .sheen { position: absolute; inset: 0; background: linear-gradient(160deg, rgb(255 255 255 / .10) 0%, transparent 40%, rgb(0 0 0 / .25) 100%); pointer-events: none; }
/* the peek card: a small card back in the corner that flips to reveal the game's face design on hover */
.peek { position: absolute; right: 14px; bottom: 12px; width: 44px; height: 62px; transform-style: preserve-3d; transition: transform var(--t-slow) var(--ease-out); filter: drop-shadow(0 6px 10px rgb(0 0 0 / .5)); }
.peek > * { position: absolute; inset: 0; border-radius: 5px; backface-visibility: hidden; background-size: cover; }
.peek .front { transform: rotateY(180deg); background: #f6f1e6; }
a.card:hover .peek, a.card:focus-visible .peek { transform: rotateY(180deg); }
.body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em; color: var(--c); }
.desc { color: var(--ink-2); font-size: .92rem; line-height: 1.4; }
.meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--ink-2); padding-top: 8px; }
.best b { color: var(--ink); font-family: var(--font-display); }
.tag { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in oklab, var(--c) 18%, transparent); color: var(--c); font-weight: 700; }
.card[data-status="soon"] { opacity: .55; filter: saturate(.5); pointer-events: none; }
.card[data-status="soon"] .tag { background: var(--surface-2); color: var(--ink-2); }
.players { display: inline-flex; gap: 3px; } .players i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .35; } .players i.on { opacity: 1; }
footer { margin-top: 36px; color: var(--ink-2); font-size: .82rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .peek { transition: none; } }
