/* GameBobo design system.
   Deep navy field, coin-gold primary. Archivo (wide, heavy) for headings and prices,
   Source Sans 3 for reading, IBM Plex Mono for order numbers and wallet addresses.
   Shapes: pills for actions, 18px panels, 12px fields. Selection is always a gold ring. */

@font-face { font-family: "Archivo"; src: url("fonts/Archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* taken from the GameBobo logo */
  --bg: #04032a;
  --bg-2: #080735;
  --surface: #100e48;
  --surface-2: #17145a;
  --surface-3: #231d78;
  --line: #262179;
  --line-2: #4138b0;
  --text: #f4f2ff;
  --muted: #bfbbec;
  --faint: #938ecf;
  --primary: #9333ea;
  --primary-hi: #c79bff;
  --primary-lo: #7c3aed;
  --on-primary: #ffffff;
  --grad: linear-gradient(120deg, #7c3aed 0%, #a52bf0 55%, #c832f5 100%);
  --cyan: #38e1ff;
  --link: #7fe7ff;
  --accent: #ffc247;
  --on-accent: #1d1300;
  --ok: #3ddc97;
  --warn: #ff9f43;
  --bad: #ff6b81;
  --hot: #ff7a59;
  --ring: rgba(56, 225, 255, .32);
  --tint: rgba(147, 51, 234, .16);
  --r-field: 12px;
  --r-panel: 18px;
  --r-art: 14px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 20px 44px -22px rgba(1, 0, 20, .9), 0 0 0 1px rgba(124, 58, 237, .12);
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-stretch: 118%; font-weight: 900; letter-spacing: -.025em; font-style: italic; }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--primary); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 620px; }
.mid { max-width: 880px; }
.center { text-align: center; }
main { flex: 1; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.small { font-size: .9rem; }
.lead-sm { font-size: 1.08rem; margin-top: 12px; }
.page-pad { padding-top: clamp(28px, 5vw, 52px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-head { margin-bottom: 28px; }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 62ch; font-size: 1.08rem; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.inline { display: inline-block; vertical-align: -4px; margin-right: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row.center { justify-content: center; }
.stack > * + * { margin-top: 20px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(4, 3, 42, .86); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
.mark { width: 40px; height: 40px; flex: none; border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(127, 231, 255, .45), 0 6px 18px -6px rgba(147, 51, 234, .9); }
.brand-name { font: italic 900 1.4rem/1 var(--display); font-stretch: 112%; letter-spacing: -.025em; padding-right: 3px; }
.brand-name b { font-weight: 900; background: linear-gradient(180deg, #e58bff, #b026f5); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 3px; }
.brand-name em { font: 500 .78rem var(--font); font-style: normal; color: var(--faint); margin-left: 8px; letter-spacing: 0; }
.nav { display: flex; gap: 2px; }
.nav > a { white-space: nowrap; color: var(--muted); padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .98rem; }
.nav > a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav > a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-search { display: none; }
.hdr-search, .nav-search { position: relative; }
.hdr-search { margin-left: auto; width: clamp(180px, 22vw, 290px); }
.hdr-search input, .nav-search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 40px 0 42px; font: inherit; font-size: .96rem; }
.hdr-search input::placeholder, .nav-search input::placeholder { color: var(--faint); }
.hdr-search input:focus, .nav-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.hdr-search .ic, .nav-search .ic { position: absolute; left: 14px; top: 11px; color: var(--faint); pointer-events: none; }
.hdr-search kbd { position: absolute; right: 12px; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 6px; font: 500 .74rem var(--mono); color: var(--faint); }
.hdr-search input:focus + kbd { display: none; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; color: var(--text); cursor: pointer; place-items: center; }
@media (max-width: 900px) {
  .hdr { height: 62px; }
  .hdr-search { display: none; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 14px var(--gutter) 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(1, 0, 20, .9); }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 16px; font-size: 1.08rem; border-radius: 12px; }
  .nav-search { display: block; margin-bottom: 8px; }
  .nav-search input { height: 48px; }
  .nav-search .ic { top: 14px; }
}

/* ---------- buttons ---------- */
.btn, .btn-fixsol, .btn-fixevm, .btn-fixtron, .btn-fixxrp {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid transparent; font: 700 1rem/1 var(--display); font-stretch: 106%; letter-spacing: -.005em; cursor: pointer; text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .12s var(--ease); touch-action: manipulation; color: var(--text); white-space: nowrap;
}
.btn:hover, .btn-fixsol:hover, .btn-fixevm:hover, .btn-fixtron:hover, .btn-fixxrp:hover { text-decoration: none; }
.btn:active:not(:disabled), .btn-fixsol:active, .btn-fixevm:active, .btn-fixtron:active, .btn-fixxrp:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -12px rgba(184, 44, 240, .95), 0 1px 0 rgba(255, 255, 255, .22) inset; }
.btn-primary:hover:not(:disabled) { filter: brightness(1.12) saturate(1.08); box-shadow: 0 12px 32px -10px rgba(200, 50, 245, 1), 0 0 0 1px rgba(127, 231, 255, .5), 0 1px 0 rgba(255, 255, 255, .22) inset; }
.btn-ghost, .btn-fixsol, .btn-fixevm, .btn-fixtron, .btn-fixxrp { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover:not(:disabled), .btn-fixsol:hover, .btn-fixevm:hover, .btn-fixtron:hover, .btn-fixxrp:hover { background: var(--surface-2); border-color: var(--faint); }
.btn-danger { background: rgba(255, 107, 129, .12); border-color: rgba(255, 107, 129, .55); color: #ffc2cb; }
.btn-danger:hover:not(:disabled) { background: rgba(255, 107, 129, .22); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn .ic { width: 18px; height: 18px; }
.spin { width: 17px; height: 17px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* brand loader: three coins taking turns */
.coins { display: inline-flex; gap: 7px; align-items: center; }
.coins i { width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); animation: coin 1.1s ease-in-out infinite; }
.coins i:nth-child(2) { animation-delay: .14s; } .coins i:nth-child(3) { animation-delay: .28s; }
@keyframes coin { 0%, 70%, 100% { transform: translateY(0); opacity: .35; } 35% { transform: translateY(-7px); opacity: 1; } }
.loading-line { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 18px 0; }

/* ---------- fields ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .label { font-size: .92rem; font-weight: 600; color: var(--muted); }
.field label .opt { color: var(--faint); font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; height: 50px; border-radius: var(--r-field); border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--text); padding: 0 15px; font: inherit; font-size: 1.02rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; padding: 12px 15px; line-height: 1.5; resize: vertical; }
select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c1e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input::placeholder { color: var(--faint); opacity: .85; }
.input:hover { border-color: var(--faint); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.field.invalid .input { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(255, 107, 129, .18); }
.field .err { color: #ff9aa9; font-size: .9rem; display: none; }
.field.invalid .err { display: flex; gap: 6px; align-items: baseline; }
.field.invalid .err::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--bad); color: #2b0510; font: 800 .72rem/16px var(--display); text-align: center; transform: translateY(1px); }
.field .hint { color: var(--faint); font-size: .86rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }

/* ---------- surfaces, badges, notices ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.pad { padding: clamp(18px, 3vw, 28px); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 700 .76rem/1.4 var(--display); font-stretch: 104%; background: var(--surface-3); color: var(--muted); white-space: nowrap; }
.badge.hot { background: #ff7a59; color: #2a0d03; }
.badge.pop { background: #7fe7ff; color: #022a35; }
.badge.new { background: #3ddc97; color: #04281a; }
.badge.best, .badge.sale { background: var(--accent); color: var(--on-accent); }
.notice { border-radius: 14px; padding: 13px 16px; font-size: .97rem; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); }
.notice a { font-weight: 600; }
.notice.err { border-color: rgba(255, 107, 129, .55); background: rgba(255, 107, 129, .1); color: #ffc2cb; }
.notice.warn { border-color: rgba(255, 159, 67, .5); background: rgba(255, 159, 67, .1); color: #ffd3a6; }
.notice.good { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .1); color: #b3f3d6; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 17px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--muted); font: 600 .95rem var(--font); cursor: pointer; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { color: var(--text); border-color: var(--faint); text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.empty { padding: 44px 24px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r-panel); }
.empty h3 { color: var(--text); margin-bottom: 8px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--bg); font-weight: 600; padding: 12px 20px; border-radius: 999px; z-index: 90; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; max-width: 90vw; box-shadow: 0 18px 40px -14px rgba(1, 0, 20, .9); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.has-bar .toast { bottom: 96px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(20px, 3.5vw, 44px) 0 clamp(34px, 5vw, 60px); border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 520px at 22% 30%, rgba(124, 58, 237, .30), transparent 70%), radial-gradient(700px 460px at 86% 18%, rgba(56, 225, 255, .12), transparent 70%); }
.hero::before { /* coin ripples spreading from the top-up console */
  content: ""; position: absolute; width: 1500px; height: 1500px; right: -520px; top: -480px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 86px, rgba(127, 231, 255, .07) 86px 88px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%); mask-image: radial-gradient(circle, #000 20%, transparent 68%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 18ch; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero-logo { display: block; width: 100%; max-width: 540px; height: auto; aspect-ratio: 3 / 2; margin: 0 0 clamp(4px, 1vw, 12px) -2%;
  /* the artwork is used as it is; only its outer edge is feathered so it sits on the page instead of in a box */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent); mask-composite: intersect; }
.qt-empty { padding: 28px; display: grid; gap: 12px; justify-items: start; }
.qt-empty p { color: var(--muted); }
.hero .lead { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 50ch; margin-top: 20px; }
.hero-search { position: relative; margin-top: 28px; max-width: 520px; display: flex; gap: 10px; }
.hero-search > div { position: relative; flex: 1; }
.hero-search input { width: 100%; height: 56px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text); padding: 0 20px 0 52px; font: inherit; font-size: 1.05rem; }
.hero-search input::placeholder { color: var(--faint); }
.hero-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.hero-search .ic { position: absolute; left: 19px; top: 18px; color: var(--faint); }
.hero-search .btn { min-height: 56px; }
.hero-facts { list-style: none; margin: clamp(26px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; color: var(--muted); font-size: 1rem; position: relative; }
@media (max-width: 860px) { .hero-facts { grid-template-columns: 1fr; } }
.hero-facts li { display: flex; align-items: flex-start; gap: 12px; }
.hero-facts .ic { color: var(--primary-hi); margin-top: 2px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 20ch; } .hero-logo { margin-inline: auto; } }
@media (max-width: 520px) { .hero-search .btn { display: none; } }

/* quick top-up console */
.qt { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: var(--shadow), 0 0 60px -20px rgba(147, 51, 234, .8); overflow: hidden; position: relative; }
.qt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; }
.qt-head h2 { font-size: 1.25rem; }
.qt-head a { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.qt-games { display: flex; gap: 8px; padding: 2px 22px 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.qt-games::-webkit-scrollbar { display: none; }
.qt-game { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 7px; width: 78px; padding: 10px 4px 9px; border-radius: 16px; border: 1.5px solid transparent; background: none; color: var(--muted); font: 600 .78rem/1.2 var(--font); text-align: center; cursor: pointer; text-decoration: none; }
.qt-game img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--surface-3); }
.qt-game:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.qt-game[aria-selected="true"] { border-color: var(--primary); background: var(--tint); color: var(--text); }
.qt-game span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.qt-body { border-top: 1px solid var(--line); background: var(--bg-2); padding: 18px 22px 22px; }
.qt-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: .95rem; color: var(--muted); }
.qt-title b { color: var(--text); font: 700 1.02rem var(--display); }
.qt-packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qt-pack { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .15s, background .15s; min-height: 72px; }
.qt-pack:hover { border-color: var(--primary); background: var(--surface-2); text-decoration: none; }
.qt-pack img { grid-row: span 2; width: 44px; height: 44px; object-fit: contain; }
.qt-pack .lbl { font-weight: 600; font-size: .96rem; line-height: 1.2; align-self: end; }
.qt-pack .pr { font: 800 1.05rem var(--display); color: var(--accent); align-self: start; font-variant-numeric: tabular-nums; }
.qt-pack .badge { position: absolute; top: -9px; right: 10px; font-size: .68rem; }
.qt-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.qt-foot p { display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: .9rem; }
.qt-foot .ic { width: 16px; height: 16px; }
@media (max-width: 420px) { .qt-packs { grid-template-columns: 1fr; } .qt-foot .btn { width: 100%; } }

/* ---------- sections ---------- */
.block { padding: clamp(40px, 6.5vw, 76px) 0; }
.block + .block { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.sec-head > a { font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.sec-head > a .ic { width: 16px; height: 16px; }

/* catalog toolbar */
.toolbar { display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .search { position: relative; flex: 1 1 260px; max-width: 420px; }
.toolbar .search input { width: 100%; height: 48px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text); padding: 0 18px 0 46px; font: inherit; }
.toolbar .search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.toolbar .search .ic { position: absolute; left: 16px; top: 14px; color: var(--faint); }
.toolbar .sort { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.toolbar .sort select { height: 44px; width: auto; border-radius: 999px; padding-left: 16px; background-color: var(--surface); }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 22px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { flex: none; }
.count-line { color: var(--muted); margin-bottom: 16px; }
@media (max-width: 640px) { .toolbar .sort { margin-left: 0; width: 100%; } .toolbar .sort select { flex: 1; } }

/* game cards */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.game-card { display: flex; flex-direction: column; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .18s, transform .22s var(--ease), box-shadow .22s; }
.game-card:hover, .game-card:focus-visible { text-decoration: none; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(1, 0, 20, .95); }
.game-card .art { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.game-card:hover .art img { transform: scale(1.05); }
.game-card .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.game-card .body { display: flex; gap: 12px; align-items: center; padding: 14px 16px 16px; }
.game-card .logo { width: 48px; height: 48px; border-radius: 13px; object-fit: cover; background: var(--surface-3); flex: none; }
.game-card .meta { display: grid; min-width: 0; }
.game-card strong { font: 700 1.04rem/1.2 var(--display); font-stretch: 104%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.game-card .sub { color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-card .from { margin-left: auto; text-align: right; font-size: .8rem; color: var(--faint); line-height: 1.25; white-space: nowrap; flex: none; }
.game-card .from b { display: block; color: var(--accent); font: 800 1.08rem var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .game-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game-card .body { flex-wrap: wrap; gap: 8px 10px; padding: 12px; }
  .game-card .logo { width: 36px; height: 36px; border-radius: 10px; }
  .game-card .meta { flex: 1; }
  .game-card strong { font-size: .94rem; }
  .game-card .from { margin-left: 0; width: 100%; text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .game-card .from b { display: inline; }
  .game-card .tags { top: 8px; left: 8px; }
}

/* package picks and offers (home) */
.pick-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.pick { scroll-snap-align: start; display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; padding: 16px; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .18s, background .18s; }
.pick:hover { border-color: var(--primary); background: var(--surface-2); text-decoration: none; }
.pick img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; }
.pick .game { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 7px; }
.pick .game img { width: 18px; height: 18px; border-radius: 5px; grid-row: auto; }
.pick .lbl { font: 700 1.05rem/1.2 var(--display); }
.pick .foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pick .pr { font: 800 1.2rem var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.deal { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 4px 16px; padding: 16px 18px 16px 16px; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .18s, background .18s; }
.deal:hover { border-color: var(--primary); background: var(--surface-2); text-decoration: none; }
.deal .pct { grid-row: span 2; width: 86px; height: 86px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--accent); color: var(--on-accent); font-style: italic; font: 900 1.55rem/1 var(--display); font-stretch: 100%; box-shadow: inset 0 0 0 5px rgba(29, 19, 0, .14); }
.deal .pct small { display: block; font: 700 .68rem var(--font); margin-top: 3px; }
.deal .lbl { font: 700 1.08rem/1.2 var(--display); align-self: end; }
.deal .game { color: var(--muted); font-size: .92rem; align-self: start; }
.deal .pr { grid-row: 1 / span 2; grid-column: 3; font: 800 1.2rem var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.fineprint { color: var(--faint); font-size: .9rem; margin-top: 16px; max-width: 80ch; }
@media (max-width: 400px) { .deal-grid { grid-template-columns: 1fr; } .deal { grid-template-columns: 70px 1fr; } .deal .pct { width: 70px; height: 70px; font-size: 1.25rem; } .deal .pr { grid-column: 2; grid-row: auto; } }

/* how it works: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.steps li { counter-increment: s; padding: 26px 24px 28px; border-left: 1px solid var(--line); position: relative; }
.steps li:first-child { border-left: 0; }
.steps li::before { content: counter(s); display: block; font: italic 900 2.6rem/1 var(--display); font-stretch: 125%; color: var(--primary-hi); margin-bottom: 18px; }
.steps p { color: var(--muted); font-size: .98rem; margin-top: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .steps li { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: 20px; } .steps li:first-child { border-top: 0; } .steps li::before { grid-row: span 2; font-size: 2.1rem; margin: 0; } .steps p { grid-column: 2; } }

/* light band: the one place the page turns to paper, for the trust facts */
.band-light {
  --bg: #f3f0ff; --bg-2: #e9e4fb; --surface: #ffffff; --surface-2: #f7f5ff; --surface-3: #e7e2fb; --line: #d9d2f5; --line-2: #b9aeea;
  --text: #0c0a3a; --muted: #433e78; --faint: #635d96; --link: #6d28d9; --accent: #0c0a3a;
  background: var(--bg); color: var(--text); padding: clamp(44px, 7vw, 84px) 0;
}
.band-light + .block { padding-top: clamp(40px, 6.5vw, 76px); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 64px); margin-top: 8px; }
.fact { display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; padding: 24px 0; border-top: 1.5px solid var(--line-2); }
.fact .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(140deg, #2a1296, #7c3aed); color: #b8f4ff; display: grid; place-items: center; }
.fact .ico .ic { width: 24px; height: 24px; }
.fact p { color: var(--muted); }
.policy-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.band-light .chip { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.band-light .chip:hover { border-color: var(--text); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* reviews (only rendered when approved reviews exist) */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.review { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--text); font-size: 1.04rem; line-height: 1.5; overflow-wrap: anywhere; }
.review footer { margin-top: auto; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.review footer b { color: var(--text); }
.stars { display: inline-flex; gap: 2px; color: var(--line-2); }
.stars .ic { width: 18px; height: 18px; }
.stars .on { color: var(--primary-hi); fill: var(--primary); }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; font-size: .86rem; }
.verified .ic { width: 15px; height: 15px; }
.rating-sum { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.rating-sum b { font: 900 2rem/1 var(--display); color: var(--text); }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 4px; font: 700 1.08rem/1.3 var(--display); font-stretch: 104%; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e1ff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--primary-hi); }
.faq details > p, .faq details > ol { padding: 0 44px 22px 4px; color: var(--muted); margin: 0; }
.faq details > ol { padding-left: 26px; }
.faq details > ol li + li { margin-top: 6px; }

/* ---------- checkout shared ---------- */
.crumbs { font-size: .94rem; color: var(--faint); padding: 20px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs .ic { width: 14px; height: 14px; }
.stepper { display: flex; list-style: none; margin: 18px 0 0; padding: 0; counter-reset: st; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--faint); font-weight: 600; font-size: .94rem; counter-increment: st; }
.stepper li::before { content: counter(st); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); font: 700 .84rem var(--display); }
.stepper li::after { content: ""; flex: 1; height: 2px; margin: 0 12px; background: var(--line); border-radius: 2px; }
.stepper li:last-child { flex: none; } .stepper li:last-child::after { display: none; }
.stepper li.done { color: var(--muted); }
.stepper li.done::before { content: ""; border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304281a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.stepper li.done::after { background: var(--ok); }
.stepper li.now { color: var(--text); }
.stepper li.now::before { border-color: var(--primary); background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 4px var(--ring); }
@media (max-width: 600px) { .stepper li span { display: none; } .stepper li.now span { display: inline; } .stepper li::after { margin: 0 8px; } }

.summary dl { margin: 0; display: grid; gap: 11px; }
.summary .row { display: flex; justify-content: space-between; gap: 14px; font-size: 1rem; align-items: baseline; }
.summary dt { color: var(--muted); flex: none; }
.summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.summary .total { border-top: 1.5px solid var(--line-2); padding-top: 16px; margin-top: 6px; align-items: center; }
.summary .total dt { color: var(--text); font-weight: 700; }
.summary .total dd { color: var(--accent); font: 900 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.summary-item { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-item img { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: var(--surface-3); }
.summary-item b { font: 700 1.04rem/1.2 var(--display); align-self: end; }
.summary-item span { color: var(--muted); font-size: .92rem; align-self: start; }
.assure { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; color: var(--muted); font-size: .93rem; }
.assure li, .assure div { display: flex; gap: 10px; align-items: flex-start; }
.assure .ic { width: 17px; height: 17px; color: var(--ok); margin-top: 3px; }
.sticky { position: sticky; top: 92px; }
.buy-grid > aside, .pay-grid > aside { align-self: stretch; }

/* ---------- game page ---------- */
.game-hero { position: relative; border-radius: 22px; overflow: hidden; margin-top: 18px; border: 1px solid var(--line); min-height: clamp(180px, 24vw, 260px); display: flex; align-items: flex-end; background: var(--surface-3); }
.game-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 3, 42, .96) 4%, rgba(4, 3, 42, .55) 46%, rgba(4, 3, 42, .08)); }
.game-hero .in { position: relative; z-index: 1; display: flex; gap: 18px; align-items: center; padding: clamp(16px, 3vw, 28px); width: 100%; }
.game-hero .logo { width: clamp(64px, 9vw, 88px); height: clamp(64px, 9vw, 88px); border-radius: 22px; object-fit: cover; border: 2px solid rgba(255, 255, 255, .22); background: var(--surface-3); flex: none; }
.game-hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); }
.game-hero .facts-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--muted); font-size: .98rem; }
.game-hero .facts-line span { display: inline-flex; align-items: center; gap: 7px; }
.game-hero .facts-line .ic { width: 16px; height: 16px; color: var(--primary-hi); }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; margin-top: 24px; align-items: start; }
@media (max-width: 1000px) { .buy-grid { grid-template-columns: 1fr; } }
.buy-grid .card + .card { margin-top: 18px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-title i { font: 800 .9rem var(--display); font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); flex: none; }
.step-title h2 { font-size: 1.22rem; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; }
@media (max-width: 420px) { .pkgs { grid-template-columns: 1fr 1fr; gap: 10px; } .pkg { grid-template-columns: 36px 1fr; padding: 14px 10px 12px; column-gap: 9px; } .pkg img { width: 36px; height: 36px; } }
.pkg {
  position: relative; text-align: left; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg-2); padding: 16px 14px 14px; cursor: pointer; color: var(--text);
  display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center; font: inherit; transition: border-color .15s, background .15s, box-shadow .15s; min-height: 84px;
}
.pkg:hover { border-color: var(--faint); }
.pkg[aria-checked="true"] { border-color: var(--primary); background: var(--tint); box-shadow: 0 0 0 3px var(--ring); }
.pkg[aria-checked="true"]::after { content: ""; position: absolute; right: 9px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pkg img { grid-row: span 2; width: 44px; height: 44px; object-fit: contain; }
.pkg .lbl { font-weight: 600; font-size: .98rem; line-height: 1.2; align-self: end; }
.pkg .pr { color: var(--accent); font: 800 1.08rem var(--display); align-self: start; font-variant-numeric: tabular-nums; }
.pkg .badge { position: absolute; top: -10px; left: 12px; font-size: .68rem; }
.pkg .pr s, .qt-pack .pr s, .pick .pr s, .deal .pr s, .summary s { color: var(--faint); font: 500 .84rem var(--font); margin-left: 3px; white-space: nowrap; }
.pkg-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.tutorial { margin-top: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.tutorial summary { cursor: pointer; font-weight: 600; color: var(--link); padding: 13px 16px; list-style: none; display: flex; align-items: center; gap: 9px; }
.tutorial summary::-webkit-details-marker { display: none; }
.tutorial ol { margin: 0; padding: 0 16px 16px 38px; color: var(--muted); font-size: .98rem; }
.tutorial li + li { margin-top: 5px; }
.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 4px; }
.dev { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-2); color: var(--text); font: 700 1rem var(--display); font-stretch: 104%; cursor: pointer; text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.dev .ic { width: 22px; height: 22px; color: var(--muted); }
.dev:hover { border-color: var(--faint); }
.dev[aria-checked="true"] { border-color: var(--primary); background: var(--tint); box-shadow: 0 0 0 3px var(--ring); }
.dev[aria-checked="true"] .ic { color: var(--primary-hi); }
.field.invalid .devices { outline: 2px solid rgba(255, 107, 129, .55); outline-offset: 4px; border-radius: 16px; }
.tc-notice { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.tc-notice .ic { margin-top: 2px; }
.confirm-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--bg-2); color: var(--text); cursor: pointer; font-size: 1rem; font-weight: 500; }
.confirm-row input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.field.invalid .confirm-row { border-color: var(--bad); }
.dev-tag { grid-column: 1 / -1; color: var(--faint); font-size: .78rem; font-weight: 600; }
.s-account { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 9px; }
.s-account .row dd { font-size: .95rem; }
.summary .faint { color: var(--faint); }
@media (max-width: 520px) { .devices { grid-template-columns: 1fr 1fr; } .dev { padding: 0 12px; gap: 9px; font-size: .95rem; } }
.id-warning { display: flex; gap: 10px; align-items: flex-start; color: var(--faint); font-size: .92rem; margin-top: 14px; }
.id-warning .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--warn); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.qty button { width: 38px; height: 38px; border: 0; background: none; color: var(--text); font: 700 1.2rem var(--display); cursor: pointer; }
.qty button:hover:not(:disabled) { background: var(--surface-3); }
.qty button:disabled { color: var(--line-2); cursor: not-allowed; }
.qty output { min-width: 30px; text-align: center; font: 700 1rem var(--display); }
.mobile-bar { display: none; }
@media (max-width: 1000px) {
  .sticky { position: static; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 16px; align-items: center; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(8, 7, 53, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); }
  .mobile-bar .amt { font: 900 1.3rem/1.1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
  .mobile-bar .amt small { display: block; color: var(--faint); font: 500 .8rem var(--font); margin-bottom: 2px; }
  .mobile-bar .btn { flex: 1; min-width: 0; padding: 0 14px; font-size: clamp(.9rem, 4.2vw, 1rem); }
  .mobile-bar { transition: transform .25s var(--ease), visibility .25s; }
  .mobile-bar.is-off { transform: translateY(110%); visibility: hidden; } /* the summary's own button is on screen */
  body.has-bar main { padding-bottom: 92px; }
}
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-grid .card { padding: 24px; }
.info-grid h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.info-grid h3 .ic { color: var(--primary-hi); }
.info-grid p { color: var(--muted); font-size: .99rem; }
.info-grid p + p { margin-top: 8px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- payment page ---------- */
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; margin: 22px 0 56px; align-items: start; }
.pay-grid h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 6px 0 20px; }
@media (max-width: 1000px) {
  .pay-grid { grid-template-columns: 1fr; } .pay-grid aside { order: -1; }
  .pay-grid aside .summary dl .row:not(.total) { display: none; } /* phones: item line and total only */
  .pay-grid aside .assure { display: none; }
  .pay-grid aside .summary-item { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .pay-grid aside .summary .total { margin-top: 14px; }
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.tab { display: flex; align-items: center; gap: 13px; padding: 14px 16px; min-height: 70px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; color: var(--text); font: inherit; transition: border-color .15s, background .15s, box-shadow .15s; }
.tab > .ic { width: 26px; height: 26px; color: var(--muted); }
.tab b { display: block; font: 700 1rem/1.25 var(--display); }
.tab small { color: var(--faint); font-size: .86rem; }
.tab:not(:disabled):hover { border-color: var(--faint); }
.tab[aria-selected="true"] { border-color: var(--primary); background: var(--tint); box-shadow: 0 0 0 3px var(--ring); }
.tab[aria-selected="true"] > .ic { color: var(--primary-hi); }
.tab:disabled, .tab[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) { .tabs { grid-template-columns: 1fr; } }
#payment-element { min-height: 120px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.2rem; }
.pay-points { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.pay-points div { display: flex; gap: 10px; align-items: flex-start; }
.pay-points .ic { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.secure-line { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .92rem; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
.secure-line .ic { width: 18px; height: 18px; color: var(--primary-hi); margin-top: 2px; }
.coin-group { margin: 20px 0 10px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.coin-group:first-of-type { margin-top: 4px; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.coin { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-2); color: var(--text); text-align: left; cursor: pointer; font: inherit; min-height: 62px; transition: border-color .15s, background .15s; }
.coin:hover { border-color: var(--faint); }
.coin[aria-checked="true"] { border-color: var(--primary); background: var(--tint); }
.coin img, .coin .ph { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--surface-3); display: grid; place-items: center; font: 700 .76rem var(--display); color: var(--muted); }
.coin b { display: block; line-height: 1.25; font-weight: 700; }
.coin small { display: block; color: var(--faint); font-size: .86rem; }
.deposit { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin-top: 20px; }
@media (max-width: 660px) { .deposit { grid-template-columns: 1fr; justify-items: center; } .deposit > div:last-child { width: 100%; } }
.qr { background: #fff; padding: 12px; border-radius: 18px; width: 220px; height: 220px; display: grid; place-items: center; color: #0a1030; }
.qr svg { width: 100%; height: 100%; }
.qr-note { text-align: center; font-size: .88rem; margin: 10px 0 0; }
.kv { color: var(--muted); font-size: .9rem; font-weight: 600; }
.copyline { display: flex; gap: 10px; align-items: center; background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 8px 8px 8px 14px; margin: 7px 0 16px; min-height: 56px; }
.copyline code { font-size: .84rem; overflow-wrap: anywhere; flex: 1; }
.bigamt { font: 900 1.45rem var(--display); color: var(--accent); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ev-code { font: 500 1.7rem var(--mono); letter-spacing: .42em; text-align: center; max-width: 270px; padding-left: .5em; height: 60px; }
.ev-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pm { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pm img { height: 26px; width: auto; border-radius: 6px; background: #fff; }
.pm.pm-lg img { height: 30px; }
.tab { flex-wrap: wrap; }
.tab > span:not(.pm) { flex: 1 1 0; min-width: 0; }
.tab-pm { flex: 0 0 100%; margin: 3px 0 0 39px; padding: 0; } /* the accepted-card logos sit on their own row, aligned with the label, so a narrow tab never squeezes the text */
.tab-pm img { height: 22px; }
.tab:disabled .pm { filter: grayscale(1); opacity: .6; }
.card-accept { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 2px 0 16px; }
.card-accept .faint { font-size: .9rem; }
.card-soon { line-height: 1.55; }

/* crypto gateway: send -> detection -> confirmation */
.gw-steps { --gw-fill: 0; list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; counter-reset: gw; }
.gw-steps::before, .gw-steps::after { content: ""; position: absolute; top: 17px; left: 16.667%; right: 16.667%; height: 3px; border-radius: 3px; }
.gw-steps::before { background: var(--line); }
.gw-steps::after { background: var(--ok); transform: scaleX(var(--gw-fill)); transform-origin: left; transition: transform .7s var(--ease); }
.gw-steps[data-step="2"] { --gw-fill: .5; }
.gw-steps[data-step="3"] { --gw-fill: 1; }
.gw-steps[data-step="3"][data-mode="issue"]::after { background: linear-gradient(90deg, var(--ok) 50%, var(--bad)); }
.gw-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; color: var(--faint); font-weight: 600; font-size: .92rem; counter-increment: gw; transition: color .3s; }
.gw-steps li i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); font: 700 .88rem var(--display); font-style: normal; transition: background .35s, border-color .35s, box-shadow .35s; }
.gw-steps li i::before { content: counter(gw); transition: opacity .2s; }
.gw-steps[data-step="1"] li:nth-child(1) i, .gw-steps[data-step="2"] li:nth-child(2) i, .gw-steps[data-step="3"] li:nth-child(3) i { border-color: var(--primary); background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 5px var(--ring); }
.gw-steps[data-step="1"] li:nth-child(1), .gw-steps[data-step="2"] li:nth-child(-n+2), .gw-steps[data-step="3"] li { color: var(--text); }
.gw-steps[data-step="2"] li:nth-child(1) i, .gw-steps[data-step="3"] li:nth-child(-n+2) i, .gw-steps[data-step="3"][data-mode="ok"] li:nth-child(3) i { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304281a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: none; }
.gw-steps[data-step="3"][data-mode="ok"] li:nth-child(3) i { box-shadow: 0 0 0 5px rgba(61, 220, 151, .22); }
.gw-steps[data-step="2"] li:nth-child(1) i::before, .gw-steps[data-step="3"] li:nth-child(-n+2) i::before, .gw-steps[data-step="3"][data-mode="ok"] li:nth-child(3) i::before { opacity: 0; }
.gw-steps[data-step="3"][data-mode="issue"] li:nth-child(3) i { border-color: var(--bad); background: var(--bad); color: #2b0510; box-shadow: 0 0 0 5px rgba(255, 107, 129, .22); }
.gw-steps[data-step="3"][data-mode="issue"] li:nth-child(3) i::before { content: "!"; font-weight: 900; }
.gw-steps[data-step="2"][data-mode="wait"] li:nth-child(2) i { animation: gw-pulse 1.8s ease-in-out infinite; }
@keyframes gw-pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--ring); } 50% { box-shadow: 0 0 0 12px rgba(56, 225, 255, 0); } }
.gw-stage.gw-in { animation: gw-in .4s var(--ease) both; }
@keyframes gw-in { from { transform: translateY(12px); } to { transform: none; } }
.gw-coin { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.gw-coin > div { min-width: 0; } .gw-coin b { display: block; font: 700 1.15rem/1.2 var(--display); } .gw-coin small { color: var(--faint); }
.gw-coin-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font: 700 .78rem var(--display); color: var(--muted); overflow: hidden; }
.gw-badge { margin-left: auto; white-space: nowrap; padding: 4px 12px; border-radius: 999px; font: 700 .78rem/1.5 var(--display); }
.gw-badge.wait { background: rgba(255, 194, 71, .16); color: #ffd98a; }
.gw-badge.ok { background: rgba(61, 220, 151, .16); color: var(--ok); }
.gw-badge.bad { background: rgba(255, 107, 129, .16); color: #ff9aa9; }
.gw-howto { margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: how; }
.gw-howto li { counter-increment: how; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .99rem; }
.gw-howto li::before { content: counter(how); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: var(--text); display: grid; place-items: center; font: 700 .78rem var(--display); margin-top: 1px; }
.gw-center { text-align: center; padding: 18px 0 8px; }
.gw-center p { margin-inline: auto; }
.gw-h { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 20px 0 8px; }
.gw-orbit { position: relative; width: 96px; height: 96px; margin: 0 auto; display: grid; place-items: center; color: var(--primary-hi); }
.gw-orbit svg { width: 44px; height: 44px; }
.gw-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; animation: gw-ripple 2.4s ease-out infinite; }
.gw-orbit i:nth-child(2) { animation-delay: .8s; } .gw-orbit i:nth-child(3) { animation-delay: 1.6s; }
@keyframes gw-ripple { 0% { transform: scale(.45); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
.gw-result { width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; animation: gw-pop .5s var(--ease) both; }
.gw-result svg { width: 64px; height: 64px; }
.gw-result.ok { color: var(--ok); background: rgba(61, 220, 151, .13); } .gw-result.bad { color: var(--bad); background: rgba(255, 107, 129, .13); }
.gw-ring { stroke-dasharray: 145; stroke-dashoffset: 145; animation: gw-draw .7s .05s ease-out forwards; }
.gw-tick { stroke-dasharray: 48; stroke-dashoffset: 48; animation: gw-draw .5s .55s ease-out forwards; }
@keyframes gw-draw { to { stroke-dashoffset: 0; } }
@keyframes gw-pop { from { transform: scale(.6); } to { transform: none; } }
.gw-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.gw-actions:empty { display: none; }
.gw-recap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.gw-recap:empty { display: none; }
.gw-recap div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; min-width: 0; }
.gw-recap span { display: block; color: var(--faint); font-size: .84rem; }
.gw-recap b { display: block; overflow-wrap: anywhere; font-size: .98rem; }
.gw-tx { margin-top: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.gw-tx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.gw-tx dl { margin: 0; }
.gw-tx dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); align-items: center; }
.gw-tx dt { color: var(--faint); font-size: .92rem; }
.gw-tx dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.gw-tx code { font-size: .84rem; font-weight: 500; }
.gw-status { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gw-cell { display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0; }
.gw-cell + .gw-cell { border-left: 1px solid var(--line); }
.gw-cell .lbl { display: block; color: var(--muted); font-size: .94rem; line-height: 1.3; }
.gw-time { display: block; font: 500 1.1rem var(--mono); color: var(--ok); }
.gw-cell.out .gw-time { color: var(--bad); } .gw-cell.out .bar { stroke: var(--bad); }
.gw-link { background: none; border: 0; padding: 0; margin-top: 2px; color: var(--link); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gw-link:hover { color: var(--text); }
.gw-ringsvg { flex: none; width: 46px; height: 46px; }
.gw-ringsvg circle { fill: none; stroke-width: 4; }
.gw-ringsvg .trk { stroke: var(--line-2); opacity: .55; }
.gw-ringsvg .bar { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear, stroke .3s; }
.gw-ringsvg .arc { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 34 80; }
.gw-ringsvg.spin { animation: spin 1.3s linear infinite; border: 0; }
.gw-or { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; color: var(--faint); font-size: .84rem; }
.gw-or::before, .gw-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
#d-expired-btn { width: 100%; }
@media (max-width: 560px) {
  .gw-steps li { font-size: .8rem; } .gw-coin .gw-badge { display: none; }
  .gw-tx dl > div { grid-template-columns: 1fr; gap: 3px; }
  .gw-status { grid-template-columns: 1fr; } .gw-cell + .gw-cell { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- order status ---------- */
.status-hero { text-align: center; padding: clamp(28px, 5vw, 48px) 20px clamp(22px, 4vw, 34px); }
.status-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.status-hero p { max-width: 54ch; margin: 12px auto 0; }
.status-ico { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--surface-3); }
.status-ico svg { width: 38px; height: 38px; }
.status-ico.ok { background: var(--ok); color: #04281a; }
.status-ico.wait { background: var(--tint); color: var(--primary-hi); box-shadow: inset 0 0 0 2px var(--ring); }
.status-ico.bad { background: rgba(255, 107, 129, .15); color: var(--bad); }
.status-ico.wait svg { animation: spin 1.6s linear infinite; }
.order-ref { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 6px 6px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg-2); font-size: .95rem; color: var(--muted); }
.order-ref b { font: 500 1.02rem var(--mono); color: var(--text); white-space: nowrap; }
.order-ref button { border: 0; background: var(--surface-3); color: var(--text); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.order-ref button:hover { background: var(--line-2); }
.order-ref button .ic { width: 16px; height: 16px; }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track { padding: 20px clamp(16px, 2.6vw, 26px); display: grid; grid-template-columns: 14px 1fr; gap: 3px 12px; align-items: center; }
.track + .track { border-left: 1px solid var(--line); }
.track i { grid-row: span 2; width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); align-self: start; margin-top: 7px; }
.track span { color: var(--muted); font-size: .92rem; }
.track b { font: 700 1.05rem/1.25 var(--display); }
.track.ok i { background: var(--ok); }
.track.now i { background: var(--primary); box-shadow: 0 0 0 4px var(--ring); animation: gw-pulse 1.8s ease-in-out infinite; }
.track.bad i { background: var(--bad); }
@media (max-width: 640px) { .tracks { grid-template-columns: 1fr; } .track + .track { border-left: 0; border-top: 1px solid var(--line); } .track { padding: 14px 18px; } }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(24px, 4vw, 48px); }
@media (max-width: 720px) { .order-grid { grid-template-columns: 1fr; } }
.order-grid h2 { font-size: 1.15rem; margin-bottom: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 36px; color: var(--faint); font-weight: 600; }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: 2px; width: 2px; background: var(--line-2); }
.timeline li:last-child { padding-bottom: 0; } .timeline li:last-child::before { display: none; }
.timeline li i { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--ok); }
.timeline li.done i { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304281a' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.timeline li.now { color: var(--text); }
.timeline li.now i { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.help-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; padding: 18px clamp(18px, 3vw, 28px); border-top: 1px solid var(--line); background: var(--bg-2); border-radius: 0 0 var(--r-panel) var(--r-panel); }
.help-strip p { color: var(--muted); display: flex; gap: 10px; align-items: center; }
.help-strip .ic { color: var(--primary-hi); }
/* review form */
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; color: var(--line-2); padding: 2px; border-radius: 8px; }
.rate label .ic { width: 34px; height: 34px; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--primary-hi); }
.rate input:checked ~ label .ic, .rate label:hover .ic, .rate label:hover ~ label .ic { fill: var(--primary); }
.rate input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- support, legal, misc pages ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.contact .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--primary-hi); display: grid; place-items: center; margin-bottom: 10px; }
.contact p { color: var(--muted); }
.contact .val { margin-top: auto; padding-top: 12px; font-weight: 700; overflow-wrap: anywhere; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.doc-nav { position: sticky; top: 92px; display: grid; gap: 2px; }
.doc-nav a { padding: 10px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; }
.doc-nav a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.doc-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--primary); }
@media (max-width: 800px) { .doc-layout { grid-template-columns: 1fr; } .doc-nav { position: static; display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; } .doc-nav a { flex: none; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 16px; } .doc-nav a[aria-current="page"] { box-shadow: none; background: var(--primary); border-color: var(--primary); color: var(--on-primary); } }
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.prose .updated { color: var(--faint); margin-top: 10px; font-size: .95rem; }
.prose h2 { margin-top: 38px; font-size: 1.3rem; }
.prose p, .prose li { color: var(--muted); margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 0; }
.prose dl { margin: 22px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.prose dt { color: var(--faint); } .prose dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.code-404 { font: italic 900 clamp(5rem, 18vw, 9rem)/1 var(--display); font-stretch: 125%; color: var(--surface-3); letter-spacing: -.04em; margin-bottom: 8px; }

/* ---------- tables and admin ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.t th { text-align: left; color: var(--faint); font-size: .84rem; font-weight: 600; padding: 10px 12px; border-bottom: 1.5px solid var(--line-2); white-space: nowrap; }
table.t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr:hover td, table.t tr:hover td { background: rgba(255, 255, 255, .025); }
.pill { display: inline-block; padding: 2px 11px; border-radius: 999px; font: 700 .78rem/1.6 var(--display); background: var(--surface-3); color: var(--muted); white-space: nowrap; vertical-align: middle; }
.pill.s-paid, .pill.s-completed { background: rgba(61, 220, 151, .16); color: var(--ok); }
.pill.s-fulfillment_in_progress { background: rgba(56, 225, 255, .14); color: var(--link); }
.pill.s-pending_payment, .pill.s-payment_processing, .pill.s-refund_pending { background: rgba(255, 194, 71, .16); color: #ffd98a; }
.pill.s-payment_failed, .pill.s-disputed, .pill.s-expired, .pill.s-canceled { background: rgba(255, 107, 129, .16); color: #ff9aa9; }
.pill.s-refunded { background: var(--surface-3); color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #02011c; margin-top: clamp(24px, 4vw, 48px); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 36px; padding: 52px 0 34px; }
.foot-brand p { color: var(--muted); margin-top: 16px; max-width: 38ch; font-size: .98rem; }
.foot h2 { font: 700 .98rem var(--display); letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:not(.brand) { color: var(--muted); overflow-wrap: anywhere; }
.foot a:not(.brand):hover { color: var(--text); }
.foot-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); }
.foot-pay > span { color: var(--faint); font-size: .92rem; }
.legal-line { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--faint); font-size: .9rem; max-width: none; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- motion ---------- */
/* One orchestrated moment: the hero settles in on load. Everything else moves only in answer to the user. */
.js .hero .reveal { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { transform: translateY(16px); } } /* movement only, so content is never left invisible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .hero .reveal { animation: none; }
  .gw-ring, .gw-tick { stroke-dashoffset: 0; }
}

/* ---------- brand loader: the mascot inside a turning ring. Shown while an order is being created. ---------- */
.bobo-loader { position: relative; width: 84px; height: 84px; display: grid; place-items: center; flex: none; }
.bobo-loader img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.bobo-loader::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 4px; background: conic-gradient(from 0deg, transparent 0 25%, #38e1ff 55%, #c832f5 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 1s linear infinite; }
.bobo-loader.sm { width: 46px; height: 46px; } .bobo-loader.sm img { width: 32px; height: 32px; } .bobo-loader.sm::before { padding: 3px; }
.page-loader { position: fixed; inset: 0; z-index: 95; display: grid; place-content: center; justify-items: center; gap: 16px; background: rgba(4, 3, 42, .9); backdrop-filter: blur(6px); color: var(--text); font: 700 1.05rem var(--display); }
.page-loader[hidden] { display: none; }

/* ---------- language switcher ---------- */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); flex: none; }
.lang a { padding: 5px 9px; border-radius: 7px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--primary); color: var(--on-primary); }
@media (max-width: 760px) { .lang { margin-left: auto; } }
@media (max-width: 520px) { .hdr { gap: 8px; } .lang { padding: 2px; } .lang a { padding: 4px 7px; font-size: .68rem; } }
