:root {
  --bg: #0d0d0d;
  --bg-2: #111111;
  --card: #171717;
  --card-2: #1e1e1e;
  --card-3: #262626;
  --line: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.5);
  --dim: rgba(255, 255, 255, 0.32);
  /* brand colour — change these two to rebrand */
  --accent: #3d9bff;
  --accent-rgb: 61, 155, 255;
  --accent-dark: #0f2a47;
  --danger: #ff5d73;
  --warn: #ffbf47;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(var(--accent-rgb), .35); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(13, 13, 13, .72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav .container { display: flex; align-items: center; gap: 36px; height: 84px; transition: height .4s var(--ease); }
.nav.scrolled .container { height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
.logo-mark svg { width: 19px; height: 19px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { color: var(--muted); font-weight: 500; padding: 8px 14px; border-radius: 9px; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--text); transition: background .25s, transform .25s var(--ease); position: relative; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  display: grid; place-items: center; transition: transform .4s var(--ease);
}
.cart-count[data-n="0"] { transform: scale(0); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border-radius: 10px; font-weight: 600; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(to top right, var(--accent-dark), #0c0c0c); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .18); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top right, var(--accent), var(--accent-dark)); opacity: 0; transition: opacity .4s var(--ease); }
.btn-primary:hover::before { opacity: 1; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: #5aabff; }
.btn-ghost { background: var(--card); color: #aaa; }
.btn-ghost:hover { background: var(--card-2); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 75% 60%, rgba(var(--accent-rgb), .10), transparent 70%),
  radial-gradient(40% 40% at 10% 0%, rgba(255,255,255,.035), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 660px; position: relative; z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.eyebrow b { background: rgba(var(--accent-rgb), .14); color: var(--accent); font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
.hero h1 { font-size: clamp(3.2rem, 7.6vw, 6rem); line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.hero h1 .word { display: inline-block; }
.hero h1 .accent { text-shadow: 0 0 40px rgba(var(--accent-rgb), .45); }
.hero p.lead { color: var(--muted); font-size: 1.125rem; line-height: 1.6; max-width: 460px; margin: 26px 0 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* the 3D dashboard that bleeds off the right */
.dash-wrap { position: absolute; z-index: 1; right: -14vw; top: 50%; width: min(900px, 68vw); transform: translateY(-38%); perspective: 1600px; pointer-events: none; translate: var(--px, 0) var(--py, 0); transition: translate 1.4s var(--ease); }
.dash {
  transform: rotateY(-24deg) rotateX(10deg) rotateZ(-2deg); transform-style: preserve-3d;
  background: linear-gradient(180deg, #161616, #0f0f0f); border-radius: 22px; padding: 26px 30px 0;
  box-shadow: 0 60px 120px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform 1.2s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
}
.dash-wrap.in .dash { animation: dashIn 1.6s var(--ease) both; }
@keyframes dashIn { from { opacity: 0; transform: rotateY(-40deg) rotateX(18deg) rotateZ(-4deg) translateX(120px); } }
.dash-top { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: .82rem; margin-bottom: 26px; }
.dash-top i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.dash-top span { margin-left: 12px; padding: 4px 12px; border-radius: 7px; background: var(--card); }
.dash-label { color: var(--muted); font-size: 1rem; }
.dash-num { display: flex; align-items: center; gap: 14px; font-size: clamp(3rem, 7vw, 6.2rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; color: var(--accent); text-shadow: 0 0 50px rgba(var(--accent-rgb), .35); font-variant-numeric: tabular-nums; }
.dash-num svg { width: .8em; height: .8em; flex: none; }
.dash-chart { width: 100%; height: 230px; display: block; margin-top: 10px; }
.dash-chart .line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .5s var(--ease) forwards; }
.dash-chart .area { opacity: 0; animation: fadein 1.6s 1.2s var(--ease) forwards; }
.dash-chart .pt { opacity: 0; animation: fadein .6s var(--ease) forwards; }
.dash-chart text { fill: var(--dim); font-size: 13px; font-family: var(--font); font-weight: 600; opacity: 0; animation: fadein .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* floating order toasts over the dashboard */
.float-cards { position: absolute; z-index: 2; right: 4vw; bottom: 7vh; display: grid; gap: 10px; width: 280px; pointer-events: none; }
.float-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(23,23,23,.82); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.05);
  animation: floatIn .8s var(--ease) both, bob 6s ease-in-out infinite;
}
.float-card:nth-child(2) { margin-left: 34px; animation-delay: .15s, 1.5s; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 19px; height: 19px; }
.float-card b { display: block; font-size: .92rem; font-weight: 600; }
.float-card small { color: var(--muted); font-size: .8rem; }
.float-card .amt { margin-left: auto; font-weight: 700; font-size: .9rem; color: var(--accent); }
@keyframes floatIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes bob { 50% { translate: 0 -8px; } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 3; width: 24px; height: 38px; border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: #fff; translate: -50% 0; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- stats band ---------- */
.stats { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); background-size: 250% 100%; animation: sheen 6s linear infinite; }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stat { padding: 46px 10px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 4px; font-size: 1rem; font-weight: 500; opacity: .9; }

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 12px; background: var(--card); font-weight: 500; font-size: .92rem; white-space: nowrap; }
.chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.chip .ic svg { width: 16px; height: 16px; }
.chip em { font-style: normal; color: var(--muted); font-size: .85rem; }

/* ---------- sections ---------- */
section.block { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2, h2.big { font-size: clamp(2.2rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius); padding: 28px; transition: transform .5s var(--ease), background .4s; }
.feature::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .10), transparent 60%); }
.feature:hover { transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature .row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.feature .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); flex: none; }
.feature .ico svg { width: 17px; height: 17px; }
.feature h3 { font-size: 1.2rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: .97rem; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.step:hover { transform: translateY(-4px); }
.step .num { font-size: 3.4rem; font-weight: 900; line-height: 1; color: rgba(var(--accent-rgb), .22); margin-bottom: 18px; letter-spacing: -0.03em; transition: color .5s var(--ease); }
.step:hover .num { color: var(--accent); }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

.games { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.game-card { position: relative; overflow: hidden; border-radius: 20px; padding: 36px; min-height: 300px; background: var(--card); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.game-card .art { position: absolute; inset: 0; z-index: -1; transition: transform 1s var(--ease); }
.game-card:hover .art { transform: scale(1.06); }
.game-card.mm2 .art { background: radial-gradient(80% 90% at 90% 0%, rgba(255,93,115,.22), transparent 60%); }
.game-card.adoptme .art { background: radial-gradient(80% 90% at 90% 0%, rgba(255,191,71,.2), transparent 60%); }
.game-card .tagline { color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.game-card h3 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.game-card p { color: var(--muted); margin-top: 6px; }
.game-card .go { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.game-card .go .arrow { width: 18px; }
.game-card:hover .go .arrow { transform: translateX(5px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; display: grid; gap: 18px; margin-top: 30px; }
.checklist li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.checklist .ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(var(--accent-rgb), .14); color: var(--accent); display: grid; place-items: center; flex: none; }
.checklist .ico svg { width: 15px; height: 15px; }

.stack { position: relative; display: grid; gap: 18px; }
.stack-card { background: var(--card); border-radius: 16px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transition: transform .7s var(--ease); }
.stack-card:nth-child(1) { transform: rotate(-1.5deg); }
.stack-card:nth-child(2) { transform: rotate(1.5deg) translateX(30px); }
.stack:hover .stack-card:nth-child(1) { transform: rotate(0) translateX(-6px); }
.stack:hover .stack-card:nth-child(2) { transform: rotate(0) translateX(16px); }
.stack-card h4 { font-size: .9rem; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.pay-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pill { font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: rgba(61,220,132,.12); color: #3ddc84; font-weight: 600; margin-left: 8px; }
.pill.blue { background: rgba(var(--accent-rgb), .14); color: var(--accent); }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq details.open .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { color: var(--muted); padding: 0 24px 22px; line-height: 1.65; }

.cta { position: relative; overflow: hidden; text-align: center; padding: 90px 28px; border-radius: 24px; background: var(--card); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, rgba(var(--accent-rgb), .22), transparent 85%); animation: spin 10s linear infinite; }
.cta::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 23px; background: radial-gradient(60% 80% at 50% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--card); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 32px; font-size: 1.05rem; }

/* ---------- footer ---------- */
footer { padding: 80px 0 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.foot-grid h4 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.foot-grid a, .foot-grid span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin-bottom: 10px; transition: color .25s; }
.foot-grid a:hover { color: var(--text); }
.pay-methods { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 60px; color: var(--muted); font-size: .9rem; }
.pay-methods .pm { height: 34px; padding: 0 12px; border-radius: 9px; background: var(--card); display: inline-flex; align-items: center; gap: 7px; color: #ddd; font-weight: 600; font-size: .82rem; }
.pay-methods .pm i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 900; color: #fff; }
.foot-bottom { text-align: center; margin-top: 40px; }
.foot-bottom .logo { justify-content: center; margin-bottom: 18px; }
.disclaimer { color: var(--dim); font-size: .8rem; max-width: 760px; margin: 10px auto 0; line-height: 1.6; }

/* ---------- shop ---------- */
.page-top { padding-top: 84px; }
.shop-hero { padding: 70px 0 10px; }
.shop-hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.shop-hero p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.toolbar { position: sticky; top: 68px; z-index: 20; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 18px 0; margin: 20px 0 10px; background: linear-gradient(var(--bg) 75%, transparent); }
.tabs, .pay-toggle { position: relative; display: flex; gap: 2px; background: var(--card); padding: 4px; border-radius: 11px; }
.tab-pill { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 8px; background: var(--card-3); transition: transform .45s var(--ease), width .45s var(--ease); z-index: 0; }
.tab { position: relative; z-index: 1; padding: 9px 18px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .93rem; transition: color .3s; }
.tab.active { color: var(--text); }
.search, .select { background: var(--card); border: 0; border-radius: 11px; padding: 12px 16px; outline: none; height: 44px; transition: box-shadow .25s; }
.search { flex: 1; min-width: 200px; padding-left: 42px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center/18px no-repeat; }
.search:focus, .select:focus, .field input:focus, .field select:focus { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .5); }
.select { appearance: none; padding-right: 38px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
.select option { background: var(--card); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; padding-bottom: 20px; }
.product { background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(6px); } }
.product:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.product.soldout { opacity: .55; }
.thumb { aspect-ratio: 5/4; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--card-2); }
.thumb .glow { position: absolute; inset: 0; transition: opacity .5s, transform 1s var(--ease); }
.thumb .art { width: 46%; height: 46%; position: relative; transition: transform .8s var(--ease); filter: drop-shadow(0 14px 24px rgba(0,0,0,.5)); }
.thumb .art svg { width: 100%; height: 100%; }
.thumb img { width: 78%; height: 78%; object-fit: contain; position: relative; transition: transform .8s var(--ease); }
.product:hover .thumb .art, .product:hover .thumb img { transform: scale(1.1) rotate(-6deg); }
.product:hover .thumb .glow { transform: scale(1.2); }
.thumb .badge { position: absolute; top: 12px; left: 12px; }
.thumb .stock { position: absolute; top: 12px; right: 12px; font-size: .74rem; color: rgba(255,255,255,.75); background: rgba(0,0,0,.45); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.badge { font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; backdrop-filter: blur(8px); }
.r-godly    { background: rgba(255,93,115,.16); color: #ff8798; }
.r-chroma   { background: linear-gradient(90deg, rgba(255,93,115,.3), rgba(61,155,255,.3)); color: #fff; }
.r-ancient  { background: rgba(178,120,255,.18); color: #c9a3ff; }
.r-legendary{ background: rgba(255,191,71,.16); color: var(--warn); }
.r-unique   { background: rgba(61,220,132,.14); color: #5ee59b; }
.p-body { padding: 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.p-body h3 { font-size: 1.12rem; font-weight: 700; }
.p-body .type { color: var(--muted); font-size: .87rem; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.tags span { font-size: .72rem; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--muted); font-weight: 500; }
.p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; gap: 10px; }
.price { font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.rbx { width: 18px; height: 18px; flex: none; color: var(--accent); }
.add-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 9px; background: var(--card-3); font-weight: 600; font-size: .9rem; transition: background .3s, transform .3s var(--ease); }
.add-btn:hover { background: var(--accent); }
.add-btn:active { transform: scale(.94); }
.add-btn.added { background: #2bb673; }
.add-btn[disabled] { background: transparent; color: var(--muted); cursor: not-allowed; }
.empty { text-align: center; color: var(--muted); padding: 80px 0; grid-column: 1/-1; }
.shop-note { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 18px 20px; margin: 30px 0 80px; color: var(--muted); }
.shop-note .ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(var(--accent-rgb), .14); color: var(--accent); display: grid; place-items: center; flex: none; }
.shop-note .ico svg { width: 17px; height: 17px; }

/* ---------- drawer & modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(420px, calc(100% - 20px)); z-index: 100; background: var(--bg-2); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px var(--line); transform: translateX(calc(100% + 20px)); transition: transform .6s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 14px; }
.drawer-head h3 { font-size: 1.3rem; font-weight: 700; }
.drawer-items { flex: 1; overflow-y: auto; padding: 6px 16px; display: grid; gap: 8px; align-content: start; }
.c-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; background: var(--card); padding: 10px; border-radius: 14px; animation: cardIn .5s var(--ease) both; }
.c-thumb { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); }
.c-thumb svg, .c-thumb img { width: 60%; height: 60%; }
.c-item h4 { font-size: .97rem; font-weight: 600; }
.c-item small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 4px; background: var(--card-2); border-radius: 9px; padding: 3px; }
.qty button { width: 26px; height: 26px; border-radius: 7px; transition: background .2s; }
.qty button:hover { background: var(--card-3); }
.qty span { min-width: 18px; text-align: center; font-weight: 600; font-size: .9rem; }
.drawer-foot { padding: 18px 22px 22px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .95rem; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; }
.sum-row.total { color: var(--text); font-weight: 700; font-size: 1.15rem; }
.note { font-size: .86rem; padding: 11px 13px; border-radius: 10px; background: rgba(var(--accent-rgb), .08); color: #b8d9ff; }
.note.warn { background: rgba(255,191,71,.08); color: #ffdc9a; }
.drawer-foot .pay-toggle .tab { flex: 1; }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal-box { width: min(500px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-2); border-radius: 22px; padding: 30px; box-shadow: 0 40px 100px rgba(0,0,0,.7), inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s var(--ease); }
.modal.open { pointer-events: auto; }
.modal.open .modal-box { opacity: 1; transform: none; filter: none; }
.modal-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label { font-size: .88rem; color: var(--muted); font-weight: 500; }
.field input, .field select { background: var(--card); border: 0; border-radius: 10px; padding: 12px 14px; outline: none; width: 100%; transition: box-shadow .25s; }
.addr { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--card); border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; word-break: break-all; }
.addr button { flex: none; color: var(--accent); font-family: var(--font); font-weight: 600; font-size: .85rem; }
.steps-list { margin: 16px 0 0 18px; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.steps-list b { color: var(--text); }
.success-ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(61,220,132,.14); color: #3ddc84; display: grid; place-items: center; margin-bottom: 16px; }
.success-ic svg { width: 28px; height: 28px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s var(--ease) forwards; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 200; display: flex; align-items: center; gap: 10px; background: var(--card-2); padding: 12px 18px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 1px var(--line); opacity: 0; transform: translate(-50%, 20px) scale(.96); transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; font-weight: 500; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- legal ---------- */
.legal { max-width: 780px; padding: 70px 0 60px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; }
.legal .feature { margin-bottom: 14px; }
.legal .feature h3 { margin-bottom: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 0; min-height: auto; }
  .dash-wrap { position: relative; top: auto; right: auto; transform: none; align-self: flex-end; width: 92vw; margin: 10px -26vw 0 0; order: 2; }
  .scroll-hint { display: none; }
  .dash { padding-bottom: 10px; }
  .float-cards { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav .container { gap: 12px; }
  .nav-right .btn { padding: 9px 16px; }
  .hero { padding: 120px 0 0; }
  .dash-wrap { width: 125vw; margin: 0 -50vw 0 0; }
  .dash { padding: 18px 20px 6px; }
  .dash-chart { height: 150px; }
  .scroll-hint { display: none; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 6px; }
  .grid-3, .steps, .games { grid-template-columns: 1fr; }
  .stack-card:nth-child(2) { transform: rotate(1.5deg) translateX(10px); }
  section.block { padding: 80px 0; }
  .game-card { min-height: 240px; padding: 28px; }
  .toolbar { top: 68px; }
  .toolbar > .search { flex: 1 1 100%; order: -1; }
  .tabs { flex: 1 1 100%; }
  .tabs .tab { flex: 1; }
  .select, .pay-toggle { flex: 1; }
  .pay-toggle .tab { flex: 1; padding-inline: 10px; }
  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-body { padding: 14px; }
  .p-body h3 { font-size: 1rem; }
  .p-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .add-btn { justify-content: center; }
  .thumb .stock { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- real item images ---------- */
.thumb img { width: 64%; height: 64%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0,0,0,.55)); }
.product[data-game="adoptme"] .thumb img { width: 56%; height: 56%; }
.c-thumb img { width: 80%; height: 80%; object-fit: contain; }
.float-card .ic img, .chip .ic img { width: 88%; height: 88%; object-fit: contain; }
.chip .ic { width: 34px; height: 34px; }
.float-card .ic { width: 42px; height: 42px; }
.pay-methods .pm img { width: 18px; height: 18px; }
.rbx { color: var(--text); opacity: .9; }

.game-card .art img { position: absolute; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); transition: transform 1s var(--ease); }
.game-card .art .a1 { right: 6%; top: 8%; width: 46%; max-width: 270px; transform: rotate(-10deg); }
.game-card .art .a2 { right: 34%; top: 2%; width: 26%; max-width: 150px; transform: rotate(14deg); opacity: .55; filter: blur(1px) drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.game-card.adoptme .art .a1 { width: 40%; max-width: 240px; transform: none; top: 4%; }
.game-card.adoptme .art .a2 { width: 24%; transform: none; }
.game-card:hover .art .a1 { transform: rotate(-4deg) translateY(-8px) scale(1.04); }
.game-card.adoptme:hover .art .a1 { transform: translateY(-10px) scale(1.05); }
.game-card:hover .art .a2 { transform: rotate(6deg) translateY(6px); }
.game-card > *:not(.art) { position: relative; max-width: 60%; }
@media (max-width: 680px) {
  .game-card .art .a1 { width: 44%; top: 6%; }
  .game-card .art .a2 { display: none; }
  .game-card > *:not(.art) { max-width: 100%; }
}

/* ============================================================
   Real-stock cards: rarity colours taken from the games
   ============================================================ */
.product { --tc: 61, 155, 255; position: relative; }
.t-chroma    { --tc: 127, 212, 255; }
.t-ancient   { --tc: 139, 107, 255; }
.t-godly     { --tc: 255, 79, 163; }
.t-legendary { --tc: 255, 191, 71; }
.t-rare      { --tc: 76, 208, 125; }
.t-mega-neon { --tc: 176, 107, 255; }
.t-neon      { --tc: 125, 255, 107; }

.product .thumb { background:
  radial-gradient(70% 60% at 50% 100%, rgba(var(--tc), .16), transparent 70%),
  linear-gradient(180deg, #1c1c1c, #151515); }
.product .thumb .glow { background: radial-gradient(45% 45% at 50% 52%, rgba(var(--tc), .28), transparent 70%); opacity: .8; }
.product:hover .thumb .glow { opacity: 1; }
.product::after { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--tc), .9), transparent); opacity: .55; transition: opacity .4s; }
.product:hover::after { opacity: 1; }
.product .thumb img { width: 70%; height: 70%; }
.product[data-game="adoptme"] .thumb img { width: 62%; height: 62%; }

.qty-tag { position: absolute; top: 10px; right: 12px; font-weight: 900; font-size: 1.05rem; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; }
.soldout .qty-tag { font-size: .78rem; font-weight: 600; color: var(--muted); }

.badge { color: #fff; }
.r-godly     { background: rgba(255,79,163,.2);  color: #ff8cc4; }
.r-ancient   { background: rgba(139,107,255,.22); color: #b9a6ff; }
.r-legendary { background: rgba(255,191,71,.18); color: #ffd27a; }
.r-rare      { background: rgba(76,208,125,.18); color: #7fe3a3; }
.r-mega-neon { background: linear-gradient(90deg, #7a3cff, #c34bff); color: #fff; }
.r-neon      { background: rgba(125,255,107,.18); color: #a8ff98; }
.r-chroma, .r-all.active { color: #fff; }
.r-chroma { background: linear-gradient(90deg, #ff4b4b, #ffb84b, #e7ff4b, #4bff8a, #4bc8ff, #8a4bff, #ff4bd8, #ff4b4b);
  background-size: 200% 100%; animation: rainbow 4s linear infinite; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
@keyframes rainbow { to { background-position: -200% 0; } }

/* Adopt Me M / N / F / R pills */
.pots { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 3px; }
.pots i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: .7rem; font-weight: 900; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 -2px 0 rgba(0,0,0,.18); }
.pm-m { background: #7b3cf0; border-radius: 6px !important; }
.pm-n { background: #5cc93f; }
.pm-f { background: #2f9be8; }
.pm-r { background: #e8337a; }

/* rarity chips */
.tier-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 0 18px; }
.tiers { display: flex; gap: 6px; flex-wrap: wrap; }
.tier-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--card); color: var(--muted); transition: background .3s, color .3s, transform .3s var(--ease); }
.tier-chip em { font-style: normal; font-size: .75rem; opacity: .7; font-variant-numeric: tabular-nums; }
.tier-chip:hover { color: var(--text); transform: translateY(-1px); }
.tier-chip.active { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tier-chip.r-all { background: var(--card); }
.tier-chip.r-all.active { background: var(--card-3); }
.tier-chip:not(.active):not(.r-all) { background: var(--card); color: var(--muted); animation: none; }
.result-count { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }

/* featured row on home */
.featured-block { padding-top: 90px; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.row-head p { margin-top: 10px; font-size: 1.05rem; }
.products.featured { grid-template-columns: repeat(4, 1fr); }

/* big item renders floating in the hero */
.hero-items { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-items .hi { position: absolute; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.65));
  transition: translate 1.2s var(--ease); animation: heroIn 1.4s var(--ease) both, hbob 7s ease-in-out infinite; }
@keyframes hbob { 50% { margin-top: -14px; } }
.hi-0 { width: min(330px, 23vw); right: 3vw; top: 11vh; rotate: -10deg; animation-delay: .5s, 1.9s !important; }
.hi-1 { width: min(250px, 17vw); right: 25vw; bottom: 5vh; animation-delay: .75s, 2.6s !important; }
.hi-2 { width: min(170px, 12vw); right: 4vw; bottom: 8vh; rotate: 18deg; animation-delay: 1s, 3.1s !important; }
.hi-3 { display: none; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(.85); } }
.float-cards { display: none; }

@media (max-width: 1200px) { .products.featured { grid-template-columns: repeat(3, 1fr); } .hi-3 { display: none; } }
@media (max-width: 1000px) {
  .hero-items { inset: auto 0 0 0; height: 0; }
  .hero-items .hi { display: none; }
  .products.featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .qty-tag { font-size: .9rem; top: 8px; right: 9px; }
  .pots i { width: 18px; height: 18px; font-size: .6rem; }
  .tier-row { margin-top: 0; }
  .tiers { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .tiers::-webkit-scrollbar { display: none; }
  .tier-chip { white-space: nowrap; }
}

/* ============================================================
   v4 — cleaner cards, in-game badges, both prices
   ============================================================ */
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.045em; }

.eyebrow { padding: 9px 18px 9px 14px; gap: 10px; font-size: 1rem; color: rgba(255,255,255,.8); font-weight: 500; }
.dash-label { font-size: 1.15rem; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 6px; }

.product { border-radius: 18px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product:hover { box-shadow: 0 0 0 1px rgba(var(--tc), .35), 0 26px 60px rgba(0,0,0,.5); }
.product::after { display: none; }
.product .thumb { aspect-ratio: 1 / 1; border-radius: 14px; margin: 8px 8px 0; }
.product .thumb img { width: 76%; height: 76%; }
.product[data-game="adoptme"] .thumb img { width: 72%; height: 72%; }
.product .thumb::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); z-index: 0; }
.product .thumb img, .product .thumb .art { z-index: 1; }

/* Adopt Me badges, drawn like the in-game ones */
.am-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 4px; }
.am-b { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-family: "Satoshi", Arial, sans-serif; font-weight: 900; font-size: 15px; line-height: 1; color: #fff;
  -webkit-text-stroke: 3px rgba(20,20,40,.55); paint-order: stroke fill;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.35); }
.am-m { border-radius: 7px; background: linear-gradient(180deg, #a35cff, #7a2ee6); }
.am-n { background: linear-gradient(180deg, #8fe05a, #5bbf2e); }
.am-f { background: linear-gradient(180deg, #4fb4ff, #1f8ae0); }
.am-r { background: linear-gradient(180deg, #ff5b95, #e0285f); }
.pots, .qty-tag, .thumb > .badge { display: none; }

/* MM2 rarity label, like the in-game nameplate colours */
.mm2-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 7px;
  font-size: .8rem; font-weight: 800; color: #fff; -webkit-text-stroke: 2px rgba(0,0,0,.35); paint-order: stroke fill;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.3); }
.mm2-tag.r-godly     { background: linear-gradient(180deg, #ff4fbf, #d4128f); }
.mm2-tag.r-ancient   { background: linear-gradient(180deg, #8a5cff, #5a2fd6); }
.mm2-tag.r-legendary { background: linear-gradient(180deg, #ff4a4a, #c91d1d); }
.mm2-tag.r-rare      { background: linear-gradient(180deg, #4fdc7c, #22a750); }
.mm2-tag.r-chroma    { background: linear-gradient(90deg, #ff4b4b, #ffb84b, #e7ff4b, #4bff8a, #4bc8ff, #8a4bff, #ff4bd8, #ff4b4b);
  background-size: 200% 100%; animation: rainbow 4s linear infinite; }

/* body */
.p-body { padding: 16px 18px 18px; gap: 6px; }
.p-body h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.meta { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.meta .tier-name { color: rgb(var(--tc)); font-weight: 600; }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.in-stock { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: rgba(255,255,255,.75); }
.in-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.15); }
.in-stock b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.in-stock.out { color: var(--danger); }
.in-stock.out::before { background: var(--danger); box-shadow: 0 0 0 3px rgba(255,93,115,.15); }

.p-foot { align-items: flex-end; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line); }
.prices { display: flex; flex-direction: column; gap: 2px; }
.prices .price { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; gap: 7px; }
.prices .price .rbx { width: 19px; height: 19px; opacity: 1; }
.prices .usd { font-size: .92rem; color: rgba(255,255,255,.6); font-weight: 600; font-variant-numeric: tabular-nums; }
.prices .usd em { font-style: normal; font-size: .75rem; color: var(--dim); font-weight: 500; }
.add-btn { padding: 10px 16px; border-radius: 11px; background: var(--card-3); }
.add-btn:hover { background: var(--accent); }

@media (max-width: 680px) {
  .product .thumb { margin: 6px 6px 0; }
  .p-body { padding: 12px 12px 14px; }
  .p-body h3 { font-size: .98rem; }
  .meta { font-size: .8rem; gap: 6px; flex-wrap: wrap; }
  .in-stock { font-size: .8rem; }
  .prices .price { font-size: 1.1rem; }
  .prices .usd { font-size: .82rem; }
  .p-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .am-b { width: 22px; height: 22px; font-size: 12px; }
  .am-badges, .mm2-tag { top: 9px; left: 9px; }
  .mm2-tag { font-size: .7rem; padding: 3px 8px; }
}

/* ---------- checkout errors + order tracking ---------- */
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255,93,115,.1); color: #ffb3bf; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.pay-toggle .tab[disabled] { opacity: .45; cursor: not-allowed; }
.order-page { padding-bottom: 80px; }
.order-view { max-width: 640px; }
.order-card { background: var(--card); border-radius: 18px; padding: 26px; display: grid; gap: 18px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.order-head h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.status-pill { padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--card-3); }
.status-pill.s-pending_payment { background: rgba(255,191,71,.14); color: #ffd27a; }
.status-pill.s-paid { background: rgba(61,155,255,.16); color: #9ccbff; }
.status-pill.s-delivered { background: rgba(61,220,132,.15); color: #7fe3a3; }
.status-pill.s-expired, .status-pill.s-cancelled { background: rgba(255,93,115,.14); color: #ffb3bf; }
.track { list-style: none; display: grid; gap: 14px; padding: 0; margin: 0; }
.track li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.track li span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--card-3); flex: none; }
.track li.done { color: var(--text); }
.track li.done span { background: #3ddc84; border-color: #3ddc84; }
.track li.now { color: var(--text); font-weight: 600; }
.track li.now span { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.order-lines { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.small { font-size: .85rem; }

.hold { font-weight: 600; color: #ffd27a; font-variant-numeric: tabular-nums; }

/* ---------- Discord login + account menu ---------- */
.auth-slot { margin-left: 6px; display: flex; align-items: center; }
.btn-discord { background: #5865f2; color: #fff; padding: 10px 18px; gap: 8px; }
.btn-discord:hover { background: #4752c4; }
.btn .dc, .dc { width: 18px; height: 18px; flex: none; }
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--card); transition: background .2s; }
.user-btn:hover { background: var(--card-2); }
.user-btn img, .avatar-fallback { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.avatar-fallback { display: grid; place-items: center; background: #5865f2; font-weight: 800; font-size: .85rem; }
.user-name { font-weight: 600; font-size: .92rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-tag { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.role-owner { background: linear-gradient(90deg, #ffbf47, #ff8a3d); color: #2a1600; }
.role-staff { background: rgba(var(--accent-rgb), .2); color: #9ccbff; }
.user-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--card-2); border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 1px var(--line); display: grid; z-index: 60; }
.user-pop .up-head { padding: 10px 12px; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.user-pop a, .user-pop button { text-align: left; padding: 10px 12px; border-radius: 9px; font-weight: 500; font-size: .93rem; }
.user-pop a:hover, .user-pop button:hover { background: var(--card-3); }
.nav-admin { color: #ffd27a !important; }
.as-user { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.as-user img { width: 24px; height: 24px; border-radius: 50%; }
.as-user b { color: var(--text); }
.my-orders { display: grid; gap: 12px; max-width: 760px; }
.mo-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--card); border-radius: 16px; padding: 18px 20px; transition: background .2s; }
.mo-row:hover { background: var(--card-2); }
.mo-row b { font-size: 1.05rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.mo-row .muted { font-size: .88rem; }
.mo-right { display: grid; gap: 6px; justify-items: end; }
@media (max-width: 680px) {
  .user-name { display: none; }
  .btn-discord span { display: none; }
  .btn-discord { padding: 10px 12px; }
}

/* nav: keep links on one line; drop the info links first when space is tight */
.nav-links a { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav-links a[href="/#how"], .nav-links a[href="/#faq"] { display: none; }
}

/* Live game pass check on the order page */
.pass-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 4px 0 14px; border-radius: 12px; background: var(--card); font-size: .88rem; color: #bbb; }
.pass-check > span:nth-child(2) { flex: 1; min-width: 0; }
.pc-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #3d9bff; animation: pc-pulse 1.6s ease-in-out infinite; }
.pc-dot.warn { background: #ffbf47; animation: none; }
@keyframes pc-pulse { 50% { opacity: .35; } }
.btn-sm { padding: 8px 12px; font-size: .82rem; flex: none; }
@media (prefers-reduced-motion: reduce) { .pc-dot { animation: none; } }

/* Shop: "Show more" under the grid */
.more-row { display: flex; justify-content: center; margin: 22px 0 6px; }
.more-row .btn[hidden] { display: none; }
