/* Mesma identidade do Não Vivo Sem: papel creme, contorno de tinta, sombra dura, cores chapadas. */
:root { --bg: #f3ecd9; --card: #fffaf0; --ink: #17120b; --muted: #6b6254; --gold: #ffd23f; --red: #ff5a36; --blue: #2b59ff; --r: 10px; }
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

.head { padding-top: calc(36px + env(safe-area-inset-top)); padding-bottom: 24px; }
.kicker { margin: 0; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; }
h1 { margin: 4px 0 8px; font-size: clamp(3.4rem, 14vw, 6.5rem); line-height: 0.9; letter-spacing: -0.05em; font-weight: 900; text-shadow: 5px 5px 0 var(--gold); transform: rotate(-2deg); transform-origin: left bottom; }
.lead { margin: 18px 0 0; max-width: 40ch; font-size: 1.15rem; color: var(--muted); }
.how { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.how li { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px 4px 6px; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.how b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 0.8rem; }

.grid { display: grid; gap: 22px; padding-top: 12px; padding-bottom: 28px; grid-template-columns: 1fr; }
.c-red { --c: #ff5a36; }
.c-yellow { --c: #ffd23f; }
.c-blue { --c: #2b59ff; }
.c-green { --c: #19a974; }
.game { background: var(--card); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.cover { background: var(--c); border-bottom: 3px solid var(--ink); display: grid; place-items: center; padding: 22px; }
.cover svg { width: 120px; height: 120px; display: block; }
.body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
h2 { margin: 0; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.body p { margin: 0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 0.82rem; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; margin-top: auto; text-decoration: none; font-weight: 900; text-align: center; background: var(--gold); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r); padding: 13px 20px; box-shadow: 0 4px 0 var(--ink); transition: transform 0.06s, box-shadow 0.06s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn.ghost { background: #fff; }
.game .btn:only-child, .game > .body > .btn { align-self: flex-start; }

.game.soon { background: transparent; border-style: dashed; box-shadow: none; justify-content: center; min-height: 200px; }
.game.soon .body { justify-content: center; align-items: flex-start; }
.stamp { display: inline-block; border: 3px solid var(--ink); border-radius: 6px; padding: 2px 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; transform: rotate(-4deg); background: var(--gold); }

.foot { padding-bottom: calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.9rem; }
.foot p { margin: 0; max-width: 60ch; }

@media (min-width: 760px) {
  .grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .game.soon { grid-column: 1 / -1; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
