/* Kuwal Store - Games page (gaming theme). Scoped classes: gh-* (hero), gs-* (game sections), gc-* (closing). */

/* ---------- Hero slider ---------- */
.gh { position: relative; overflow: hidden; background: var(--ks-bg); isolation: isolate; }
.gh-stage { position: relative; display: grid; min-height: max(640px, calc(100svh - var(--ks-header-h, 56px))); }
.gh-slide { position: relative; grid-area: 1 / 1; display: flex; align-items: center; padding: var(--ks-s-8) 0 148px; opacity: 0; visibility: hidden; transition: opacity var(--ks-dur-reveal, 820ms) var(--ks-ease, ease), visibility 0s linear var(--ks-dur-reveal, 820ms); }
.gh-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.gh:not(.is-ready) .gh-slide:not(:first-child) { display: none; }

.gh-bg { position: absolute; inset: 0; overflow: hidden; background:
    radial-gradient(90% 70% at 78% 30%, rgba(var(--g-rgb), .32), transparent 60%),
    radial-gradient(70% 60% at 10% 90%, color-mix(in srgb, var(--g-accent2) 22%, transparent), transparent 60%),
    var(--ks-bg); }
.gh-bg__img { position: absolute; left: -20%; top: -20%; width: 140%; height: 140%; max-width: none; object-fit: cover; opacity: .38; filter: blur(48px) saturate(1.2); transform: scale(1.15); }
.gh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 16, 32, .92) 0%, rgba(11, 16, 32, .55) 55%, rgba(11, 16, 32, .25) 100%), linear-gradient(0deg, var(--ks-bg) 0%, transparent 35%); }
.gh-slide.is-noart .gh-bg { background:
    radial-gradient(80% 80% at 75% 35%, color-mix(in srgb, var(--g-accent) 45%, transparent), transparent 62%),
    radial-gradient(70% 70% at 15% 90%, color-mix(in srgb, var(--g-accent2) 30%, transparent), transparent 60%), var(--ks-bg); }
.gh-bg__paw { position: absolute; right: 8%; top: 14%; width: min(46vw, 460px); opacity: .1; transform: rotate(-14deg); }
.gh-bg__paw-svg { width: 100%; height: auto; display: block; }

.gh-tile { position: absolute; z-index: 1; border-radius: 28%; background: linear-gradient(135deg, rgba(var(--g-rgb), .5), color-mix(in srgb, var(--g-accent2) 35%, transparent)); filter: blur(14px); opacity: .5; animation: gh-float 9s ease-in-out infinite; }
.gh-tile--1 { width: 120px; height: 120px; left: 46%; top: 12%; }
.gh-tile--2 { width: 76px; height: 76px; right: 6%; bottom: 30%; animation-delay: -3s; animation-duration: 11s; }
.gh-tile--3 { width: 168px; height: 168px; left: 4%; bottom: 24%; opacity: .28; animation-delay: -6s; animation-duration: 13s; }
@keyframes gh-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(14px, -22px, 0) rotate(10deg); } }

