/* GameKeyShop – "neon midnight" storefront. Local assets and CSS only; no inline styles (CSP). */

/* Space Grotesk (SIL OFL 1.1, see fonts/SpaceGrotesk-OFL.txt), variable 300–700, Fontsource 5.3.0. */
@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-display: swap;
    font-weight: 300 700;
    src: url("fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-display: swap;
    font-weight: 300 700;
    src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    /* Surfaces: near-black with a midnight-blue tint. */
    --color-bg: #07080d;
    --color-surface: #10121b;
    --color-surface-2: #161926;
    --color-surface-3: #1e2232;
    --color-glass: rgb(18 20 32 / 62%);
    --color-border: #242a3b;
    --color-border-strong: #363d57;
    --color-text: #f5f6fb;
    --color-text-soft: #cfd4e3;
    --color-text-muted: #a1a9c0;
    /* Neon accents: violet → magenta (actions), cyan (links, focus), lime (prices). */
    --color-violet: #8b5cf6;
    --color-violet-deep: #7c3aed;
    --color-magenta: #d946ef;
    --color-magenta-deep: #c026d3;
    --color-cyan: #22d3ee;
    --color-cyan-soft: #67e8f9;
    --color-lime: #a3e635;
    --color-lime-soft: #bef264;
    --color-accent: var(--color-cyan-soft);
    --color-accent-hover: #a5f3fc;
    --color-danger: #fb7185;
    --color-warning: #fdba74;
    --color-success: #86efac;
    --color-mature: #be123c;
    --color-focus: var(--color-cyan);
    --gradient-primary: linear-gradient(135deg, var(--color-violet-deep), var(--color-magenta-deep));
    --gradient-primary-hover: linear-gradient(135deg, #8b4cf7, #d23ae6);
    --gradient-neon: linear-gradient(120deg, var(--color-violet), var(--color-magenta) 50%, var(--color-cyan));
    --gradient-text: linear-gradient(100deg, #fff 10%, #e9d5ff 40%, #f0abfc 65%, var(--color-cyan-soft));
    --glow-violet: 0 0 0 1px rgb(139 92 246 / 35%), 0 10px 40px -8px rgb(168 85 247 / 45%);
    --glow-cyan: 0 0 0 1px rgb(34 211 238 / 35%), 0 10px 40px -10px rgb(34 211 238 / 40%);
    --radius-s: 10px;
    --radius-m: 18px;
    --radius-l: 28px;
    --radius-pill: 999px;
    --shadow-card: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 8px 24px -12px rgb(0 0 0 / 60%);
    --shadow-card-hover: 0 24px 60px -20px rgb(0 0 0 / 80%);
    --font-sans: "Segoe UI Variable Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-display: "Space Grotesk", var(--font-sans);
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --container: 1320px;
    --header-height: 7.5rem;
    --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-height) + 1rem); scrollbar-color: #343a52 var(--color-bg); }
body {
    margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
    background:
        radial-gradient(60rem 40rem at 85% -10%, rgb(124 58 237 / 22%), transparent 70%),
        radial-gradient(50rem 35rem at -10% 20%, rgb(34 211 238 / 9%), transparent 70%),
        radial-gradient(45rem 30rem at 50% 110%, rgb(192 38 211 / 10%), transparent 70%),
        var(--color-bg);
    background-attachment: fixed;
    color: var(--color-text); font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* A faint "game HUD" grid that fades out towards the bottom of the viewport. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0, #000 30%, transparent 75%);
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; text-underline-offset: 4px; transition: color 160ms var(--ease); }
a:hover { color: var(--color-accent-hover); }
a:hover:not(.button, .brand, .product-card__link, .pager__link) { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 6px; }
::selection { background: rgb(168 85 247 / 55%); color: #fff; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 var(--space-4); text-wrap: balance; letter-spacing: -0.03em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 650; }
h3 { font-weight: 600; }
/* FocusOnNavigate moves focus to the page heading for screen readers; it is not a keyboard focus ring. */
h1:focus { outline: none; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
code { font-size: 0.875em; padding: 0.1em 0.4em; border-radius: 6px; background: var(--color-surface-3); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; vertical-align: middle; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: var(--space-4); top: -100px; z-index: 30; padding: var(--space-3) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-cyan); border-radius: var(--radius-s); }
.skip-link:focus { top: var(--space-3); }
.muted { color: var(--color-text-muted); }
.eyebrow {
    display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3);
    color: var(--color-cyan-soft); font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow .icon { width: 1rem; height: 1rem; }
.status-dot { position: relative; display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--color-lime); box-shadow: 0 0 0 3px rgb(163 230 53 / 18%), 0 0 12px rgb(163 230 53 / 70%); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; font-weight: 600; }
.text-link .icon { width: 1rem; height: 1rem; transition: transform 180ms var(--ease); }
.text-link:hover .icon:last-child { transform: translateX(3px); }
.text-link:hover .icon:first-child:not(:last-child) { transform: translateX(-3px); }

/* Panels share a hairline gradient border (padding-box/border-box trick, no extra markup). */
.product__info, .age-gate, .message, .discovery, .perk--feature {
    border: 1px solid transparent;
    background:
        linear-gradient(160deg, rgb(30 26 50 / 96%), rgb(14 16 26 / 98%) 60%) padding-box,
        linear-gradient(140deg, rgb(139 92 246 / 70%), rgb(217 70 239 / 25%) 35%, rgb(255 255 255 / 6%) 60%, rgb(34 211 238 / 50%)) border-box;
}

/* ---------- Buttons and fields ---------- */
.button {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
    min-height: 48px; min-width: 0; max-width: 100%; padding: 0.75rem 1.5rem;
    border: 0; border-radius: var(--radius-pill);
    background: var(--gradient-primary); color: #fff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 8px 28px -8px rgb(192 38 211 / 55%);
    font: inherit; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.3;
    text-align: center; text-decoration: none; cursor: pointer;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), filter 180ms var(--ease);
}
.button .icon { width: 1.125rem; height: 1.125rem; transition: transform 180ms var(--ease); }
.button:hover { color: #fff; background: var(--gradient-primary-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 14px 36px -8px rgb(192 38 211 / 70%); }
.button:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.button:active { transform: translateY(0); filter: brightness(0.95); }
.button--ghost { background: rgb(255 255 255 / 4%); color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-border-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgb(139 92 246 / 14%); color: #fff; box-shadow: inset 0 0 0 1px var(--color-violet), 0 10px 30px -12px rgb(139 92 246 / 60%); }
.button--small { min-height: 38px; padding: var(--space-1) var(--space-4); font-size: 0.8125rem; }
.button--block { width: 100%; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: rgb(255 255 255 / 3%); color: var(--color-text-muted); cursor: pointer; transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease); }
.icon-button:hover { border-color: var(--color-danger); color: var(--color-danger); background: rgb(251 113 133 / 10%); }
input[type="search"], .cart-line select, .field input {
    font: inherit; color: var(--color-text); background: rgb(7 8 13 / 70%);
    border: 1px solid var(--color-border-strong); border-radius: var(--radius-s);
    transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
input[type="search"]::placeholder, .field input::placeholder { color: var(--color-text-muted); opacity: 1; }
.cart-line select:focus-visible, .field input:focus-visible { outline: none; border-color: var(--color-cyan); box-shadow: 0 0 0 3px rgb(34 211 238 / 22%); }

/* ---------- Site shell ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(7 8 13 / 72%); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(139 92 246 / 60%) 25%, rgb(34 211 238 / 60%) 75%, transparent); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-8); min-height: 80px; padding-block: var(--space-3); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); flex: none; color: var(--color-text); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--gradient-neon); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 6px 24px -4px rgb(168 85 247 / 60%); transition: transform 240ms var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__mark .icon { width: 25px; height: 25px; }
.search { display: flex; align-items: center; gap: var(--space-2); flex: 1 1 250px; max-width: 540px; margin-left: auto; padding: 5px 5px 5px 16px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: rgb(16 18 27 / 80%); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.search > .icon { color: var(--color-text-muted); width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 0.5rem 0.25rem; font-size: 0.875rem; }
.search:focus-within { border-color: var(--color-cyan); box-shadow: 0 0 0 3px rgb(34 211 238 / 18%), 0 0 30px -6px rgb(34 211 238 / 40%); }
.search:focus-within > .icon { color: var(--color-cyan); }
.search input:focus-visible { outline: none; }
.search .button { min-height: 38px; padding: 0.5rem 1.15rem; font-size: 0.8125rem; box-shadow: none; }
.search .button:hover { transform: none; box-shadow: 0 6px 20px -6px rgb(192 38 211 / 70%); }
.site-nav { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 42px; padding-inline: var(--space-3); border-radius: var(--radius-pill); color: var(--color-text-soft); font-size: 0.875rem; font-weight: 550; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.site-nav a:hover { color: #fff; background: rgb(255 255 255 / 6%); text-decoration: none; }
.site-nav .icon { width: 18px; height: 18px; color: var(--color-text-muted); transition: color 160ms var(--ease); }
.site-nav a:hover .icon { color: var(--color-cyan-soft); }
.language-switch { margin-left: var(--space-2); box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.nav-cart { position: relative; }
.nav-cart__count { display: inline-grid; place-items: center; min-width: 1.375rem; height: 1.375rem; padding-inline: 0.35rem; border-radius: var(--radius-pill); background: var(--color-lime); color: #0b1203; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 0 14px rgb(163 230 53 / 55%); }
.header-strip { position: relative; background: rgb(255 255 255 / 1.5%); border-top: 1px solid rgb(255 255 255 / 4%); }
.header-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 36px; color: var(--color-text-muted); font-size: 0.75rem; letter-spacing: 0.04em; }
.header-strip__label { display: inline-flex; align-items: center; gap: var(--space-3); }
.header-strip__platforms { display: inline-flex; gap: var(--space-3); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.6875rem; }
.header-strip__platforms span { color: var(--color-violet); }
.site-main { flex: 1; min-width: 0; padding-block: var(--space-8) 6rem; }
.site-main:focus { outline: none; }
.site-footer { position: relative; background: linear-gradient(180deg, rgb(10 11 18 / 70%), #05060a); color: var(--color-text-muted); font-size: 0.875rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgb(217 70 239 / 50%) 30%, rgb(34 211 238 / 50%) 70%, transparent); }
.site-footer__inner { padding-block: var(--space-12); display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: var(--space-8); }
.footer-brand p { max-width: 44ch; margin-top: var(--space-4); line-height: 1.8; }
.footer-links { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.footer-link { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--color-text-soft); font-weight: 550; }
.footer-link .icon { width: 1rem; height: 1rem; color: var(--color-cyan-soft); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-block: var(--space-6); border-top: 1px solid rgb(255 255 255 / 6%); font-size: 0.75rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.site-footer__bottom .icon { width: 14px; height: 14px; color: var(--color-violet); }

/* ---------- Home: hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden; min-height: 580px;
    display: flex; align-items: center; padding: var(--space-16);
    border: 1px solid transparent; border-radius: var(--radius-l);
    background:
        linear-gradient(#0c0f1c, #0c0f1c) padding-box,
        linear-gradient(130deg, rgb(139 92 246 / 80%), rgb(217 70 239 / 30%) 30%, rgb(255 255 255 / 6%) 55%, rgb(34 211 238 / 60%)) border-box;
    box-shadow: 0 30px 80px -30px rgb(124 58 237 / 45%);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; border-radius: inherit; background: url("images/gaming-universe.webp") center right / cover no-repeat; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
    background:
        linear-gradient(90deg, rgb(7 8 16 / 96%) 0%, rgb(7 8 16 / 85%) 32%, rgb(20 10 40 / 30%) 65%, rgb(7 8 16 / 0%)),
        linear-gradient(0deg, rgb(7 8 16 / 75%), transparent 45%),
        radial-gradient(40rem 25rem at 0 100%, rgb(124 58 237 / 35%), transparent 70%);
}
.hero__glow { position: absolute; z-index: -1; width: 28rem; height: 28rem; left: -8rem; top: -10rem; border-radius: 50%; background: radial-gradient(circle, rgb(217 70 239 / 30%), transparent 65%); filter: blur(20px); pointer-events: none; animation: hero-drift 14s ease-in-out infinite alternate; }
@keyframes hero-drift { to { transform: translate(6rem, 4rem) scale(1.15); } }
.hero__content { max-width: 580px; }
.hero .eyebrow { display: inline-flex; margin-bottom: var(--space-6); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: rgb(255 255 255 / 6%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--color-text-soft); letter-spacing: 0.14em; }
.hero h1 {
    font-size: clamp(2.75rem, 1.9rem + 3.4vw, 5.25rem); max-width: 11ch; line-height: 0.98; letter-spacing: -0.045em; margin-bottom: var(--space-6); font-weight: 700; text-wrap: initial;
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 4px 30px rgb(168 85 247 / 35%));
}
.hero__lead { color: var(--color-text-soft); font-size: 1rem; max-width: 44ch; line-height: 1.75; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }
.hero .button:not(.button--ghost) { min-height: 54px; padding-inline: 1.9rem; font-size: 1rem; }
.hero__secondary { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 54px; padding-inline: 1.4rem; border-radius: var(--radius-pill); color: var(--color-text); font-weight: 550; background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.hero__secondary:hover { color: #fff; text-decoration: none !important; background: rgb(34 211 238 / 12%); box-shadow: inset 0 0 0 1px var(--color-cyan); }
.hero__secondary .icon { width: 16px; height: 16px; transition: transform 180ms var(--ease); }
.hero__secondary:hover .icon { transform: translateY(3px); }
.hero__note { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-8); font-size: 0.8125rem; color: var(--color-text-muted); }
.hero__note .icon { width: 16px; height: 16px; color: var(--color-lime); }
.hero__caption { position: absolute; right: var(--space-8); bottom: var(--space-8); display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-1); color: var(--color-text-soft); font-family: var(--font-display); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em; }
.hero__caption span { color: var(--color-cyan-soft); letter-spacing: 0.3em; }

/* ---------- Home: sections, perks (bento) and discovery ---------- */
.section { margin-top: var(--space-16); }
.section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); flex-wrap: wrap; }
.section__header h2 { margin: 0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "feature feature email email" "feature feature guest price"; }
.perk { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-6); border-radius: var(--radius-m); background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface)); border: 1px solid var(--color-border); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.perk:hover { border-color: var(--color-border-strong); transform: translateY(-2px); }
.perk h3 { margin: 0; font-size: 1.1875rem; letter-spacing: -0.02em; }
.perk p { margin: 0; color: var(--color-text-muted); font-size: 0.875rem; }
.perk__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--space-2); border-radius: 14px; background: rgb(34 211 238 / 10%); color: var(--color-cyan-soft); box-shadow: inset 0 0 0 1px rgb(34 211 238 / 25%); }
.perk__icon .icon { width: 22px; height: 22px; }
.perk--email { grid-area: email; }
.perk--guest { grid-area: guest; }
.perk--price { grid-area: price; }
.perk--price .perk__icon { background: rgb(163 230 53 / 10%); color: var(--color-lime); box-shadow: inset 0 0 0 1px rgb(163 230 53 / 28%); }
.perk--guest .perk__icon { background: rgb(217 70 239 / 10%); color: #f0abfc; box-shadow: inset 0 0 0 1px rgb(217 70 239 / 28%); }
.perk--feature { grid-area: feature; justify-content: flex-end; min-height: 320px; padding: var(--space-8); }
.perk--feature::before { content: ""; position: absolute; width: 26rem; height: 26rem; right: -10rem; top: -12rem; border-radius: 50%; background: radial-gradient(circle, rgb(139 92 246 / 35%), transparent 65%); pointer-events: none; }
.perk--feature h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); letter-spacing: -0.03em; }
.perk--feature p { max-width: 44ch; font-size: 0.9375rem; }
.perk--feature .eyebrow { margin: 0; }
.platforms { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.platforms li { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.5rem 0.95rem; border-radius: var(--radius-pill); background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); color: var(--color-text); font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; transition: box-shadow 180ms var(--ease), background-color 180ms var(--ease); }
.platforms li:hover { background: rgb(139 92 246 / 14%); box-shadow: inset 0 0 0 1px rgb(139 92 246 / 60%); }
.platforms .icon { width: 1rem; height: 1rem; color: var(--color-cyan-soft); }
.discovery { position: relative; overflow: hidden; display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-8); padding: var(--space-12); margin-top: var(--space-16); border-radius: var(--radius-l); }
.discovery::after { content: ""; position: absolute; width: 30rem; height: 30rem; right: -8rem; bottom: -18rem; border-radius: 50%; background: radial-gradient(circle, rgb(34 211 238 / 20%), transparent 65%); pointer-events: none; }
.discovery__icon { display: grid; place-items: center; width: 76px; height: 76px; flex: none; border-radius: 22px; background: var(--gradient-neon); color: #fff; box-shadow: 0 10px 40px -8px rgb(168 85 247 / 60%); }
.discovery__icon .icon { width: 34px; height: 34px; }
.discovery__content { position: relative; flex: 1 1 280px; }
.discovery h2 { margin-bottom: var(--space-3); }
.discovery__content > p:last-child { color: var(--color-text-muted); max-width: 58ch; }
.discovery .button { position: relative; flex: none; }

/* ---------- Game cards ---------- */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.product-grid > li { min-width: 0; }
.product-card {
    position: relative; height: 100%; overflow: hidden; border-radius: var(--radius-m);
    border: 1px solid transparent;
    background: linear-gradient(170deg, var(--color-surface-2), var(--color-surface)) padding-box, linear-gradient(var(--color-border), var(--color-border)) border-box;
    box-shadow: var(--shadow-card);
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.product-card:hover, .product-card:focus-within {
    transform: translateY(-6px);
    background: linear-gradient(170deg, var(--color-surface-2), var(--color-surface)) padding-box, linear-gradient(140deg, var(--color-violet), var(--color-magenta) 45%, var(--color-cyan)) border-box;
    box-shadow: var(--shadow-card-hover), 0 0 40px -12px rgb(168 85 247 / 55%);
}
.product-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.product-card__link:hover { color: inherit; }
.product-card__link:focus-visible { outline-offset: -3px; border-radius: var(--radius-m); }
.product-card .cover img { transition: transform 500ms var(--ease); }
.product-card:hover .cover img { transform: scale(1.06); }
.product-card:hover .cover--blurred img { transform: scale(1.12); }
.product-card .cover::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, var(--color-surface-2), transparent); pointer-events: none; }
.product-card__body { position: relative; padding: var(--space-2) var(--space-5) var(--space-5); display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 1.0625rem; font-weight: 600; margin: 0 0 var(--space-2); line-height: 1.3; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__meta { color: var(--color-text-muted); font-size: 0.75rem; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin: 0 0 var(--space-4); }
.product-card__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: var(--space-2); border-radius: 50%; background: var(--color-violet); vertical-align: middle; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid rgb(255 255 255 / 6%); }
.product-card__price { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--color-lime); font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgb(163 230 53 / 30%); }
.product-card__price--unavailable { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; color: var(--color-text-muted); text-shadow: none; }
.product-card__action { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px var(--color-border-strong); color: var(--color-text-soft); transition: background 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease); }
.product-card__action .icon { width: 17px; height: 17px; transition: transform 200ms var(--ease); }
.product-card:hover .product-card__action { background: var(--gradient-primary); box-shadow: 0 6px 20px -6px rgb(192 38 211 / 70%); color: #fff; }
.product-card:hover .product-card__action .icon { transform: translateX(2px) rotate(-45deg); }
.cover { position: relative; aspect-ratio: 460 / 260; background: radial-gradient(ellipse at 80% 0, rgb(124 58 237 / 35%), transparent 70%), var(--color-surface-3); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--blurred img { filter: blur(18px) saturate(0.8); transform: scale(1.1); }
.cover__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--space-3); align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 0.8125rem; padding: var(--space-4); text-align: center; }
.cover__placeholder > .icon { width: 44px; height: 44px; color: var(--color-violet); opacity: 0.8; }
.badge { display: inline-flex; align-items: center; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; background: rgb(139 92 246 / 14%); color: #ddd6fe; box-shadow: inset 0 0 0 1px rgb(139 92 246 / 40%); }
.badge--mature { background: var(--color-mature); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%), 0 4px 16px -4px rgb(190 18 60 / 70%); font-family: var(--font-display); font-weight: 700; }
.cover .badge--mature { position: absolute; z-index: 1; top: var(--space-3); right: var(--space-3); }

