/* Finishing layer for the public Games storefront. */
:root { --accent:#adff77; --muted:#aab2c4; }
html { scroll-padding-top: 84px; }
body { background: #090c14; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:is(button, a, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.top { position: sticky; top: 0; background: #090c14ed; backdrop-filter: blur(18px); border-bottom-color: #263044; }
.top nav a { transition: color .18s ease; }
.top { gap: 18px; }
.top nav { margin-left: auto; }
.language-picker { flex: none; }
.language-picker select { width: 112px; color: #f1f4fc; background: #171d2c; border: 1px solid #354158; border-radius: 8px; padding: 8px 9px; font: 600 12px 'DM Sans', sans-serif; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.brand { white-space: nowrap; }
.top .brand { display: inline-flex; align-items: center; }
.top .brand img { display: block; width: 245px; max-width: 100%; height: auto; }
.hero { min-height: 560px; }
.hero-copy { padding-top: 96px; }
.hero-copy > p:not(.eyebrow) { font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .primary { margin: 0; }
.hero-link { font-weight: 700; font-size: 14px; color: #d5dded; }
.hero-link span { margin-left: 5px; color: var(--accent); }
.hero-link:hover { color: var(--accent); }
.hero-tags { margin-top: 48px; }
.hero-art { min-height: 560px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background:#0f1421; padding: 20px max(5vw,24px); gap: 24px; }
.trust-strip span { color: #d2daeb; font-size: 13px; font-weight: 600; }
.trust-strip span + span { border-left: 1px solid #364055; padding-left: 24px; }
.trust-strip b { color: var(--accent); margin-right: 10px; font: 700 12px 'Space Grotesk', sans-serif; }
.section { padding-top: 86px; }
.section-intro { margin: 12px 0 0; }
.toolbar { margin: 40px 0 22px; }
.tabs button, .search, .results-bar select { transition: border-color .18s, background .18s; }
.tabs button:hover:not(.active) { border-color: #65728b; background:#20283b; }
.search:focus-within { border-color: var(--accent); }
.results-bar { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid var(--line); padding: 15px 0 23px; color:#b9c3d6; font-size:13px; }
.results-bar label { display:flex; align-items:center; gap:12px; white-space:nowrap; }
.results-bar select { appearance:none; color:#f1f4fc; background:#171d2c; border:1px solid #313d53; padding:9px 32px 9px 12px; border-radius:8px; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b7c4d6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 11px center; }
.grid { gap: 18px; }
.card { position:relative; background:#121826; border-color:#283247; border-radius:15px; }
.card:hover { border-color:#8cad76; box-shadow:0 18px 40px #0005; }
.cover { height: 275px; background:linear-gradient(135deg,#25314b,#101928); }
.cover img { position:relative; z-index:1; object-position:center top; }
.cover .fallback { position:absolute; }
.cover .platform-badge { z-index:2; backdrop-filter: blur(8px); }
.card-copy { gap:10px; padding:16px; }
.card-kicker { color:#95a5bd; font-size:10px; font-weight:700; letter-spacing:.13em; }
.card h3 { font:600 15px/1.35 'Space Grotesk',sans-serif; letter-spacing:-.015em; min-height:41px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-footer { margin-top:auto; border-top:1px solid #283247; padding-top:12px; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.card-footer strong { color:var(--accent); font-size:13px; font-weight:700; }
.card-footer > span { font-size:18px; color:#9daabc; }
.card:hover .card-footer > span { color:var(--accent); }
.empty-state { border:1px dashed #52617b; border-radius:16px; background:#111827; text-align:center; padding:60px 25px; }
.empty-state h3 { font:600 26px 'Space Grotesk'; margin:0 0 8px; }
.empty-state p { color:var(--muted); margin-bottom:22px; }
.catalog-updated { color:#8190a8; font-size:12px; margin:30px 0 0; text-align:center; }
.how { border-top:1px solid #293248; background:radial-gradient(circle at 10% 0%,#1b2540 0%,#121826 45%,#111622 100%); padding-top:84px; padding-bottom:84px; }
.how-heading { display:flex; justify-content:space-between; align-items:end; gap:50px; }
.how-heading > p { max-width:380px; color:var(--muted); line-height:1.65; margin:0 0 7px; }
.how-grid { margin-top:46px; }
.how article { border-top:1px solid #53617b; }
.how article span { font-size:12px; }
.how article p { max-width:340px; }
.how-note { display:flex; align-items:center; gap:28px; border:1px solid #546849; border-radius:13px; background:#adff770a; padding:22px 26px; margin-top:38px; }
.how-note strong { color:var(--accent); font:700 17px 'Space Grotesk'; white-space:nowrap; }
.how-note p { margin:0; font-size:13px; line-height:1.6; color:#c0cadb; }
footer { border-top:1px solid #263044; }
footer p { margin:8px 0 0; }
footer a:hover { color:var(--accent); }
dialog { width:min(960px,calc(100% - 32px)); max-width:960px; max-height:min(90vh,900px); overflow:auto; padding:30px; border-color:#3c4860; background:#111827; }
dialog::backdrop { background:#03060dcc; backdrop-filter:blur(6px); }
.close { z-index:5; position:sticky; display:block; margin-left:auto; right:0; top:0; width:35px; height:35px; background:#293248; border-radius:50%; line-height:30px; text-align:center; }
.detail-layout { grid-template-columns: minmax(210px,285px) 1fr; align-items:start; gap:32px; }
.detail-visual { position:relative; border-radius:11px; overflow:hidden; background:#26314a; aspect-ratio: .75; display:flex; justify-content:center; align-items:center; }
.detail-visual > img { width:100%; height:100%; object-fit:cover; }
.detail-visual .fallback { font:700 70px 'Space Grotesk'; color:#8ea4cc; }
.detail-visual .platform-badge { top:12px; left:12px; }
.detail-info .eyebrow { margin:0 0 8px; }
.detail-info h2 { font-size:clamp(25px,3vw,37px); margin:0 0 14px; }
.detail-info h3 { font:700 16px 'Space Grotesk'; margin:27px 0 13px; }
.detail-help { font-size:14px; margin:0; }
.variant { background:#171f30; border-color:#354158; padding:14px 16px; cursor:pointer; }
.variant:hover:not([aria-disabled=true]) { border-color:#89bc75; }
.variant.selected { background:#adff770b; }
.variant-name { display:flex; align-items:center; gap:10px; }
.variant-name input { width:17px; height:17px; margin:0; }
.variant-name strong { font-size:14px; }
.variant-name small { font-size:11px; }
.variant[aria-disabled=true] { cursor:not-allowed; }
.variant .price { max-width:125px; text-align:right; line-height:1.3; font-size:13px; }
.detail-actions { border-top:1px solid #344057; padding-top:16px; }
.detail-actions .button { margin:0 0 9px; }
.detail-actions .button.secondary { background:#252e42; }
.detail-actions .detail-note { margin:4px 0 16px; }
.loading { text-align:center; padding:90px 20px; color:#c7d1e0; }
.spinner { display:block; width:27px; height:27px; margin:0 auto 20px; border:3px solid #3a4a62; border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.detail-error { padding:30px 15px; }
.detail-error h2 { font:700 28px 'Space Grotesk'; }
.detail-error p { color:var(--muted); }
.detail-error a { color:var(--accent); }
[hidden] { display:none!important; }
@media(max-width:1100px) { .cover { height:250px; } }
@media(max-width:800px) {
  .hero { min-height:0; }
  .hero-copy { padding-top:65px; }
  .hero-art { min-height:250px; }
  .trust-strip { gap:12px; }
  .trust-strip span + span { padding-left:12px; }
  .how-heading { display:block; }
  .how-heading > p { margin:18px 0 0; }
  dialog { padding:24px; }
  .detail-layout { grid-template-columns:180px 1fr; gap:23px; }
}
@media(max-width:560px) {
  html { scroll-padding-top:65px; }
  .top { padding:0 12px; gap:6px; }
  .top .brand img { width: 130px; }
  .top nav { gap: 0; }
  .top nav a:nth-child(1) { display: none; }
  .language-picker select { width: 78px; padding: 7px 4px; font-size: 11px; }
  .hero-copy { padding:58px 23px 51px; }
  .hero-actions { gap:16px; }
  .hero-tags { margin-top:32px; }
  .hero-art { min-height:200px; }
  .trust-strip { grid-template-columns:1fr; gap:12px; padding:18px 23px; }
  .trust-strip span + span { border-left:0; padding-left:0; }
  .section { padding:60px 23px; }
  .section h2 { font-size:31px; }
  .tabs { flex-wrap:nowrap; width:100%; }
  .tabs button { flex:1; min-width:0; padding:10px 6px; }
  .toolbar { margin-top:28px; }
  .results-bar { align-items:flex-start; flex-direction:column; gap:12px; }
  .results-bar label { width:100%; justify-content:space-between; }
  .results-bar select { max-width:210px; font-size:12px; }
  .grid { gap:11px; }
  .cover { height:215px; }
  .card-copy { padding:12px; gap:7px; }
  .card-kicker { font-size:9px; }
  .card h3 { min-height:40px; font-size:14px; }
  .card-footer strong { font-size:12px; }
  .how { padding:65px 23px; }
  .how-note { display:block; }
  .how-note p { margin-top:10px; }
  footer { padding:30px 23px; }
  dialog { width:calc(100% - 16px); max-height:94vh; padding:16px; }
  .detail-layout { grid-template-columns:1fr; gap:20px; }
  .detail-visual { width:142px; aspect-ratio:.75; margin:-25px auto 0; }
  .detail-info h2 { font-size:27px; }
  .detail-help { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
