/* /between-games on hamdouchi.com: what this site adds around the copied betweengames.app story
   (public/css/between-games/between-games.css, made by scripts/between-games-copy.sh). Written
   here, not copied: the site's menu behaves as on every other app page, and the store badges link
   once the admin Portfolio page has a store URL. */

/* ── The header while the story plays: slim and see-through ───────────────── */
body.bg-page .nav-inner, body.bg-page .nav-links { transition: height .35s ease; }
body.bg-page .nav-logo img { transition: height .35s ease; }
body.bg-page.bg-immersive .nav {
    background: color-mix(in srgb, var(--white) 55%, transparent);
    border-bottom-color: transparent;
}
/* Only the desktop bar shrinks: on phones the menu is a drawer sized from --nav-h. */
@media (min-width: 769px) {
    body.bg-page.bg-immersive .nav { --nav-h: 50px; }
    body.bg-page.bg-immersive .nav-logo img { height: 34px !important; }
    body.bg-page.bg-immersive .nav-links a:not(.nav-cta) { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
    body.bg-page .nav-inner, body.bg-page .nav-links, body.bg-page .nav-logo img { transition: none; }
}

/* ── Store badges, once the Portfolio row has a link ──────────────────────── */
.bg-badge {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px;
    border-radius: 12px; background: #000; color: #fff !important; border: 1px solid #000; text-decoration: none;
    font: 600 1.05rem/1.1 var(--bg-body); transition: transform .2s, box-shadow .2s;
}
.bg-badge svg { width: 22px; height: 26px; flex: none; }
.bg-badge span { display: flex; flex-direction: column; }
.bg-badge small { font-size: .68rem; font-weight: 500; letter-spacing: .01em; }
.bg-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.bg-badge:focus-visible { outline: 3px solid var(--bg-red); outline-offset: 3px; }
@media (prefers-color-scheme: dark) {
    .bg-badge { border-color: rgba(255, 255, 255, .35); }
}
@media (prefers-reduced-motion: reduce) {
    .bg-badge { transition: none; }
    .bg-badge:hover { transform: none; }
}