.gh-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: var(--ks-s-7); width: 100%; }
.gh-copy { max-width: 640px; }
.gh-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--ks-s-4); font-size: .8125rem; font-weight: 800; letter-spacing: .16em; color: var(--g-accent); }
.gh-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.gh-title { margin: 0; font-size: clamp(2.75rem, 8.5vw, 6.5rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; color: var(--ks-text); text-wrap: balance; overflow-wrap: anywhere; }
.gh-tagline { margin: var(--ks-s-4) 0 0; font-size: clamp(1.0625rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.4; color: var(--ks-muted); max-width: 32ch; }
.gh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--ks-s-5) 0 0; padding: 0; list-style: none; }
.gh-tags li { padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 700; color: var(--ks-text); background: rgba(255, 255, 255, .07); border: 1px solid rgba(var(--g-rgb), .4); }
.gh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ks-s-3); margin-top: var(--ks-s-6); }
.gh-icon { justify-self: center; width: min(100%, 320px); aspect-ratio: 1; }
.gh-icon img, .gh-icon__fallback { display: block; width: 100%; height: 100%; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 90px rgba(var(--g-rgb), .5), 0 30px 60px rgba(0, 0, 0, .5); }
.gh-icon__fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--g-accent), var(--g-accent2)); }
.gh-icon__paw { width: 52%; height: auto; }
.gh-slide.is-active .gh-icon { animation: gh-pop .9s var(--ks-ease-out, ease-out) both, gh-bob 6s ease-in-out .9s infinite; }
@keyframes gh-pop { from { opacity: 0; transform: scale(.86) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes gh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.gh-slide.is-active .gh-copy > * { animation: gh-rise .8s var(--ks-ease-out, ease-out) both; }
.gh-slide.is-active .gh-copy > :nth-child(2) { animation-delay: .06s; }
.gh-slide.is-active .gh-copy > :nth-child(3) { animation-delay: .12s; }
.gh-slide.is-active .gh-copy > :nth-child(4) { animation-delay: .18s; }
.gh-slide.is-active .gh-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes gh-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Bottom bar */
.gh-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: var(--ks-s-5) 0 var(--ks-s-6); background: linear-gradient(0deg, rgba(11, 16, 32, .85), transparent); }
.gh-bar__in { display: flex; align-items: center; justify-content: center; gap: var(--ks-s-3); }
.gh-thumbs { display: flex; gap: var(--ks-s-3); overflow-x: auto; padding: 8px 4px; scrollbar-width: none; }
.gh-thumbs::-webkit-scrollbar { display: none; }
.gh-thumb { position: relative; flex: none; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 16px; background: transparent; cursor: pointer; opacity: .55; transform: scale(.94); transition: opacity var(--ks-dur-2, 260ms) var(--ks-ease, ease), transform var(--ks-dur-2, 260ms) var(--ks-ease-out, ease-out), box-shadow var(--ks-dur-2, 260ms) var(--ks-ease, ease); }
.gh-thumb::before { content: ""; position: absolute; inset: -6px; } /* 72px hit area */
.gh-thumb img, .gh-thumb__fallback { display: block; width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }
.gh-thumb__fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--g-accent), var(--g-accent2)); }
.gh-thumb__paw { width: 55%; height: auto; }
.gh-thumb:hover { opacity: .9; }
.gh-thumb.is-active { opacity: 1; transform: none; box-shadow: 0 0 0 2px var(--g-accent), 0 0 28px rgba(var(--g-rgb), .55); }
.gh-thumb:focus-visible, .gh-arrow:focus-visible, .gs-rail__btn:focus-visible, .gs-link:focus-visible, .gs-rail:focus-visible { outline: 3px solid var(--ks-focus, #C4B5FD); outline-offset: 3px; }
.gh-thumb__bar { position: absolute; left: 6px; right: 6px; bottom: -10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; opacity: 0; }
.gh-thumb__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--g-accent), var(--g-accent2)); transform: scaleX(0); transform-origin: left; }
.gh-thumb.is-active .gh-thumb__bar { opacity: 1; }
.gh.is-playing .gh-thumb.is-active .gh-thumb__bar::after { animation: gh-progress var(--gh-interval, 6s) linear forwards; }
.gh.is-hold .gh-thumb.is-active .gh-thumb__bar::after { animation-play-state: paused; }
@keyframes gh-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.gh-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ks-border-strong); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--ks-text); cursor: pointer; backdrop-filter: blur(8px); transition: background var(--ks-dur-1, 160ms) var(--ks-ease, ease), transform var(--ks-dur-1, 160ms) var(--ks-ease, ease); }
.gh-arrow:hover { background: rgba(255, 255, 255, .16); }
.gh-arrow:active { transform: scale(.94); }
.gh-arrow .i-play, .gh-arrow[aria-pressed="true"] .i-pause { display: none; }
.gh-arrow[aria-pressed="true"] .i-play { display: block; }