/* ---------- Catalog and pagination ---------- */
.catalog-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4) var(--space-6); padding: var(--space-6) 0 var(--space-8); border-bottom: 1px solid var(--color-border); }
.catalog-header h1 { margin: 0; }
.catalog-header .muted { margin: 0; padding: 0.45rem 1rem; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--color-lime); border-radius: var(--radius-pill); background: rgb(163 230 53 / 8%); box-shadow: inset 0 0 0 1px rgb(163 230 53 / 30%); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); margin-block: var(--space-6) var(--space-8); font-size: 0.875rem; color: var(--color-text-muted); }
.catalog-toolbar > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.catalog-toolbar > span .icon { color: var(--color-violet); }
.empty { display: flex; align-items: center; flex-direction: column; padding: var(--space-16) var(--space-6); text-align: center; background: rgb(16 18 27 / 70%); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-l); }
.empty h2 { font-size: 1.5rem; }
.empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--space-6); border-radius: 20px; background: rgb(139 92 246 / 14%); color: #c4b5fd; box-shadow: inset 0 0 0 1px rgb(139 92 246 / 40%), 0 0 40px -10px rgb(139 92 246 / 60%); }
.empty__icon .icon { width: 28px; height: 28px; }
.empty .button { margin-top: var(--space-6); }
.pager { margin-top: var(--space-12); }
.pager__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; align-items: center; }
.pager__link { display: inline-flex; align-items: center; min-width: 2.875rem; min-height: 2.875rem; justify-content: center; padding: 0.5rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-text-soft); font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; transition: border-color 160ms var(--ease), color 160ms var(--ease), background-color 160ms var(--ease); }
.pager__link:hover { border-color: var(--color-cyan); color: #fff; background: rgb(34 211 238 / 8%); }
.pager__link[aria-current="page"] { border-color: transparent; background: var(--gradient-primary); color: #fff; font-weight: 700; box-shadow: 0 6px 20px -6px rgb(192 38 211 / 65%); }
.pager__gap { color: var(--color-text-muted); padding-inline: var(--space-1); }

/* ---------- Product details and age verification ---------- */
.breadcrumbs { font-size: 0.8125rem; margin-block: var(--space-2) var(--space-8); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: 0; margin: 0; color: var(--color-text-muted); }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-cyan-soft); }
.breadcrumbs li { overflow-wrap: anywhere; min-width: 0; }
.breadcrumbs li + li::before { content: "›"; color: var(--color-violet); margin-right: var(--space-2); }
.breadcrumbs [aria-current="page"] { color: var(--color-text); }
.product { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 1fr); align-items: start; }
.product__cover { position: sticky; top: calc(var(--header-height) + var(--space-6)); }
.product__cover::before { content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: var(--radius-l); background: var(--gradient-neon); filter: blur(48px); opacity: 0.35; }
.product__cover .cover { aspect-ratio: 16 / 10; border-radius: var(--radius-l); box-shadow: 0 0 0 1px rgb(255 255 255 / 10%), var(--shadow-card-hover); }
.product__info { min-width: 0; padding: var(--space-8); border-radius: var(--radius-l); }
.product__info h1 { font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); margin-bottom: var(--space-5); }
.product__badges { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-8); }
.price-box { position: relative; display: flex; flex-direction: column; gap: var(--space-1); margin: 0 0 var(--space-8); padding: var(--space-5) var(--space-6); border-radius: var(--radius-m); background: linear-gradient(120deg, rgb(163 230 53 / 10%), rgb(34 211 238 / 6%)); box-shadow: inset 0 0 0 1px rgb(163 230 53 / 30%); }
.price-box p { margin: 0; }
.price-box__amount { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--color-lime); font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgb(163 230 53 / 35%); }
.price-box__note { color: var(--color-text-muted); font-size: 0.8125rem; }
.price-box--unavailable { background: rgb(255 255 255 / 3%); box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.price-box--unavailable .price-box__amount { font-size: 1.375rem; color: var(--color-text-soft); text-shadow: none; }
.add-to-cart { margin-block: var(--space-6) var(--space-8); }
.add-to-cart .button { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.facts { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 var(--space-4); margin: 0 0 var(--space-6); font-size: 0.875rem; }
.facts dt, .facts dd { padding-block: var(--space-3); border-bottom: 1px solid rgb(255 255 255 / 7%); overflow-wrap: anywhere; }
.facts dt { color: var(--color-text-muted); }
.facts dd { margin: 0; color: var(--color-text); }
.transfer { margin-top: var(--space-6); }
.transfer h3 { margin: 0 0 var(--space-3); font-size: 1rem; }
.transfer__facts { margin-bottom: var(--space-3); }
.transfer__value { user-select: all; font-size: 0.9375rem; }
.checkout-transfer { margin-block: var(--space-4); }
.price-old { color: var(--color-text-muted); font-weight: 400; margin-right: var(--space-1); }
.discount-partial { display: block; font-size: 0.8125rem; color: var(--color-text-muted); }
.discount-code { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; margin-bottom: var(--space-4); }
.discount-code__form { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; width: 100%; }
.discount-code__form input { flex: 1 1 10rem; min-width: 0; text-transform: uppercase; }
.discount-code__current { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 0.875rem; }
.discount-code__current--error { color: var(--color-text-soft); }
.cart-summary__discount { display: flex; justify-content: space-between; margin: 0 0 var(--space-2); color: var(--color-text-soft); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; }
.tags .badge { background: rgb(34 211 238 / 7%); color: var(--color-text-soft); box-shadow: inset 0 0 0 1px rgb(34 211 238 / 22%); }
.notice { display: flex; align-items: center; gap: var(--space-3); margin-block: var(--space-8) var(--space-6); padding: var(--space-4) var(--space-5); border-radius: var(--radius-m); background: rgb(139 92 246 / 10%); color: var(--color-text-soft); box-shadow: inset 0 0 0 1px rgb(139 92 246 / 35%); font-size: 0.875rem; }
.notice .icon { color: #c4b5fd; }
.notice--success { background: rgb(134 239 172 / 8%); box-shadow: inset 0 0 0 1px rgb(134 239 172 / 32%); color: #d1fae5; }
.notice--success .icon { color: var(--color-success); }
.notice--warning { background: rgb(253 186 116 / 8%); box-shadow: inset 0 0 0 1px rgb(253 186 116 / 32%); color: #fde9d6; }
.notice--warning .icon { color: var(--color-warning); }
.age-gate, .message { position: relative; overflow: hidden; max-width: 640px; margin: var(--space-12) auto; padding: var(--space-12); text-align: center; border-radius: var(--radius-l); box-shadow: var(--shadow-card-hover), 0 0 80px -30px rgb(168 85 247 / 50%); }
.age-gate h1, .message h1 { font-size: clamp(1.875rem, 1.2rem + 1.4vw, 2.75rem); }
.age-gate > p, .message > p { color: var(--color-text-muted); }
.age-gate__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto var(--space-6); border-radius: 22px; background: linear-gradient(140deg, #e11d48, #9f1239); color: #fff; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; box-shadow: 0 10px 40px -8px rgb(225 29 72 / 60%); }
.age-gate__actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-8); }

/* ---------- Cart, checkout and orders ---------- */
.checkout { max-width: 1080px; margin-inline: auto; }
.checkout__grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: var(--space-8); }
.checkout__summary, .checkout__form, .cart-summary { padding: var(--space-8); background: linear-gradient(170deg, var(--color-surface-2), var(--color-surface)); border: 1px solid var(--color-border); border-radius: var(--radius-l); }
.checkout__summary h2 { font-size: 1.375rem; }
.checkout__form { display: flex; flex-direction: column; gap: var(--space-6); }
.checkout__form .button { width: 100%; min-height: 54px; }
.cart-lines { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.cart-line { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-4) var(--space-6); background: linear-gradient(170deg, var(--color-surface-2), var(--color-surface)); border: 1px solid var(--color-border); border-radius: var(--radius-m); transition: border-color 160ms var(--ease); }
.cart-line:hover { border-color: var(--color-border-strong); }
.cart-line--unavailable { border-style: dashed; opacity: 0.85; }
.cart-line__product { display: flex; flex-direction: column; gap: var(--space-1); flex: 1 1 16rem; min-width: 0; }
.cart-line__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--color-text); overflow-wrap: anywhere; }
a.cart-line__title:hover { color: var(--color-cyan-soft); }
.cart-line__warning { color: var(--color-danger); font-size: 0.8125rem; }
.cart-line__quantity { display: flex; align-items: center; gap: var(--space-2); }
.cart-line__total { margin: 0; min-width: 7rem; text-align: right; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--color-lime); font-variant-numeric: tabular-nums; }
.cart-line select { min-height: 40px; padding: var(--space-2) var(--space-3); cursor: pointer; }
.field input { min-height: 50px; padding: var(--space-3) var(--space-4); }
.cart-summary { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.cart-summary > .button { width: 100%; min-height: 54px; }
.cart-summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); width: 100%; margin: 0; font-size: 1.125rem; }
.cart-summary__total strong { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: -0.02em; color: var(--color-lime); font-variant-numeric: tabular-nums; text-shadow: 0 0 26px rgb(163 230 53 / 30%); }
.summary-lines { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.summary-lines li { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid rgb(255 255 255 / 7%); overflow-wrap: anywhere; }
.summary-lines li > span:last-child { white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-weight: 600; }
.field__hint { margin: 0; color: var(--color-text-muted); font-size: 0.8125rem; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-m); background: rgb(255 255 255 / 2.5%); box-shadow: inset 0 0 0 1px var(--color-border); font-size: 0.875rem; cursor: pointer; transition: box-shadow 160ms var(--ease); }
.consent:hover { box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.consent:has(input:checked) { background: rgb(139 92 246 / 8%); box-shadow: inset 0 0 0 1px rgb(139 92 246 / 50%); }
.consent input { width: 1.125rem; height: 1.125rem; margin-top: 0.2rem; flex: none; accent-color: var(--color-violet); cursor: pointer; }

/* Invoice data at checkout: shown only when asked for (CSS :has, no JavaScript); the NIP only for a company. */
.invoice { display: flex; flex-direction: column; gap: var(--space-4); margin: 0; padding: 0; border: 0; min-width: 0; }
.invoice__fields, .invoice__nip { display: none; }
.invoice:has(#invoice:checked) .invoice__fields { display: flex; flex-direction: column; gap: var(--space-4); }
.invoice:has(#buyer-company:checked) .invoice__nip { display: flex; }
.invoice__types { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.choice { display: inline-flex; gap: var(--space-2); align-items: center; padding: var(--space-2) var(--space-4); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--color-border); font-size: 0.875rem; cursor: pointer; }
.choice:has(input:checked) { background: rgb(139 92 246 / 10%); box-shadow: inset 0 0 0 1px rgb(139 92 246 / 50%); }
.choice input { accent-color: var(--color-violet); cursor: pointer; }
.invoice__place { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-4); }
.order-invoice { display: flex; flex-direction: column; gap: var(--space-1); }
.order-status { display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-m); background: rgb(34 211 238 / 8%); box-shadow: inset 0 0 0 1px rgb(34 211 238 / 32%); }
.order-status p { margin: 0; }
.order-status .icon { width: 30px; height: 30px; color: var(--color-cyan); }
.order-status__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.order-status--verifying .icon { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.order-status--pendingpayment, .order-status--paid, .order-status--fulfilling, .order-status--keysready { background: rgb(163 230 53 / 8%); box-shadow: inset 0 0 0 1px rgb(163 230 53 / 32%); }
.order-status--pendingpayment .icon, .order-status--paid .icon, .order-status--fulfilling .icon, .order-status--keysready .icon { color: var(--color-lime); }
.order-status--paid .icon, .order-status--fulfilling .icon { animation: pulse 1.6s ease-in-out infinite; }
.order-status--rejected, .order-status--expired, .order-status--cancelled, .order-status--fulfilmentfailed { background: rgb(253 186 116 / 8%); box-shadow: inset 0 0 0 1px rgb(253 186 116 / 32%); }
.order-status--rejected .icon, .order-status--expired .icon, .order-status--cancelled .icon, .order-status--fulfilmentfailed .icon { color: var(--color-warning); }
.order-keys { margin-top: var(--space-8); }
.key-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.key-item details { padding: var(--space-3) var(--space-4); border-radius: var(--radius-m, 12px); background: rgb(255 255 255 / 4%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); }
.key-item summary { cursor: pointer; font-weight: 600; }
.key-item__code { display: block; margin-top: var(--space-3); padding: var(--space-3); font-size: 1.05rem; letter-spacing: 0.04em; overflow-wrap: anywhere; user-select: all; background: rgb(0 0 0 / 30%); border-radius: 8px; }
.key-item__image { display: block; max-width: 100%; height: auto; margin-top: var(--space-3); border-radius: 8px; }
.preorder-note, .key-status { display: block; margin-top: var(--space-1); font-size: 0.8125rem; color: var(--color-text-muted); }
.key-status--ready { color: var(--color-lime); }
.key-status--failed { color: var(--color-warning); }
.product-card__preorder { color: var(--color-lime); font-weight: 600; }
.badge--preorder { background: rgb(163 230 53 / 10%); color: var(--color-lime); box-shadow: inset 0 0 0 1px rgb(163 230 53 / 35%); }
.price-box__note--preorder { color: var(--color-lime); }
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { margin-top: var(--space-8); font-size: 1.25rem; }
.legal > p { color: var(--color-text-soft); }

/* ---------- Responsive ---------- */
@media (min-width: 60em) {
    .checkout__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
    .product { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-12); }
}
@media (max-width: 64em) {
    .site-header__inner { gap: var(--space-4); }
    .hero { padding: var(--space-12); min-height: 520px; }
    .hero__content { max-width: 500px; }
    .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "feature feature" "email email" "guest price"; }
    .perk--feature { min-height: 260px; }
    .discovery { padding: var(--space-8); gap: var(--space-6); }
}
@media (max-width: 48em) {
    :root { --header-height: 9.5rem; }
    .container { padding-inline: var(--space-4); }
    .site-header__inner { min-height: 68px; gap: var(--space-3); }
    .brand { font-size: 1.0625rem; gap: var(--space-2); }
    .brand__mark { width: 36px; height: 36px; border-radius: 11px; }
    .brand__mark .icon { width: 22px; height: 22px; }
    .search { order: 3; flex: 1 0 100%; max-width: none; }
    .search .button { min-height: 40px; }
    .site-nav { margin-left: auto; gap: var(--space-1); }
    .site-nav a { font-size: 0.8125rem; padding-inline: var(--space-2); }
    .language-switch { margin-left: 0; }
    .header-strip__platforms { display: none; }
    .header-strip__inner { min-height: 30px; }
    .site-main { padding-top: var(--space-6); }
    .hero { min-height: 580px; padding: 2.5rem var(--space-6); align-items: flex-end; border-radius: var(--radius-m); }
    .hero::before { background-position: 65% top; }
    .hero::after { background: linear-gradient(90deg, rgb(7 8 16 / 75%), rgb(7 8 16 / 20%)), linear-gradient(0deg, rgb(7 8 16 / 98%), rgb(7 8 16 / 78%) 45%, rgb(7 8 16 / 10%)); }
    .hero__content { max-width: 460px; }
    .hero h1 { font-size: clamp(2.5rem, 1.6rem + 4.5vw, 3.75rem); }
    .hero__caption { display: none; }
    .hero__lead { font-size: 0.9375rem; }
    .section { margin-top: var(--space-12); }
    .perks { grid-template-columns: minmax(0, 1fr); grid-template-areas: "feature" "email" "guest" "price"; }
    .perk--feature { min-height: 0; padding: var(--space-6); }
    .product-grid { gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-card__body { padding: var(--space-2) var(--space-3) var(--space-4); }
    .product-card__title { font-size: 0.9375rem; }
    .product-card__meta { font-size: 0.6875rem; margin-bottom: var(--space-3); }
    .product-card__footer { padding-top: var(--space-3); }
    .product-card__price { font-size: 1.0625rem; }
    .product-card__action { width: 32px; height: 32px; }
    .product__cover { position: static; }
    .product__info { padding: var(--space-6); }
    .checkout__summary, .checkout__form, .cart-summary { padding: var(--space-6); }
    .discovery { margin-top: var(--space-12); }
    .discovery__icon { width: 56px; height: 56px; border-radius: var(--radius-m); }
    .discovery__icon .icon { width: 26px; height: 26px; }
    .discovery__content { flex-basis: 100%; }
    .site-footer__inner { padding-block: var(--space-8); }
}
@media (max-width: 25em) {
    .site-header__inner { column-gap: var(--space-2); }
    .site-header .brand { font-size: 0.9375rem; }
    .language-switch .icon { display: none; }
    .site-nav .nav-catalog { font-size: 0; gap: 0; width: 40px; height: 42px; justify-content: center; padding: 0; }
    .site-nav .nav-catalog .icon { width: 19px; height: 19px; }
    .hero { padding-inline: var(--space-4); }
    .hero h1 { font-size: clamp(2.125rem, 10vw, 2.5rem); max-width: none; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .product-card__action { display: none; }
    .age-gate, .message { padding: var(--space-8) var(--space-6); }
    .discovery { padding: var(--space-6); }
}
@media (hover: none) {
    .product-card:hover, .perk:hover, .button:hover { transform: none; }
    .product-card:hover .cover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Storefront visual direction: midnight blue, violet neon and warm gold. */
:root {
    --color-bg: #050b15;
    --color-surface: #0c1321;
    --color-surface-2: #101827;
    --color-border: #273047;
    --color-violet: #a637ff;
    --color-lime: #ffb800;
    --color-lime-soft: #ffce4b;
    --color-accent: #c45cff;
    --color-accent-hover: #e3a4ff;
    --container: 1480px;
}
body { background: #050b15; }
body::before { display: none; }
.site-header { background: #050c19; }
.site-header::after { background: #1d2639; }
.brand { font-size: 1.45rem; }
.brand__mark { background: linear-gradient(145deg, #592195, #1b123a); color: #ffbd19; border: 1px solid #a851ff; box-shadow: 0 0 20px #8220c870; }
.search { border-color: #8f36d6; background: #080e1b; }
.header-strip { background: #050a13; }
.header-strip__inner { min-height: 48px; color: #f4f3fa; font-size: .85rem; }
.header-strip__platforms { font-size: .8rem; letter-spacing: .04em; }
.site-main { padding-top: 0; }
.hero { min-height: 325px; margin-inline: calc(-1 * var(--space-6)); padding: 2rem 4rem; border: 0; border-radius: 0; box-shadow: none; }
.hero::before { background-image: url('images/fantasy-hero.png'); background-position: center; }
.hero::after { background: linear-gradient(90deg, #050b18ed 0%, #050b18c9 32%, #050b1830 65%, transparent 100%); }
.hero__glow, .hero__secondary, .hero__caption { display: none; }
.hero__content { max-width: 570px; }
.hero__brand { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; margin-bottom: .55rem; }
.hero__brand span { color: #a832fa; }
.hero h1 { max-width: none; margin-bottom: .6rem; font-size: clamp(1.55rem, 2.2vw, 2.15rem); line-height: 1.15; letter-spacing: -.03em; color: white; background: none; filter: none; }
.hero__lead { color: #eef0fa; font-size: 1rem; line-height: 1.45; }
.hero__actions { margin-top: 1.2rem; }
.hero .button:not(.button--ghost) { min-height: 48px; color: #161000; background: linear-gradient(#ffce32, #ffa900); box-shadow: 0 0 22px #ffb80070; }
.home-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 1.2rem 0; }
.home-benefits > div { display: flex; align-items: center; gap: .8rem; min-width: 0; padding-inline: .6rem; }
.home-benefits > div + div { border-left: 1px solid #202a3d; }
.home-benefits .icon { width: 2rem; height: 2rem; color: #c464ff; filter: drop-shadow(0 0 6px #ac34ff); }
.home-benefits strong, .home-benefits small { display: block; line-height: 1.3; }
.home-benefits small { color: #b9c0d2; margin-top: .2rem; }
.platform-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.platform-strip > span { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 64px; padding: .7rem; border: 1px solid #087dba; border-radius: 11px; background: linear-gradient(115deg, #003a59, #071728); color: white; font-size: 1.05rem; font-weight: 700; }
.platform-strip > span:nth-child(2) { border-color: #087c24; background: linear-gradient(115deg, #074319, #071b0e); }
.platform-strip > span:nth-child(3) { border-color: #135fcb; background: linear-gradient(115deg, #074394, #08182e); }
.platform-strip > span:nth-child(4) { border-color: #ba2230; background: linear-gradient(115deg, #711522, #240b16); }
.platform-strip > span:nth-child(5) { border-color: #8a2fc0; background: linear-gradient(115deg, #491373, #170d2d); }
.platform-strip .icon { width: 1.9rem; height: 1.9rem; }
.releases { margin-top: 1.7rem; }
.releases .section__header { margin-bottom: 1rem; }
.releases h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.55rem; }
.releases h2 .icon { color: #ffb800; }
.product-grid { gap: 1.25rem; }
.product-card { border-radius: 14px; }
.product-card .cover { aspect-ratio: 460 / 190; }
.product-card .cover::after { display: none; }
.product-card__body { padding: .65rem 1rem 1rem; }
.product-card__meta { margin-bottom: .5rem; }
.product-card__footer { border: 0; padding-top: 0; }
.product-card__price { color: #ffb800; text-shadow: none; }
.product-card__action { border-radius: 10px; color: white; background: #461479; box-shadow: inset 0 0 0 1px #c96eff, 0 0 12px #a22fff70; }
.discovery { margin-top: 1.7rem; padding: 1.5rem 2rem; border-radius: 14px; background: linear-gradient(110deg, #30105c, #0b1230 60%, #24104d); }
.discovery__icon { width: 56px; height: 56px; }
.discovery h2 { margin-bottom: .3rem; }
.discovery .eyebrow { display: none; }
@media (max-width: 64em) {
    .hero { min-height: 325px; padding: 2rem; }
    .home-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-benefits > div:nth-child(3) { border-left: 0; }
    .platform-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48em) {
    .hero { min-height: 410px; margin-inline: calc(-1 * var(--space-4)); align-items: flex-end; padding: 2rem var(--space-4); }
    .hero::before { background-position: 65% center; }
    .hero::after { background: linear-gradient(0deg, #050b18 0%, #050b18d9 42%, #050b1840 100%); }
    .hero h1 { font-size: 1.55rem; }
    .home-benefits { gap: 1rem .5rem; }
    .home-benefits > div { padding: 0; border: 0 !important; }
    .home-benefits small { font-size: .72rem; }
    .platform-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .platform-strip > span { min-height: 52px; font-size: .9rem; }
    .platform-strip .icon { width: 1.4rem; height: 1.4rem; }
    .releases { margin-top: 1.5rem; }
    .product-grid { gap: .75rem; }
    .discovery { margin-top: 1.5rem; padding: 1.5rem; }
}


/* GameKeyCrypt branding and compact reference-inspired header. */
.brand__text { display: flex; flex-direction: column; gap: .15rem; line-height: 1; }
.brand__name span { color: #a633f5; }
.brand__tagline { color: #e3dff0; font-family: var(--font-sans); font-size: .58rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.brand__mark { width: 52px; height: 52px; border-radius: 12px; }
.brand__mark .icon { width: 28px; height: 28px; }
.header-strip__inner a { display: inline-flex; align-items: center; gap: .65rem; color: #f6f4fb; font-weight: 600; }
.header-strip__inner a .icon { color: #b95cff; }
.header-strip__platforms { text-transform: none; font-family: var(--font-sans); font-size: .9rem; }
.site-main { padding-top: var(--space-8); }
.site-main:has(> .hero) { padding-top: 0; }
.releases .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 64em) {
    .brand { font-size: 1.2rem; }
    .header-strip__platforms { gap: .45rem; font-size: .75rem; }
}
@media (max-width: 48em) {
    .brand { font-size: 1.05rem; }
    .brand__mark { width: 38px; height: 38px; }
    .brand__mark .icon { width: 22px; height: 22px; }
    .brand__tagline { font-size: .45rem; letter-spacing: .08em; }
    .header-strip__inner { min-height: 40px; }
    .header-strip__inner a { font-size: .75rem; }
    .releases .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 25em) {
    .brand__tagline { display: none; }
}

/* Original artwork supplied in the design reference, framed as CSS sprites. */
.brand__mark--chest {
    width: 64px; height: 60px; border: 0; border-radius: 0; box-shadow: none;
    background: url("images/design-reference.png") 4.45% 1.05% / 2048% auto no-repeat;
}
.platform-strip > .platform-strip__reference {
    display: block; min-height: 0; aspect-ratio: 273 / 69; padding: 0;
    border: 0; border-radius: 11px;
    background-image: url("images/design-reference.png");
    background-size: 562.64% auto; background-repeat: no-repeat;
}
.platform-strip > .platform-strip__reference--steam { background-position: 4.12% 53.51%; }
.platform-strip > .platform-strip__reference--xbox { background-position: 27.24% 53.51%; }
.platform-strip > .platform-strip__reference--playstation { background-position: 50.2% 53.51%; }
@media (max-width: 48em) {
    .brand__mark--chest { width: 48px; height: 45px; }
}

/* Use the supplied hero artwork while keeping the copy and link as real HTML. */
.hero {
    min-height: 0; aspect-ratio: 1536 / 292;
    padding: 1.5rem 5%;
}
.hero::before {
    background-image: url("images/design-reference.png");
    background-size: 100% auto;
    background-position: center 19.81%;
}
.hero::after {
    background: linear-gradient(90deg, #05101f 0%, #05101f 36%, rgb(5 16 31 / 75%) 41%, rgb(5 16 31 / 20%) 52%, transparent 62%);
}
.hero__content { max-width: 40%; }
.hero__brand { font-size: clamp(2.1rem, 4vw, 4rem); }
.hero h1 { font-size: clamp(1.3rem, 2.1vw, 2rem); }
.hero__lead { max-width: 45ch; }
.hero__actions { margin-top: 1rem; }
@media (max-width: 64em) {
    .hero { aspect-ratio: auto; min-height: 290px; }
    .hero::before { background-size: auto 350.68%; background-position: 58% 19.81%; }
    .hero__content { max-width: 55%; }
    .hero::after { background: linear-gradient(90deg, #05101f 0%, rgb(5 16 31 / 96%) 34%, rgb(5 16 31 / 65%) 60%, rgb(5 16 31 / 10%) 100%); }
}
@media (max-width: 48em) {
    .hero { min-height: 410px; padding: 2rem var(--space-4); }
    .hero::before { background-size: auto 350.68%; background-position: 63% 19.81%; }
    .hero::after { background: linear-gradient(0deg, #050b18 0%, #050b18ed 33%, #050b1870 64%, #050b1810 100%); }
    .hero__content { max-width: 100%; }
    .hero__brand { font-size: clamp(2.4rem, 9vw, 3.2rem); }
    .hero h1 { font-size: clamp(1.45rem, 5vw, 1.8rem); }
}

/* Nintendo and software use the same original artwork as the other platform tiles. */
.platform-strip > .platform-strip__reference--nintendo { background-position: 73.16% 53.51%; }
.platform-strip > .platform-strip__reference--software { position: relative; background-position: 96.12% 53.51%; }
:lang(en) .platform-strip__reference--software::after {
    content: "Software"; position: absolute; inset: 23% 12% 23% 29%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(105deg, #241042, #30104a);
    color: white; font-size: clamp(.75rem, 1.1vw, 1rem); font-weight: 700;
}
@media (max-width: 48em) {
    :lang(en) .platform-strip__reference--software::after { font-size: clamp(.7rem, 3vw, 1rem); }
}

/* Compact game cards, matching the reference while keeping cart forms separate from links. */
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { display: flex; flex-direction: column; height: 100%; border-radius: 14px; background: #0e1522; }
.product-card__cover-link { display: block; color: inherit; }
.product-card .cover { aspect-ratio: 340 / 120; }
.product-card__body { padding: .2rem 1rem .75rem; gap: .25rem; }
.product-card__title { margin: 0; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; }
.product-card__title a { color: var(--color-text); }
.product-card__meta { min-height: 1.2em; margin: 0 0 .2rem; font-size: .8rem; color: #c3cbe0; }
.product-card__footer { gap: .5rem; padding: 0; border: 0; }
.product-card__price { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 700; }
.product-card__price--unavailable { font-size: .8rem; color: var(--color-text-muted); }
.product-card__cart { margin: 0; flex: none; }
.product-card__action, .product-card:hover .product-card__action {
    display: grid; place-items: center; width: 42px; height: 38px; padding: 0; border: 1px solid #d998ff;
    border-radius: 10px; background: linear-gradient(#6820a5, #35105d); color: white;
    box-shadow: 0 0 12px rgb(183 66 255 / 55%), inset 0 1px 2px rgb(255 255 255 / 25%); cursor: pointer;
}
.product-card__action:hover { background: #852ad0; color: white; }
.product-card:hover .product-card__action .icon { transform: none; }
@media (max-width: 64em) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 48em) {
    .product-grid, .releases .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .product-card__body { padding: .45rem .65rem .65rem; }
    .product-card__title { font-size: .9rem; }
    .product-card__meta { font-size: .7rem; }
    .product-card__price { font-size: 1rem; }
    .product-card__price--unavailable { font-size: .75rem; }
    .product-card__action, .product-card:hover .product-card__action { width: 36px; height: 34px; }
}
