body { background:#fce6ef; background-image:radial-gradient(ellipse at top,#fff7d1,transparent 65%); }
.games-hub { max-width:1220px; margin:auto; padding:24px clamp(16px,4vw,48px) 48px; }
.hub-home { width:fit-content; min-height:48px; }
.hub-heading { text-align:center; margin:12px 0 34px; }
.hub-heading p { margin:8px 0; font-size:1.15rem; }
.hub-heading p:first-child { color:#a02e76; font-weight:800; }
.hub-heading h1 { margin:12px 0 18px; }
.games-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.game-card { display:block; overflow:hidden; color:inherit; text-decoration:none; border:4px solid #9f64a6; border-radius:30px; background:#fff9ed; box-shadow:0 7px 0 #b781ae; }
.card-picture { display:flex; justify-content:center; height:225px; overflow:hidden; background:#f7d3e9; border-bottom:4px solid #9f64a6; }
.modas .card-picture { background:#f6dbec; }
.card-picture img { width:100%; height:100%; object-fit:cover; object-position:center; }
.card-copy { padding:16px 20px 20px; }
.card-copy h2 { font-size:1.8rem; line-height:1.2; margin:0 0 8px; }
.card-copy p { font-size:1.05rem; line-height:1.4; margin:0 0 18px; min-height:3em; }
.card-play { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:8px 16px; border:3px solid #793e83; border-radius:20px; background:#ffe491; font-weight:800; box-shadow:inset 0 3px 0 #fff6cf; }
.game-card:focus-visible { outline-offset:7px; }
@media(hover:hover) { .game-card:hover .card-play { background:#ffc9e6; } }
@media(max-width:950px) { .games-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) {
  .games-hub { padding-top:16px; }
  .games-grid { grid-template-columns:1fr; gap:24px; }
  .hub-heading { margin:22px 0 26px; }
  .hub-heading h1 { font-size:2.7rem; }
  .hub-heading p { font-size:1rem; }
  .card-picture { height:215px; }
  .card-copy p { min-height:0; }
}
.card-picture canvas { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.game-bubble { position:fixed; width:96px; height:96px; border-radius:50%; z-index:10050; transform:translate(-50%,-50%) scale(.01); background:radial-gradient(circle at 32% 21%,#fff7dc,#ffd8de 52%,#d4baf4 90%); }
