/* Public landing and arcade lobby only. Game/reward styles and logic are not changed. */
.gaming-page {
  --gs-bg: #090c15;
  --gs-panel: #131827;
  --gs-line: #293045;
  --gs-text: #f5f5fb;
  --gs-muted: #adb5cb;
  --gs-purple: #a79bff;
  --gs-gold: #ffca69;
  background: var(--gs-bg);
  color: var(--gs-text);
  min-height: 100%; height: auto;
  font: 1rem/1.6 var(--ez-font, system-ui, sans-serif);
  overscroll-behavior: auto;
}
.gaming-page a { color: inherit; }
.gaming-page :is(a, button, summary):focus-visible { outline: 3px solid var(--gs-gold); outline-offset: 5px; }
.gaming-page [hidden] { display: none !important; }
.gs-wrap, .pg { width: min(100%, 1340px); margin-inline: auto; padding-inline: clamp(18px, 3.5vw, 48px); }
.gs-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--gs-gold); color: #17101e !important; border-radius: 8px; }
.gs-skip:focus { top: 12px; }
.gs-header { border-bottom: 1px solid var(--gs-line); background: #0d111de8; }
.gs-nav, .pg-top { min-height: 86px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 16px; }
.gs-brand, .pg-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.05em; flex-shrink: 0; }
.gs-brand img, .pg-brand img { width: 34px; height: 34px; }
.gs-brand b, .pg-brand b { color: var(--gs-gold); }
.gs-nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; flex-wrap: wrap; font-size: .875rem; font-weight: 700; color: var(--gs-muted); }
.gs-nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding-block: 8px; }
.gs-nav-links a:hover, .gs-nav-links [aria-current] { color: var(--gs-text); }
.gs-nav-links [aria-current] { box-shadow: 0 2px 0 var(--gs-purple); }
.gs-kicker { color: var(--gs-purple); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.gs-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--gs-line); font-size: .9375rem; font-weight: 800; background: #1d2336; text-decoration: none; transition: transform .18s, background-color .18s; }
.gs-button-primary { background: var(--gs-gold); border-color: var(--gs-gold); color: #1b1520 !important; }
.gs-button-purple { background: #7560ee; border-color: #9582ff; color: #fff !important; }
.gs-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gs-muted { color: var(--gs-muted); }
.gs-section { padding-block: 50px; }
.gs-section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.gs-section-head h2 { margin-top: 8px; font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.045em; }
.gs-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--gs-purple) !important; font-size: .9375rem; font-weight: 800; }
.gs-hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 44px; padding-block: 62px 48px; }
.gs-hero h1 { margin: 18px 0 20px; font-size: clamp(2.9rem, 5.8vw, 5.25rem); line-height: 1.04; letter-spacing: -.065em; font-weight: 800; }
.gs-hero h1 em { color: var(--gs-purple); font-style: normal; }
.gs-hero-copy > p:not(.gs-kicker) { max-width: 43ch; margin-bottom: 26px; color: var(--gs-muted); font-size: 1.0625rem; }
.gs-hero .gs-small-note { font-size: .875rem !important; margin-top: 15px; }
.gs-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.gs-poster { position: relative; overflow: hidden; border: 1px solid #42435f; border-radius: 18px; background: #1d2336; min-width: 0; }
.gs-poster:first-child { grid-column: 1 / -1; }
.gs-poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s; }
.gs-poster-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 18px 16px; background: linear-gradient(transparent, #090c15ed 52%); font-size: 1rem; font-weight: 800; }
.gs-poster-caption span { border: 1px solid #ffffff66; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.gs-strip { border-block: 1px solid var(--gs-line); padding-block: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; font-size: .9375rem; color: var(--gs-muted); }
.gs-strip strong { color: var(--gs-text); margin-right: 7px; }
.gs-game-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gs-game { display: block; min-width: 0; }
.gs-game-art { display: block; aspect-ratio: 16 / 9; background: var(--gs-panel); border: 1px solid var(--gs-line); border-radius: 14px; overflow: hidden; }
.gs-game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gs-game h3 { margin-top: 12px; font-size: 1.05rem; line-height: 1.4; }
.gs-game p { font-size: .875rem; color: var(--gs-muted); }
.gs-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.gs-feature { border-top: 2px solid var(--gs-line); padding-top: 22px; }
.gs-feature > span { color: var(--gs-purple); font-size: .875rem; font-weight: 800; }
.gs-feature h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.gs-feature p { color: var(--gs-muted); }
.gs-app-band { padding: 36px; border: 1px solid #54468b; border-radius: 20px; background: linear-gradient(110deg, #292045, #141927); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.gs-app-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.04em; line-height: 1.2; margin: 8px 0 12px; }
.gs-app-band p { color: #c6c7dd; max-width: 60ch; }
.gs-app-band .gs-actions { flex-direction: column; }
.gs-faq { max-width: 860px; }
.gs-faq details { border-bottom: 1px solid var(--gs-line); padding-block: 18px; }
.gs-faq summary { cursor: pointer; font-size: 1.05rem; font-weight: 700; min-height: 44px; padding-block: 8px; }
.gs-faq details p { color: var(--gs-muted); margin: 8px 0 10px; }
.gs-faq a, .gs-feature a { text-decoration: underline; text-underline-offset: 4px; }
.gs-footer, .pg-foot { border-top: 1px solid var(--gs-line); margin-top: 36px; padding-block: 26px calc(28px + env(safe-area-inset-bottom, 0px)); }
.gs-footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.gs-footer-links, .pg-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .875rem; color: var(--gs-muted); }
.gs-footer-links a, .pg-links a { min-height: 44px; display: inline-flex; align-items: center; }
.gs-fine, .pg-fine { color: var(--gs-muted); font-size: .8125rem; margin-top: 14px; line-height: 1.7; }
.app-wallet-note { display: none; }
.gs-native .web-rewards-link { display: none !important; }
.gs-native .app-wallet-note { display: inline; }
/* Arcade lobby: games stay on screen, with a compact category rail on wide screens. */
.pg-top { border-bottom: 1px solid var(--gs-line); margin-bottom: 28px; }
.pg-coins { color: #c9c4e7; padding: 7px 12px; border: 1px solid #45415e; border-radius: 7px; font-size: .75rem; font-weight: 700; }
.pg-layout { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 32px; }
.pg-rail { align-self: start; position: sticky; top: 24px; padding-top: 8px; }
.pg-rail-label { color: #9ba6be; font-size: .75rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 16px; }
.pg-filters { display: flex; flex-direction: column; gap: 6px; }
.pg-chip { display: flex; align-items: center; text-align: left; min-height: 46px; border-radius: 9px; padding: 10px 14px; color: #bac2d7; font-size: .9375rem; font-weight: 700; border: 1px solid transparent; }
.pg-chip.pg-on { color: #fff; background: #302747; border-color: #5c4c87; }
.pg-chip:hover { background: #24263b; }
.pg-rail-app { display: block; margin-top: 30px; border-top: 1px solid var(--gs-line); padding-top: 20px; font-size: .875rem; color: var(--gs-muted) !important; }
.pg-rail-app strong { display: block; margin-bottom: 5px; color: var(--gs-text); }
.pg-lobby { min-width: 0; }
.pg-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 286px; display: flex; align-items: center; padding: 30px; border: 1px solid #4b4867; border-radius: 18px; background: #1d1840; }
.pg-hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 72%; height: 100%; object-fit: cover; object-position: center; }
.pg-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #17132ffa 3%, #17132fed 34%, #17132f55 68%, #17132f00); }
.pg-hero-copy { max-width: 55%; }
.pg-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.05em; margin: 10px 0 14px; }
.pg-hero p:not(.gs-kicker) { max-width: 32ch; color: #d0cce2; margin-bottom: 20px; }
.pg-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-section { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 30px 0 6px; scroll-margin-top: 20px; }
.pg-section h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.045em; }
.pg-section > span { color: var(--gs-muted); font-size: .875rem; }
.pg-context { color: var(--gs-muted); font-size: .875rem; margin-bottom: 20px; }
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.pg-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--gs-line); border-radius: 13px; background: var(--gs-panel); overflow: hidden; transition: transform .18s, border-color .18s; }
.pg-art { display: grid; place-items: center; position: relative; aspect-ratio: 16 / 9; font-size: 2.5rem; overflow: hidden; background: #232b43; }
.pg-art > span { line-height: 1; }
.pg-icon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.pg-icon-in { opacity: 1; }
.pg-body { display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 14px; }
.pg-title, .pg-body .pg-name { font-size: 1rem; line-height: 1.4; font-weight: 800; }
.pg-blurb { font-size: .875rem; line-height: 1.5; color: var(--gs-muted); flex: 1; }
.pg-meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 6px; font-size: .75rem; font-weight: 700; }
.pg-reward { display: inline-flex; align-items: center; gap: 4px; color: var(--gs-gold); }
.pg-cat { color: #c0b8f7; font-size: .75rem; }
.pg-coin { width: 14px; height: 14px; }
.pg-3d { position: absolute; top: 8px; right: 8px; background: #141827ed; padding: 5px 8px; border-radius: 5px; font-size: .75rem; }
.pg-empty { padding-block: 32px; color: var(--gs-muted); }
.pg-foot { margin-top: 44px; }
@media (hover: hover) {
  .gs-button:hover { transform: translateY(-2px); }
  .gs-poster:hover img, .gs-game:hover img { transform: scale(1.045); }
  .pg-card:hover { transform: translateY(-4px); border-color: #8b79da; }
  .gs-game:hover h3 { color: var(--gs-purple); }
}
@media (min-width: 1500px) { .pg-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 1000px) {
  .gs-hero { gap: 28px; }
  .pg-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .pg-rail { position: static; padding: 0; }
  .pg-rail-label, .pg-rail-app { display: none; }
  .pg-filters { flex-direction: row; overflow-x: auto; padding-block: 5px 10px; }
  .pg-chip { flex: 0 0 auto; }
  .pg-top { margin-bottom: 16px; }
}
@media (max-width: 720px) {
  .gs-nav, .pg-top { gap: 12px; }
  .gs-nav-links { width: 100%; margin: 0; gap: 20px; }
  .pg-top .pg-coins { margin-left: auto; }
  .pg-top .gs-nav-links { order: 3; }
  .gs-hero { grid-template-columns: minmax(0,1fr); padding-block: 36px; }
  .gs-hero h1 { max-width: 13ch; }
  .gs-showcase { gap: 10px; }
  .gs-poster-caption { font-size: .875rem; padding-inline: 12px; }
  .gs-game-shelf { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 24px 14px; }
  .gs-feature-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .gs-app-band { grid-template-columns: minmax(0,1fr); padding: 24px; }
  .gs-app-band .gs-actions { align-items: start; }
  .gs-section { padding-block: 34px; }
  .pg-hero { padding: 24px; min-height: 268px; }
  .pg-hero-copy { max-width: 78%; }
  .pg-hero-art { width: 100%; opacity: .55; }
  .pg-hero::after { background: linear-gradient(90deg, #17132fed 5%, #17132faa 58%, #17132f22); }
  .pg-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 16px 12px; }
  .pg-body { padding: 12px; }
  .pg-blurb { font-size: .875rem; }
}
@media (max-width: 380px) {
  .pg-hero-copy { max-width: 100%; }
  .pg-grid { grid-template-columns: minmax(0,1fr); }
  .gs-game-shelf { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .gaming-page *, .gaming-page *::before, .gaming-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