/* ---------- Per-game sections ---------- */
.gs { position: relative; overflow: hidden; padding: var(--ks-s-9) 0; background: var(--ks-bg); isolation: isolate; content-visibility: auto; contain-intrinsic-size: auto 900px; border-top: 1px solid var(--ks-border); scroll-margin-top: var(--ks-header-h, 56px); }
.gs-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(70% 60% at 85% 10%, rgba(var(--g-rgb), .22), transparent 60%), radial-gradient(60% 50% at 5% 100%, color-mix(in srgb, var(--g-accent2) 16%, transparent), transparent 60%); }
.gs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ks-bg) 0%, rgba(11, 16, 32, .55) 30%, rgba(11, 16, 32, .8) 75%, var(--ks-bg) 100%); }
.gs-tile { position: absolute; z-index: 1; border-radius: 28%; background: linear-gradient(135deg, rgba(var(--g-rgb), .45), color-mix(in srgb, var(--g-accent2) 30%, transparent)); filter: blur(16px); opacity: .32; animation: gh-float 12s ease-in-out infinite; }
.gs-tile--1 { width: 140px; height: 140px; right: 8%; top: 12%; }
.gs-tile--2 { width: 90px; height: 90px; left: 3%; bottom: 14%; animation-delay: -5s; }

.gs-inner { position: relative; }
.gs-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--ks-s-7); align-items: center; }
.gs-icon { width: clamp(120px, 18vw, 224px); aspect-ratio: 1; }
.gs-icon img, .gs-icon__fallback { display: block; width: 100%; height: 100%; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 64px rgba(var(--g-rgb), .4), 0 20px 40px rgba(0, 0, 0, .45); }
.gs-icon__fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--g-accent), var(--g-accent2)); }
.gs-icon__paw { width: 52%; height: auto; }
.gs-title { margin: 0; font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ks-text); text-wrap: balance; overflow-wrap: anywhere; }
.gs-tagline { margin: var(--ks-s-3) 0 0; font-size: clamp(1.125rem, 2.4vw, 1.625rem); font-weight: 700; line-height: 1.3; color: var(--g-accent); }
.gs-desc { margin: var(--ks-s-4) 0 0; max-width: 60ch; font-size: 1.0625rem; line-height: 1.65; color: var(--ks-muted); }
.gs-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ks-s-3) var(--ks-s-5); margin-top: var(--ks-s-6); }
.gs-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ks-text); text-decoration: underline; text-decoration-color: rgba(var(--g-rgb), .7); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gs-link:hover { color: var(--g-accent); }

