/* popular.css — the welcome page's "Most popular" section (owner, 2026-11-21: "Can u add a section of the most popular
 * games?"; "just say Most Popular Games. also add somewhere that these games are for adults and kids as well"): six games as cards, each with its rank, its mark, its kind and players, a line about it, and a way in. */
.popular{padding-top:88px;padding-bottom:24px}
.popular h2{font-size:clamp(32px,3.6vw,52px)}
.pop-sub{margin-top:12px;font-size:18px;color:var(--muted)}
.pops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:40px}
/* a column for each kind (owner, 2026-11-22: "put the cards game in the first column, board/dice in the 2nd, party games
   on the 3rd"): the cards come card, card, board, board, party, party and fill the grid down each column */
.pops{grid-template-rows:repeat(2,auto);grid-auto-flow:column}
.pop{position:relative;display:flex;flex-direction:column;gap:6px;padding:26px 24px 22px;border-radius:18px;text-decoration:none;color:var(--ink-strong);
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,0) 55%),var(--surface);border:1px solid var(--line);overflow:hidden;
  transition:transform .2s,border-color .2s,box-shadow .2s}
.pop:hover{transform:translateY(-4px);border-color:rgba(201,164,92,.6);box-shadow:0 18px 40px rgba(0,0,0,.35);color:var(--ink-strong)}
.pop:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.pop-rank{position:absolute;top:14px;right:20px;font-family:var(--display);font-weight:600;font-size:64px;line-height:1;color:rgba(201,164,92,.16)}
.pop-mark{width:44px;height:44px;margin-bottom:10px;fill:var(--gold)}
.pop-mark .cut{fill:none;stroke:var(--surface);stroke-width:1.8;stroke-linecap:round}
.pop-red .pop-mark{fill:#e0564a} .pop-green .pop-mark{fill:#3fa37a} .pop-violet .pop-mark{fill:#a08cf0}
.pop-kind{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}
.pop-name{font-family:var(--display);font-weight:600;font-size:30px;line-height:1.1}
.pop-orig{margin-top:-4px;font-size:14px;color:var(--muted)}
.pop-line{margin-top:4px;font-size:15px;color:var(--muted);flex:1}
.pop-go{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gold)}
.pop-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.pop:hover .pop-go svg{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){.pop,.pop-go svg{transition:none}.pop:hover{transform:none}}
@media (max-width:900px){.pops{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row}}
@media (max-width:560px){.pops{grid-template-columns:minmax(0,1fr)}.popular{padding-top:64px}}
/* two of each kind since 2026-11-22: no rank numbers; a die's pips and a hand cut out of their mark */
.pop-mark .pip{fill:var(--surface)}
.pop-mark .stroke{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
