/* Shared look for the public games pages. Matches the landing page's space theme. */
:root { --sky: #060a1f; --ink: #f4f6ff; --muted: #9fb3d9; --glow: #8be9ff; --sun: #ffd166; --pink: #ff7ab6; --mint: #7bffb8; --panel: rgba(255,255,255,.06); --line: rgba(255,255,255,.14); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(1200px 800px at 70% -10%, #1a2a6c 0%, var(--sky) 55%, #02040f 100%) fixed; color: var(--ink); font-family: "Fredoka", -apple-system, "Segoe UI", sans-serif; }
a { color: var(--glow); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; position: relative; z-index: 6; } /* above every game's pop-ups, so you can always leave */
.top a { color: var(--muted); text-decoration: none; font-size: 15px; background: rgba(0,0,0,.3); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.top a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.wrap { max-width: 980px; margin: 0 auto; padding: 10px 18px 60px; text-align: center; }
h1 { font-size: clamp(36px, 7vw, 64px); margin: 10px 0 6px; line-height: 1.05; font-weight: 700;
     background: linear-gradient(180deg, #fff 0%, var(--glow) 60%, #4cc9f0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
     filter: drop-shadow(0 4px 0 rgba(0,0,0,.35)); }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.btn { font: inherit; font-weight: 600; color: #0b1020; background: linear-gradient(180deg, #fff, var(--glow)); border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
a.btn { display: inline-block; text-decoration: none; }
.btn.ghost { background: var(--panel); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost.on { background: rgba(139,233,255,.2); border-color: var(--glow); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; text-align: left; }
.card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-decoration: none; color: var(--ink); transition: transform .12s, border-color .12s; }
.card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.35); }
.card .icon { font-size: 44px; }
.card h2 { margin: 8px 0 4px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card.soon { opacity: .55; border-style: dashed; cursor: default; }
.card.soon:hover { transform: none; }

/* ---- shared SVG faces / icons ---- */
.face-svg { display: inline-block; vertical-align: middle; }
.btn svg, .top a svg { vertical-align: -3px; margin-right: 6px; }
.top a svg { margin-right: 5px; }
.face { display: grid; place-items: center; }
