/* FrostModz — storefront styles */

:root {
  --bg: #04060b;
  --bg-2: #080c15;
  --panel: #0b111d;
  --panel-2: #0f1626;
  --line: rgba(150, 180, 255, 0.09);
  --line-2: rgba(150, 180, 255, 0.17);
  --line-3: rgba(150, 180, 255, 0.28);
  --text: #e9eefa;
  --muted: #8c97ae;
  --dim: #58637b;
  --blue: #1a56ff;
  --blue-hi: #3d74ff;
  --blue-deep: #0a2a8a;
  --ice: #b8e1ff;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f8717a;
  --cut: 12px;
  --wrap: 1240px;
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--display); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
body::before { /* film grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.hidden { display: none !important; }

.display { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.012em; }
.ice { background: linear-gradient(180deg, #fff 35%, #a9d8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- announcement + header ---------- */

.announce { background: var(--blue); color: #fff; text-align: center; padding: 8px 16px; font-size: 13.5px; font-weight: 500; }
.announce a { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(4, 6, 11, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; }
.brand span { font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav a { transition: color .15s; position: relative; }
.nav a:hover, .nav a.on { color: var(--text); }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; background: var(--blue); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-link { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; transition: .15s; }
.icon-link:hover { color: var(--text); border-color: var(--line-3); }
.icon-link svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---------- buttons ---------- */

.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 22px; border: 0; cursor: pointer; white-space: nowrap;
  font-stretch: 112%; font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--blue); color: #fff; transition: background .15s, transform .1s, opacity .15s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.btn:hover { background: var(--blue-hi); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); clip-path: none; border-radius: 2px; }
.btn.ghost:hover { background: rgba(150, 180, 255, .06); }
.btn.light { background: #fff; color: #05070c; }
.btn.light:hover { background: var(--ice); }
.btn.sm { --h: 36px; padding: 0 15px; font-size: 12px; --cut: 8px; }
.btn.lg { --h: 54px; padding: 0 30px; font-size: 14.5px; }
.btn.block { width: 100%; }
.btn.danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1px rgba(248, 113, 122, .35); clip-path: none; }
.btn.danger:hover { background: rgba(248, 113, 122, .08); }

/* ---------- status ---------- */

.status { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.status.online { color: var(--ok); }
.status.online i { animation: pulse 2.4s infinite; }
.status.updating, .status.testing { color: var(--warn); }
.status.offline { color: var(--bad); }
.status.soon { color: var(--muted); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent); } }

/* ---------- hero ---------- */

.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero::before { /* brand arc, echoes the product art */
  content: ''; position: absolute; width: 1500px; height: 1500px; right: -560px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(26, 86, 255, .34), rgba(26, 86, 255, .10) 62%, transparent 63%);
  box-shadow: inset 0 0 0 1px rgba(120, 160, 255, .10);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; min-height: 600px; }
.hero h1 { font-size: clamp(64px, 10.4vw, 156px); margin: 22px 0 26px; }
.hero h1 span { display: block; }
.hero .lead { font-size: 18px; color: #b5c0d6; max-width: 480px; }
.hero .lead b { color: var(--text); font-weight: 600; }
.hero .ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 12px; padding: 7px 12px 7px 10px; border: 1px solid var(--line-2); background: rgba(8, 12, 21, .6); }
.kicker .sep { width: 1px; height: 12px; background: var(--line-3); }

.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.hero-facts div { padding: 18px 34px 0 0; margin-right: 34px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; }
.hero-facts b { display: block; font-stretch: 115%; font-weight: 700; font-size: 15px; }
.hero-facts span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; height: 560px; }
.hero-art .shot { position: absolute; top: -40px; bottom: 10px; right: -30px; width: 74%; -webkit-mask-image: radial-gradient(closest-side at 55% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 55% 46%, #000 62%, transparent 100%); }
.hero-art .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }

.menu-mock { position: absolute; left: 0; bottom: 0; width: 300px; background: rgba(7, 10, 18, .94); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0,0,0,.4); font-size: 13px; }
.menu-mock header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(26, 86, 255, .08); }
.menu-mock header .dots { display: flex; gap: 5px; }
.menu-mock header .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-3); }
.menu-mock .tabs { display: flex; border-bottom: 1px solid var(--line); }
.menu-mock .tabs span { flex: 1; text-align: center; padding: 8px 0; color: var(--dim); font: 500 10.5px var(--mono); letter-spacing: .08em; }
.menu-mock .tabs span.on { color: var(--text); box-shadow: inset 0 -2px var(--blue); }
.menu-mock ul { list-style: none; padding: 6px 0; }
.menu-mock li { display: flex; align-items: center; justify-content: space-between; padding: 7px 14px; color: #c6cfe2; }

/* ---------- mock controls (also used in feature explorer) ---------- */

.tg { width: 26px; height: 14px; border-radius: 8px; background: var(--line-2); position: relative; flex-shrink: 0; }
.tg::after { content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--dim); transition: .2s; }
.tg.on { background: var(--blue); }
.tg.on::after { left: 14px; background: #fff; }
.sl { width: 74px; height: 3px; background: var(--line-2); position: relative; flex-shrink: 0; }
.sl b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue-hi); }
.sl b::after { content: ''; position: absolute; right: -4px; top: -3.5px; width: 9px; height: 9px; background: #fff; border-radius: 50%; }
.sw { width: 14px; height: 14px; border-radius: 2px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.kb { font: 500 10px var(--mono); padding: 2px 6px; border: 1px solid var(--line-3); border-bottom-width: 2px; border-radius: 3px; color: var(--muted); }
.chips { display: flex; gap: 3px; flex-wrap: wrap; justify-content: flex-end; }
.chips span { font: 500 10px var(--mono); padding: 2px 6px; background: var(--line); color: var(--dim); border-radius: 2px; text-transform: uppercase; letter-spacing: .04em; }
.chips span:first-child { background: rgba(26, 86, 255, .22); color: var(--ice); }

/* ---------- ticker ---------- */

.ticker { border-block: 1px solid var(--line); margin-top: 64px; background: var(--bg-2); overflow: hidden; }
.ticker .track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker .item { display: flex; align-items: center; gap: 14px; padding: 18px 36px; border-right: 1px solid var(--line); white-space: nowrap; }
.ticker .item b { font-stretch: 125%; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* ---------- sections ---------- */

.section { padding: 110px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-head .idx { color: var(--blue-hi); margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(38px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 380px; font-size: 15px; }

/* ---------- product grid ---------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .25s; }
.card:hover { border-color: var(--line-3); }
.card .art { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #071233; }
.card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .art img { transform: scale(1.035); }
.card .art .tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: rgba(4, 6, 11, .82); backdrop-filter: blur(6px); border: 1px solid var(--line-2); }
.card .body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.card h3 { font-stretch: 118%; font-weight: 700; font-size: 18px; letter-spacing: .005em; }
.card .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card .price { text-align: right; flex-shrink: 0; }
.card .price small { display: block; color: var(--dim); font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.card .price b { font-stretch: 112%; font-size: 20px; font-weight: 700; }
.card.feature { grid-column: span 2; }
.card.feature .art { aspect-ratio: auto; flex: 1; min-height: 340px; }
.card.feature + .card .art { aspect-ratio: auto; flex: 1; }
.card.feature + .card .art img { object-position: 100% center; transform: scale(1.25); transform-origin: right center; }
.card.feature + .card:hover .art img { transform: scale(1.29); }
.card.soon { pointer-events: none; }
.card.soon .art { filter: saturate(.4) brightness(.8); }

.soon-art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 120%, #1546ff 0, #0b2bb0 30%, #06154f 60%, #040a22 100%); }
.soon-art::before { content: ''; position: absolute; width: 140%; aspect-ratio: 1; left: -60%; top: -20%; border-radius: 50%; background: rgba(2, 8, 30, .45); }
.soon-art span { position: relative; font-stretch: 125%; font-weight: 800; font-size: clamp(40px, 5vw, 64px); text-transform: uppercase; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); }
.steps > div { padding: 34px 32px 38px; border-right: 1px solid var(--line); position: relative; }
.steps > div:last-child { border: 0; }
.steps .n { font-stretch: 125%; font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-3); margin-bottom: 28px; }
.steps h3 { font-stretch: 115%; font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---------- status table ---------- */

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); padding: 0 16px 12px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: rgba(150, 180, 255, .025); }
.table .prod { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.table .prod img, .table .prod .ph { width: 54px; height: 36px; object-fit: cover; border: 1px solid var(--line); background: #071233; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 24px/1 var(--display); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; font-size: 15px; }

/* ---------- CTA band ---------- */

.band { margin-top: 120px; position: relative; overflow: hidden; background: var(--blue); }
.band::before { content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; right: -200px; top: -500px; background: rgba(255, 255, 255, .07); }
.band::after { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; left: -300px; bottom: -560px; background: rgba(0, 0, 40, .22); }
.band .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 64px; }
.band h2 { font-size: clamp(36px, 5vw, 62px); }
.band p { color: rgba(255,255,255,.8); margin-top: 10px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 34px; margin-top: 0; background: var(--bg); }
.site-footer.spaced { margin-top: 120px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 14px; }
.foot-grid h4 { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 9px; font-size: 14px; color: #b5c0d6; }
.foot-grid ul a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }

/* ---------- product page ---------- */

.crumbs { padding: 28px 0 0; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding-top: 22px; align-items: start; }
.pdp-art { position: sticky; top: 92px; border: 1px solid var(--line); background: #071233; aspect-ratio: 3 / 2; overflow: hidden; }
.pdp-art img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .game { color: var(--blue-hi); }
.pdp-info h1 { font-size: clamp(40px, 4.8vw, 64px); margin: 12px 0 16px; }
.pdp-info .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.pdp-info .desc { color: #b5c0d6; margin-top: 18px; white-space: pre-line; font-size: 15px; }

.variants { display: grid; gap: 8px; margin: 28px 0 18px; }
.variant { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; transition: .15s; }
.variant:hover { border-color: var(--line-3); }
.variant input { appearance: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-3); flex-shrink: 0; transition: .15s; }
.variant input:checked { border: 5px solid var(--blue-hi); background: #fff; }
.variant:has(input:checked) { border-color: var(--blue); background: linear-gradient(90deg, rgba(26, 86, 255, .14), rgba(26, 86, 255, .03)); }
.variant .lbl { font-weight: 600; flex: 1; }
.variant .stk { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.variant .stk.low { color: var(--warn); }
.variant .stk.out { color: var(--bad); }
.variant .pr { font-stretch: 112%; font-weight: 700; font-size: 18px; min-width: 76px; text-align: right; }
.variant.out { opacity: .5; }
.buy-note { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; margin-top: 14px; }
.buy-note svg { width: 14px; height: 14px; }

.specs { margin-top: 34px; border-top: 1px solid var(--line); }
.specs h4 { margin: 24px 0 10px; color: var(--dim); }
.specs dl { display: grid; grid-template-columns: auto 1fr; font-size: 14px; }
.specs dt, .specs dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 20px; }
.specs dd { text-align: right; font-weight: 500; }
.specs ul { list-style: none; font-size: 14px; }
.specs li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.specs li::before { content: ''; width: 5px; height: 5px; background: var(--blue-hi); margin-top: 9px; flex-shrink: 0; }

/* feature explorer */
.fx { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); background: var(--panel); min-height: 420px; }
.fx-tabs { border-right: 1px solid var(--line); padding: 10px 0; background: var(--bg-2); }
.fx-tabs button { display: flex; justify-content: space-between; width: 100%; padding: 12px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 14px; color: var(--muted); border-left: 2px solid transparent; }
.fx-tabs button:hover { color: var(--text); }
.fx-tabs button.on { color: var(--text); border-left-color: var(--blue); background: rgba(26, 86, 255, .08); }
.fx-tabs button span { font: 500 11px var(--mono); color: var(--dim); }
.fx-body { padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-content: start; }
.fx-sec { border: 1px solid var(--line); background: var(--bg-2); }
.fx-sec h5 { display: flex; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ice); }
.fx-sec h5 span { color: var(--dim); }
.fx-sec ul { list-style: none; padding: 4px 0; }
.fx-sec li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 14px; font-size: 13.5px; color: #c9d2e4; }
.fx-sec li.sub { padding-left: 30px; color: var(--muted); font-size: 13px; }
.fx-sec li.sub::before { content: '↳'; color: var(--dim); margin-left: -16px; margin-right: 4px; }
.fx-sec li .nm { flex: 1; }
.fx-sec li .note { color: var(--dim); font-size: 12px; text-align: right; max-width: 55%; }
.fx-empty { grid-column: 1 / -1; padding: 50px; text-align: center; color: var(--muted); }

/* ---------- auth pages ---------- */

.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth-art { position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,6,11,.95) 0, rgba(4,6,11,.2) 50%, rgba(4,6,11,.3) 100%); }
.auth-art .cap { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; }
.auth-art .cap h2 { font-size: 46px; margin-bottom: 12px; }
.auth-art .cap p { color: #b5c0d6; max-width: 420px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 60px 28px; }
.auth-form form { width: 100%; max-width: 400px; }
.auth-form h1 { font-size: 40px; margin-bottom: 8px; }
.auth-form .sub { color: var(--muted); margin-bottom: 32px; }
.auth-form .alt { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.auth-form .alt a { color: var(--ice); }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.input, .field input, .field select, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); padding: 0 14px; height: 46px; border-radius: 2px; transition: border-color .15s, background .15s; outline: none; }
.field textarea { padding: 12px 14px; height: auto; min-height: 120px; resize: vertical; font: 13px/1.6 var(--mono); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: var(--panel); }
.field .hint { color: var(--dim); font-size: 12.5px; }

.alert { padding: 12px 14px; margin-bottom: 18px; font-size: 14px; border: 1px solid; }
.alert.error { color: #ffc2c7; border-color: rgba(248, 113, 122, .35); background: rgba(248, 113, 122, .07); }
.alert.ok { color: #b6f5dc; border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07); }
.alert.info { color: var(--ice); border-color: rgba(61, 116, 255, .4); background: rgba(26, 86, 255, .08); }

/* ---------- dashboard ---------- */

.dash-head { padding: 54px 0 34px; display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.dash-head h1 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 10px; }
.dash { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.lic { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--line); background: var(--panel); margin-bottom: 14px; }
.lic.flash { animation: flash 2.4s ease-out; }
@keyframes flash { 0% { border-color: var(--blue-hi); box-shadow: 0 0 0 4px rgba(61, 116, 255, .25); } }
.lic .thumb { background: #071233; border-right: 1px solid var(--line); }
.lic .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
.lic .info { padding: 20px 22px; display: grid; gap: 14px; }
.lic .top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.lic h3 { font-stretch: 118%; font-weight: 700; font-size: 19px; }
.lic .meta { color: var(--dim); }
.keybox { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line-2); padding: 6px 6px 6px 14px; }
.keybox code { flex: 1; font: 500 14px var(--mono); letter-spacing: .03em; overflow-x: auto; white-space: nowrap; color: var(--ice); transition: filter .2s; }
.keybox code.blur { filter: blur(5px); user-select: none; cursor: pointer; }
.lic .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.side { border: 1px solid var(--line); background: var(--panel); padding: 22px; position: sticky; top: 92px; }
.side h4 { margin-bottom: 14px; color: var(--dim); }
.side dl { display: grid; gap: 4px; font-size: 14px; margin-bottom: 20px; }
.side dt { color: var(--dim); font-size: 12.5px; margin-top: 8px; }
.empty { border: 1px dashed var(--line-2); padding: 60px 30px; text-align: center; }
.empty h3 { font-stretch: 118%; font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 22px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.25); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- admin ---------- */

.admin { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 68px); }
.admin-nav { border-right: 1px solid var(--line); padding: 26px 0; background: var(--bg-2); }
.admin-nav .mono { padding: 0 22px 12px; display: block; color: var(--dim); }
.admin-nav button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 11px 22px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; border-left: 2px solid transparent; }
.admin-nav button:hover { color: var(--text); }
.admin-nav button.on { color: var(--text); border-left-color: var(--blue); background: rgba(26, 86, 255, .08); }
.admin-main { padding: 34px 40px 80px; min-width: 0; }
.admin-main h1 { font-size: 34px; margin-bottom: 26px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.kpi { border: 1px solid var(--line); background: var(--panel); padding: 18px 20px; }
.kpi small { color: var(--dim); }
.kpi b { display: block; font-stretch: 115%; font-weight: 700; font-size: 28px; margin-top: 6px; }
.panel { border: 1px solid var(--line); background: var(--panel); padding: 22px; margin-bottom: 18px; }
.panel h3 { font-stretch: 112%; font-size: 17px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pill { display: inline-block; padding: 3px 8px; font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; background: var(--line); color: var(--muted); }
.pill.paid, .pill.available { background: rgba(52, 211, 153, .12); color: var(--ok); }
.pill.backorder, .pill.reserved, .pill.fulfilling, .pill.pending { background: rgba(251, 191, 36, .12); color: var(--warn); }
.pill.sold { background: rgba(61, 116, 255, .14); color: var(--ice); }
.pill.admin { background: rgba(26, 86, 255, .2); color: var(--ice); }
.table-wrap { overflow-x: auto; }
.table.compact td { padding: 10px 12px; font-size: 13.5px; }
.table.compact th { padding: 0 12px 10px; }
.table code { font: 12.5px var(--mono); color: var(--ice); }
.vrow { display: grid; grid-template-columns: 1fr 140px 90px 40px; gap: 8px; align-items: center; margin-bottom: 8px; }
.vrow .input { height: 40px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; color: var(--muted); }
.check input { accent-color: var(--blue); width: 16px; height: 16px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .input { height: 40px; width: auto; min-width: 220px; }
.prod-list { display: grid; gap: 8px; }
.prod-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; }
.prod-item:hover { border-color: var(--line-3); }
.prod-item img, .prod-item .ph { width: 60px; height: 40px; object-fit: cover; background: #071233; }
.prod-item b { flex: 1; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: #fff; color: #05070c; padding: 12px 18px; font-weight: 600; font-size: 14px; z-index: 200; transition: .25s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { background: var(--bad); color: #fff; }

/* ---------- legal ---------- */
.legal { max-width: 760px; padding: 60px 28px 0; margin: 0 auto; }
.legal h1 { font-size: 48px; margin-bottom: 10px; }
.legal h2 { font-stretch: 115%; font-size: 21px; margin: 40px 0 10px; }
.legal p, .legal li { color: #b5c0d6; font-size: 15.5px; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: 440px; }
  .hero-art .shot { position: absolute; top: -40px; bottom: 10px; right: -30px; width: 74%; -webkit-mask-image: radial-gradient(closest-side at 55% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 55% 46%, #000 62%, transparent 100%); }
  .grid { grid-template-columns: 1fr 1fr; }
  .card.feature { grid-column: span 2; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-art { position: relative; top: 0; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .dash { grid-template-columns: 1fr; }
  .side { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 28px; border-top: 1px solid var(--line); }
  .nav a.on::after { display: none; }
  .menu-btn { display: grid; }
  .header-right .btn.ghost { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .admin { grid-template-columns: 1fr; }
  .admin-nav { display: flex; overflow-x: auto; padding: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav .mono { display: none; }
  .admin-nav button { width: auto; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .admin-nav button.on { border-bottom-color: var(--blue); }
  .admin-main { padding: 24px 20px 60px; }
  .cols, .cols-3 { grid-template-columns: 1fr; }
  .fx { grid-template-columns: 1fr; }
  .fx-tabs { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; }
  .fx-tabs button { white-space: nowrap; width: auto; gap: 10px; border-left: 0; border-bottom: 2px solid transparent; }
  .fx-tabs button.on { border-bottom-color: var(--blue); }
  .fx-body { padding: 14px; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .grid { grid-template-columns: 1fr; }
  .card.feature { grid-column: auto; }
  .card.feature .art, .card.feature + .card .art { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  .card.feature + .card .art img, .card.feature + .card:hover .art img { transform: none; object-position: center; }
  .steps { grid-template-columns: 1fr; }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:nth-child(3) { display: none; }
  .hero-facts div:nth-child(2) { border: 0; }
  .menu-mock { width: 250px; }
  .section { padding-top: 80px; }
  .section-head { flex-direction: column; align-items: start; }
  .band .wrap { flex-direction: column; align-items: start; }
  .lic { grid-template-columns: 1fr; }
  .lic .thumb { aspect-ratio: 3 / 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-bottom { flex-direction: column; }
  .vrow { grid-template-columns: 1fr 100px 70px 34px; }
  .kpis { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header .wrap { gap: 12px; }
  .header-right { gap: 6px; }
  .header-right .discord-link { display: none; }
  .header-right .btn.sm { padding: 0 12px; font-size: 11px; letter-spacing: .04em; }
  .brand span { font-size: 15px; }
  .kicker .sep, .kicker .sep + span { display: none; }
}
@media (max-width: 400px) { .site-header .brand span { display: none; } }
