/* מסך בחירת המשחק (/games/): קובייה לכל משחק + קובייה של "?" למשחק הבא. כל הקובייה לחיצה. מעל game/style.css */
.games-hero { padding: 26px 0 8px; text-align: center; }
.games-hero h1 { font-size: clamp(40px, 8vw, 72px); line-height: 1; margin: 0 0 14px; font-weight: 900; color: var(--gold); text-shadow: 4px 4px 0 var(--outline); }
.games-hero .lead { font-size: 19px; color: var(--muted); margin: 0 auto; max-width: 42ch; }
.gtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 26px; padding-bottom: 26px; max-width: 980px; }
.gtile { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; color: var(--ink, #fff);
  background: var(--bg-2); border: 4px solid var(--outline); box-shadow: 6px 6px 0 var(--outline); transition: transform .15s, box-shadow .15s; }
a.gtile:hover, a.gtile:focus-visible { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--gold); }
a.gtile:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--outline); }
.gtile-art { position: absolute; inset: 0; display: block; }
.gtile-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gtile-txt { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: 44px 16px 16px;
  background: linear-gradient(to top, rgba(10, 6, 9, .95) 55%, rgba(10, 6, 9, 0)); }
.gtile-k { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.gtile-txt b { font-size: clamp(19px, 2.6vw, 26px); line-height: 1.15; color: #fff; }
.gtile-s { font-size: 15px; color: #e9dfe4; line-height: 1.35; }
.gtile-q { background: repeating-linear-gradient(45deg, var(--bg-2) 0 14px, rgba(255, 255, 255, .04) 14px 28px); }
.gtile-q .gtile-art { display: grid; place-items: center; padding-bottom: 30%; }
.gtile-mark { font-size: clamp(70px, 13vw, 150px); font-weight: 900; line-height: 1; color: var(--gold); text-shadow: 5px 5px 0 var(--outline); animation: gq 2.4s ease-in-out infinite; }
.gtile-q .gtile-txt { background: none; }
@keyframes gq { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.gcoffee { text-align: center; padding-bottom: 30px; }
@media (max-width: 760px) {
  .gtiles { gap: 10px; padding-top: 18px; }
  .gtile { border-width: 3px; box-shadow: 4px 4px 0 var(--outline); }
  .gtile-txt { padding: 30px 8px 10px; gap: 2px; }
  .gtile-k, .gtile-s { display: none; }
  .gtile-txt b { font-size: 14px; }
  .games-hero { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .gtile, .gtile-mark { transition: none; animation: none; } }