/* Hazard stripe (Cargo Toss) */
.gs[data-game="cargo-toss"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; z-index: 2; background: repeating-linear-gradient(-45deg, #f59e0b 0 14px, #1a1408 14px 28px); opacity: .55; }

/* Feature banner (unobstructed poster) */
.gs-banner { margin: var(--ks-s-8) auto 0; max-width: 960px; border-radius: var(--ks-r-xl, 32px); overflow: hidden; background: var(--ks-surface); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(var(--g-rgb), .3), 0 28px 60px rgba(0, 0, 0, .45); }
.gs-banner img { display: block; width: 100%; height: auto; }

/* Phone-framed screenshot rail */
.gs-rail-wrap { position: relative; margin-top: var(--ks-s-8); }
.gs-rail { display: flex; gap: var(--ks-s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--ks-s-4) var(--ks-s-2) var(--ks-s-5); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: var(--ks-r-lg, 24px); }
.gs-rail::-webkit-scrollbar { display: none; }
.gs-phone { flex: none; width: clamp(200px, 62vw, 270px); margin: 0; scroll-snap-align: center; }
.gs-phone__frame { position: relative; padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #2a3358, #0d1226); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 48px rgba(0, 0, 0, .45), 0 0 40px rgba(var(--g-rgb), .18); transition: transform var(--ks-dur-3, 520ms) var(--ks-ease-out, ease-out), box-shadow var(--ks-dur-3, 520ms) var(--ks-ease-out, ease-out); }
.gs-phone__frame::before { content: ""; position: absolute; z-index: 1; top: 14px; left: 50%; width: 54px; height: 6px; margin-left: -27px; border-radius: 6px; background: rgba(0, 0, 0, .55); }
.gs-phone__frame img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 27px; background: #05070f; }
.gs-phone:hover .gs-phone__frame { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 28px 56px rgba(0, 0, 0, .5), 0 0 56px rgba(var(--g-rgb), .35); }
.gs-rail__btn { display: none; position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; padding: 0; place-items: center; border: 1px solid var(--ks-border-strong); border-radius: 50%; background: rgba(11, 16, 32, .8); color: var(--ks-text); cursor: pointer; backdrop-filter: blur(10px); transition: background var(--ks-dur-1, 160ms) var(--ks-ease, ease), opacity var(--ks-dur-1, 160ms) var(--ks-ease, ease); }
.gs-rail__btn--prev { left: -12px; }
.gs-rail__btn--next { right: -12px; }
.gs-rail__btn:hover { background: rgba(var(--g-rgb), .4); }
.gs-rail__btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .gs-rail__btn { display: grid; } }

/* No-art card (Pawnest Simulator) */
.gs-soon-card { position: relative; overflow: hidden; margin-top: var(--ks-s-8); padding: var(--ks-s-8) var(--ks-s-6); border-radius: var(--ks-r-xl, 32px); text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--g-accent) 55%, #0B1020), color-mix(in srgb, var(--g-accent2) 40%, #0B1020)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(var(--g-rgb), .3); }
.gs-soon-card__paw { display: block; width: 96px; margin: 0 auto var(--ks-s-4); opacity: .9; }
.gs-soon-card__paw-svg { width: 100%; height: auto; display: block; }
.gs-soon-card__big { margin: 0; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.gs-soon-card__text { margin: var(--ks-s-2) auto 0; max-width: 42ch; color: rgba(255, 255, 255, .8); line-height: 1.55; }
.gs.is-noart .gs-bg { background: radial-gradient(70% 60% at 85% 10%, color-mix(in srgb, var(--g-accent) 28%, transparent), transparent 60%), radial-gradient(60% 50% at 5% 100%, color-mix(in srgb, var(--g-accent2) 18%, transparent), transparent 60%); }

/* ---------- Closing band ---------- */
.gc { position: relative; overflow: hidden; padding: var(--ks-s-9) 0; border-top: 1px solid var(--ks-border); background: radial-gradient(60% 80% at 80% 0%, rgba(139, 92, 246, .22), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(20, 184, 166, .14), transparent 60%), var(--ks-bg); content-visibility: auto; contain-intrinsic-size: auto 560px; }
.gc-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--ks-s-8); align-items: center; }
.gc .gh-eyebrow { color: #C4B5FD; }
.gc-title { margin: 0; font-size: clamp(2.25rem, 6vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; background: linear-gradient(90deg, #3b82f6, #8b5cf6, #14b8a6, #f59e0b, #f4726a); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.gc-text { margin: var(--ks-s-4) 0 0; max-width: 52ch; font-size: 1.0625rem; line-height: 1.65; color: var(--ks-muted); }
.gc-card { padding: var(--ks-s-7); border-radius: var(--ks-r-xl, 32px); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--ks-border-strong); box-shadow: 0 0 60px rgba(139, 92, 246, .16); }
.gc-card__title { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--ks-text); }
.gc-card__text { margin: var(--ks-s-2) 0 var(--ks-s-5); color: var(--ks-muted); line-height: 1.6; }
.gc-card__actions { display: flex; flex-direction: column; gap: var(--ks-s-3); }
.gc-card__actions .ks-btn { justify-content: center; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) and (max-width: 860px) {
    .gh-inner { grid-template-columns: minmax(0, 1fr) 140px; }
    .gh-icon { order: 0; width: 140px; justify-self: end; }
}
@media (max-width: 860px) {
    .gh-inner { grid-template-columns: 1fr; gap: var(--ks-s-5); }
    .gh-slide { padding: var(--ks-s-6) 0 132px; align-items: flex-start; }
    .gh-bg::after { background: linear-gradient(180deg, rgba(11, 16, 32, .55) 0%, rgba(11, 16, 32, .85) 100%); }
    .gh-tagline { max-width: none; }
    .gc-inner { grid-template-columns: 1fr; gap: var(--ks-s-6); }
}
@media (max-width: 767px) {
    .gh-inner { grid-template-columns: 1fr; }
    .gh-icon { order: -1; width: 96px; justify-self: start; }
}
@media (max-width: 640px) {
    .gs { padding: var(--ks-s-8) 0; }
    .gs-head { grid-template-columns: 1fr; gap: var(--ks-s-5); }
    .gs-icon { width: 112px; }
    .gh-arrow[data-gh-prev], .gh-arrow[data-gh-next] { display: none; }
    .gh-thumb { width: 52px; height: 52px; }
    .gc-card { padding: var(--ks-s-5); }
    .gh-cta .ks-btn, .gh-cta .ks-gplay { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .gh-slide { transition: none; }
    .gh-tile, .gs-tile, .gh-slide.is-active .gh-icon, .gh-slide.is-active .gh-copy > * { animation: none; }
    .gh-thumb__bar { display: none; }
    .gs-phone__frame, .gs-phone:hover .gs-phone__frame { transition: none; transform: none; }
}

/* ---------- Game detail page (/games/{slug}) ---------- */
.gd { background: var(--ks-bg); }
.gd-hero { position: relative; overflow: hidden; isolation: isolate; padding: var(--ks-s-6) 0 var(--ks-s-9); min-height: min(720px, calc(100svh - var(--ks-header-h, 56px))); display: flex; align-items: center; }
.gd-hero .gh-bg { z-index: -1; }
.gd-hero__in { width: 100%; }
.gd-hero .gh-inner { margin-top: var(--ks-s-6); }
.gd-hero .gh-icon { animation: gh-pop .9s var(--ks-ease-out, ease-out) both, gh-bob 6s ease-in-out .9s infinite; }
.gd-rise > * { animation: gh-rise .8s var(--ks-ease-out, ease-out) both; }
.gd-rise > :nth-child(2) { animation-delay: .06s; } .gd-rise > :nth-child(3) { animation-delay: .12s; } .gd-rise > :nth-child(4) { animation-delay: .18s; } .gd-rise > :nth-child(5) { animation-delay: .24s; }
.gd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--ks-muted); }
.gd-crumb a { color: var(--ks-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.gd-crumb a:hover { color: var(--ks-text); }
.gd-crumb [aria-current] { color: var(--ks-text); }

.gd-band { position: relative; padding: var(--ks-s-8) 0; border-top: 1px solid var(--ks-border); }
.gd-about { border-top: 0; padding-top: 0; margin-top: calc(var(--ks-s-6) * -1); }
.gd-about .gs-banner { margin-top: 0; }
.gd-about__text { max-width: 68ch; margin: var(--ks-s-7) auto 0; font-size: 1.1875rem; line-height: 1.7; color: var(--ks-muted); text-align: center; }
.gd-h2 { margin: 0 0 var(--ks-s-6); font-size: clamp(1.75rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; color: var(--ks-text); text-wrap: balance; }
.gd-h3 { margin: 0 0 var(--ks-s-4); font-size: 1.25rem; font-weight: 800; color: var(--ks-text); }

.gd-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--ks-s-4); margin: 0; padding: 0; list-style: none; }
.gd-feat { padding: var(--ks-s-5); border-radius: var(--ks-r-lg, 24px); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--ks-border); transition: border-color var(--ks-dur-2, 260ms) var(--ks-ease, ease), box-shadow var(--ks-dur-2, 260ms) var(--ks-ease, ease); }
.gd-feat:hover { border-color: rgba(var(--g-rgb), .5); box-shadow: 0 0 40px rgba(var(--g-rgb), .18); }
.gd-feat h3 { margin: 0 0 var(--ks-s-2); font-size: 1.125rem; font-weight: 800; color: var(--g-accent); }
.gd-feat p { margin: 0; line-height: 1.6; color: var(--ks-muted); }

.gd-shots .gs-rail-wrap { margin-top: 0; }
.gd-closing { text-align: center; background: radial-gradient(60% 90% at 50% 0%, rgba(var(--g-rgb), .2), transparent 65%); }
.gd-closing__text { margin: 0 auto var(--ks-s-6); max-width: 48ch; color: var(--ks-muted); font-size: 1.0625rem; line-height: 1.6; }
.gd-closing__cta { display: flex; justify-content: center; }

.gd-support__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--ks-s-7); align-items: start; }
.gd-acc details { border-color: var(--ks-border); }
.gd-acc summary { min-height: 56px; color: var(--ks-text); font-weight: 700; }
.gd-acc__body p { margin: 0; line-height: 1.7; color: var(--ks-muted); }
.gd-side { display: grid; gap: var(--ks-s-5); }
.gd-steps { margin: 0 0 var(--ks-s-5); padding-left: 1.25rem; color: var(--ks-muted); line-height: 1.6; }
.gd-steps li + li { margin-top: 6px; }
.gd-foot { padding: var(--ks-s-7) 0 var(--ks-s-8); }
.gd-foot__in { display: flex; flex-wrap: wrap; gap: var(--ks-s-3) var(--ks-s-6); }
.gd-others { display: flex; flex-wrap: wrap; gap: var(--ks-s-3); margin-top: var(--ks-s-5); }
.gd-other { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 18px 8px 8px; border-radius: 20px; border: 1px solid var(--ks-border); background: rgba(255, 255, 255, .04); color: var(--ks-text); font-weight: 700; text-decoration: none; transition: border-color var(--ks-dur-1, 160ms) var(--ks-ease, ease), box-shadow var(--ks-dur-2, 260ms) var(--ks-ease, ease); }
.gd-other:hover { border-color: rgba(var(--g-rgb), .6); box-shadow: 0 0 28px rgba(var(--g-rgb), .3); }
.gd-other:focus-visible { outline: 3px solid var(--ks-focus, #C4B5FD); outline-offset: 3px; }
.gd-other img, .gd-other__fallback { width: 48px; height: 48px; border-radius: 22.5%; display: grid; place-items: center; background: linear-gradient(135deg, var(--g-accent, #f472b6), #fbbf24); }
.gd-other__paw { width: 55%; height: auto; }

/* Privacy document */
.gd-privacy { padding: var(--ks-s-6) 0 var(--ks-s-9); background: radial-gradient(60% 40% at 80% 0%, rgba(var(--g-rgb), .18), transparent 60%), var(--ks-bg); }
.gd-privacy__in { max-width: 820px; }
.gd-privacy__title { margin: var(--ks-s-5) 0 var(--ks-s-2); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--ks-text); }
.gd-privacy__sub { margin: 0 0 var(--ks-s-7); color: var(--ks-muted); font-weight: 600; }
.gd-doc { padding: var(--ks-s-6); border-radius: var(--ks-r-xl, 32px); border: 1px solid var(--ks-border-strong); background: rgba(255, 255, 255, .03); }
.gd-doc .policy-group + .policy-group { margin-top: var(--ks-s-6); }
.gd-doc h2 { margin: 0 0 var(--ks-s-3); font-size: 1.25rem; font-weight: 800; color: var(--ks-text); }
.gd-doc p, .gd-doc li { line-height: 1.7; color: var(--ks-muted); overflow-wrap: anywhere; }
.gd-doc p { margin: 0 0 var(--ks-s-3); }
.gd-doc ul { margin: 0 0 var(--ks-s-3); padding-left: 1.25rem; }
.gd-doc strong { color: var(--ks-text); }
.gd-doc a { color: var(--g-accent); text-decoration: underline; text-underline-offset: 4px; }
.gd-doc .contact-box { margin-top: var(--ks-s-6); padding: var(--ks-s-5); border-radius: var(--ks-r-lg, 24px); background: rgba(var(--g-rgb), .12); border: 1px solid rgba(var(--g-rgb), .4); color: var(--ks-text); line-height: 1.7; }
.gd-privacy__back { margin: var(--ks-s-6) 0 0; }

@media (max-width: 860px) {
    .gd-support__grid { grid-template-columns: 1fr; }
    .gd-hero { min-height: 0; padding-bottom: var(--ks-s-8); }
    .gd-hero .gh-inner { margin-top: var(--ks-s-4); }
}
@media (max-width: 640px) {
    .gd-band { padding: var(--ks-s-7) 0; }
    .gd-doc { padding: var(--ks-s-4); }
}
@media (prefers-reduced-motion: reduce) {
    .gd-hero .gh-icon, .gd-rise > * { animation: none; }
}

/* ---------- Mobile app-like feed (<=767px) ---------- */
.gf, .gd-buy { display: none; }
@media (max-width: 767px) {
    .gh, .gs { display: none; }
    html.gf-snap { scroll-snap-type: y mandatory; }
    .gf { display: block; position: relative; background: var(--ks-bg); }
    .gf-slide { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: var(--ks-s-4);
        min-height: calc(100svh - var(--ks-header-h, 52px) - var(--ks-bottom-inset, 0px)); padding: var(--ks-s-6) var(--ks-gutter, 16px) var(--ks-s-4);
        scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: -16px; }
    .gf-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(90% 60% at 50% 20%, rgba(var(--g-rgb), .35), transparent 65%), radial-gradient(70% 50% at 10% 100%, color-mix(in srgb, var(--g-accent2) 25%, transparent), transparent 60%), var(--ks-bg); }
    .gf-bg > img { position: absolute; left: -25%; top: -15%; width: 150%; height: 100%; max-width: none; object-fit: cover; opacity: .45; filter: blur(48px) saturate(1.2); transform: scale(1.2); }
    .gf-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, .1), rgba(11, 16, 32, .8)); }
    .gf-bg__paw { position: absolute; right: -10%; top: 6%; width: 70%; opacity: .1; transform: rotate(-14deg); }
    .gf-bg__paw-svg { width: 100%; height: auto; display: block; }
    .gf-bg .gh-tile--1 { left: auto; right: 8%; top: 10%; width: 84px; height: 84px; }
    .gf-bg .gh-tile--2 { right: auto; left: 6%; bottom: 36%; width: 64px; height: 64px; }
    .gf-main { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: var(--ks-s-4); }
    .gf-icon { width: clamp(112px, 34vw, 156px); aspect-ratio: 1; margin-bottom: var(--ks-s-5); }
    .gf-icon img, .gf-icon__fallback { display: block; width: 100%; height: 100%; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 70px rgba(var(--g-rgb), .55), 0 22px 44px rgba(0, 0, 0, .5); }
    .gf-icon__fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--g-accent), var(--g-accent2)); }
    .gf-icon__paw { width: 52%; height: auto; }
    .gf-eyebrow { justify-content: center; margin-bottom: var(--ks-s-2); }
    .gf-title { margin: 0; font-size: clamp(2.25rem, 11vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ks-text); overflow-wrap: anywhere; text-wrap: balance; }
    .gf-tagline { margin: var(--ks-s-3) 0 0; max-width: 28ch; font-size: 1.0625rem; line-height: 1.4; color: var(--ks-muted); }
    .gf-cta { display: flex; flex-direction: column; align-items: center; gap: var(--ks-s-2); margin-top: var(--ks-s-5); }
    .gf-details { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 var(--ks-s-3); font-weight: 800; color: var(--g-accent); text-decoration: none; }
    .gf-details:focus-visible, .gf-peek:focus-visible, .gf-dots a:focus-visible { outline: 3px solid var(--ks-focus, #C4B5FD); outline-offset: 3px; }
    .gf-peek { display: flex; gap: var(--ks-s-3); overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--ks-gutter, 16px) * -1); padding: 4px var(--ks-gutter, 16px) 0; scrollbar-width: none; }
    .gf-peek::-webkit-scrollbar { display: none; }
    .gf-peek img { flex: none; width: 104px; height: auto; aspect-ratio: 540 / 960; object-fit: contain; scroll-snap-align: start; border-radius: 16px 16px 0 0; border: 3px solid #1c2445; border-bottom: 0; background: #05070f; box-shadow: 0 0 24px rgba(var(--g-rgb), .25); }
    .gf-slide .gf-icon, .gf-slide .gf-title, .gf-slide .gf-tagline, .gf-slide .gf-cta { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ks-ease-out, ease-out), transform .6s var(--ks-ease-out, ease-out); }
    .gf-slide .gf-title { transition-delay: .06s; } .gf-slide .gf-tagline { transition-delay: .12s; } .gf-slide .gf-cta { transition-delay: .18s; }
    .gf-slide .gf-icon { transform: scale(.88) translateY(12px); }
    html:not(.gf-js) .gf-slide .gf-icon, html:not(.gf-js) .gf-slide .gf-title, html:not(.gf-js) .gf-slide .gf-tagline, html:not(.gf-js) .gf-slide .gf-cta,
    .gf-slide.is-in .gf-icon, .gf-slide.is-in .gf-title, .gf-slide.is-in .gf-tagline, .gf-slide.is-in .gf-cta { opacity: 1; transform: none; }
    .gf-slide.is-in .gf-icon { animation: gh-bob 6s ease-in-out .7s infinite; }

    /* slim vertical progress */
    .gf-dots { position: fixed; right: 4px; top: 50%; z-index: 20; display: flex; flex-direction: column; gap: 2px; transform: translate(14px, -50%); opacity: 0; pointer-events: none; transition: opacity .3s var(--ks-ease, ease), transform .3s var(--ks-ease-out, ease-out); }
    .gf-dots.is-on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
    .gf-dots a { position: relative; display: block; width: 24px; height: 32px; }
    .gf-dots a::after { content: ""; position: absolute; right: 8px; top: 50%; width: 4px; height: 16px; margin-top: -8px; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: height .3s var(--ks-ease-out, ease-out), margin .3s var(--ks-ease-out, ease-out), background .3s var(--ks-ease, ease), box-shadow .3s var(--ks-ease, ease); }
    .gf-dots a.is-active::after { height: 26px; margin-top: -13px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .6); }

    /* game page: sticky Google Play bar (tab bar hidden while shown) */
    .gd-buy { position: fixed; left: 0; right: 0; bottom: var(--ks-bottom-inset, env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: var(--ks-s-3); padding: 10px var(--ks-gutter, 16px); background: rgba(11, 16, 32, .82); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid var(--ks-border-strong); transform: translateY(120%); transition: transform .35s var(--ks-ease-out, ease-out); }
    .gd-buy[hidden] { display: none; }
    .gd-buy.is-on { transform: none; }
    .gd-buy img { width: 44px; height: 44px; border-radius: 22.5%; flex: none; }
    .gd-buy__name { flex: 1 1 auto; min-width: 0; font-weight: 800; color: var(--ks-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .gd-buy .ks-btn { flex: none; min-height: 44px; white-space: nowrap; }
    .gd-foot { padding-bottom: calc(var(--ks-s-8) + 64px); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    /* plain stacked cards */
    .gf { padding: var(--ks-s-4) var(--ks-gutter, 16px); display: grid; gap: var(--ks-s-4); }
    .gf-slide { min-height: 0; scroll-snap-align: none; border-radius: var(--ks-r-xl, 32px); border: 1px solid var(--ks-border-strong); padding: var(--ks-s-6) var(--ks-s-4) var(--ks-s-4); }
    .gf-slide .gf-icon, .gf-slide .gf-title, .gf-slide .gf-tagline, .gf-slide .gf-cta { opacity: 1; transform: none; transition: none; }
    .gf-slide.is-in .gf-icon { animation: none; }
    .gf-dots { display: none; }
    .gd-buy { transition: none; }
}
