/* Games page: each game is a polaroid with tape next to its description. Card colours are fixed so they look the same in dark mode. */
.gms section { padding-block: 64px 72px; }
.game-list { display: grid; gap: 72px; }
.game-card { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.game-card.flip .game-pol { order: 2; rotate: 2deg; }
.game-pol { position: relative; display: block; padding: 14px 14px 0; background: #fff; color: #0a0f2e; border-radius: 4px; rotate: -2deg; box-shadow: 0 18px 40px rgba(10,15,46,0.22), 0 0 0 1px rgba(10,15,46,0.06); transition: rotate .3s, translate .3s; }
.game-pol:hover { rotate: 0deg; translate: 0 -4px; color: #0a0f2e; }
.game-pol img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 2px; }
.game-pol .hand { display: block; padding: 12px 4px 16px; font-size: 1.8rem; line-height: 1; text-align: center; }
.game-pol .tape { position: absolute; top: -14px; width: 100px; height: 30px; background: rgba(42,236,113,0.7); z-index: 2; }
.game-card.flip .game-pol .tape { background: rgba(26,62,236,0.6); }
.game-pol .tape.t1 { left: 30px; transform: rotate(-6deg); } .game-pol .tape.t2 { right: 30px; transform: rotate(5deg); }
.game-info .sticker { display: inline-block; padding: 6px 12px; border-radius: 8px; rotate: -2.5deg; background: var(--green); color: var(--navy); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.game-card.flip .game-info .sticker { background: var(--blue); color: #fff; }
.game-info h2 { margin-top: 14px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.game-tags li { padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 700; color: var(--fg); }
.game-info p { margin-top: 16px; color: var(--muted); }
.game-info .game-how { font-size: 0.93rem; padding-left: 14px; border-left: 3px solid var(--green); }
.game-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.game-btns .btn { display: inline-flex; gap: 8px; }
.game-ghost { color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.game-ghost:hover { color: var(--fg); box-shadow: inset 0 0 0 2px var(--link); }
.gms-more { margin-top: 72px; text-align: center; color: var(--muted); }
@media (max-width: 820px) {
  .gms section { padding-block: 48px 56px; }
  .game-list { gap: 56px; }
  .game-card { grid-template-columns: 1fr; gap: 28px; }
  .game-card.flip .game-pol { order: 0; }
  .game-pol { max-width: 440px; }
}
.game-card.flip .game-pol img { aspect-ratio: auto; }
