/* ================= allplaygo · arcade cerah ================= */
:root {
  --bg: #f4f1ff;
  --bg-2: #e9e3ff;
  --card: #ffffff;
  --ink: #1a1033;
  --ink-2: #4a3f6b;
  --muted: #8a80a8;
  --line: #e2dbf7;
  --violet: #6c2bff;
  --violet-d: #5218e0;
  --violet-t: #ece4ff;
  --green: #14c96f;
  --green-t: #d8f8e7;
  --orange: #ff8a00;
  --orange-t: #ffecd6;
  --cyan: #0bb6f2;
  --cyan-t: #d9f4ff;
  --pink: #ff3d81;
  --yellow: #ffd12e;
  --cut: 14px;
  --cut-s: 9px;
  --pop: cubic-bezier(.34, 1.7, .5, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --head: 'Chakra Petch', system-ui, sans-serif;
  --body: 'Outfit', system-ui, sans-serif;
  --pix: 'Silkscreen', monospace;
  --w: 1220px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(rgba(108, 43, 255, .09) 1.2px, transparent 1.2px); background-size: 22px 22px; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.pix { font-family: var(--pix); font-weight: 400; letter-spacing: .02em; }
.muted { color: var(--muted); }

/* chamfer */
.ch { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.ch-s { clip-path: polygon(var(--cut-s) 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%, 0 var(--cut-s)); }

.tn-violet { --tc: var(--violet); --tb: var(--violet-t); }
.tn-cyan { --tc: var(--cyan); --tb: var(--cyan-t); }
.tn-orange { --tc: var(--orange); --tb: var(--orange-t); }
.tn-green { --tc: var(--green); --tb: var(--green-t); }

/* ---------- Buttons ---------- */
.btn { --b: var(--card); --f: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; background: var(--b); color: var(--f); font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(var(--cut-s) 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%, 0 var(--cut-s));
  box-shadow: inset 0 -5px 0 rgba(26, 16, 51, .2); transition: transform .12s, box-shadow .12s, background .2s, filter .2s; position: relative; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 rgba(26, 16, 51, .2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-v { --b: var(--violet); --f: #fff; }
.btn-g { --b: var(--green); --f: var(--ink); }
.btn-o { --b: var(--orange); --f: var(--ink); }
.btn-k { --b: var(--ink); --f: #fff; }
.btn-l { --b: var(--bg-2); }
.btn-sm { height: 40px; padding: 0 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--card); font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background .2s, color .2s; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.chip:hover { background: var(--violet-t); }
.chip.on { background: var(--ink); color: #fff; }
.badge { display: inline-block; font-family: var(--pix); font-size: .66rem; padding: 3px 8px; background: var(--ink); color: #fff; }
.badge.o { background: var(--orange); color: var(--ink); }
.badge.g { background: var(--green); color: var(--ink); }
.badge.p { background: var(--pink); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(244, 241, 255, .88); backdrop-filter: blur(12px); border-bottom: 2px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.logo-mk { width: 40px; height: 40px; background: var(--violet); display: grid; place-items: center; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: transform .4s var(--pop); }
.logo:hover .logo-mk { transform: rotate(-8deg) scale(1.08); }
.logo-mk svg { width: 24px; height: 24px; }
.logo b { color: var(--violet); }
.logo i { font-style: normal; color: var(--orange); }
.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 14px; font-weight: 600; font-size: .94rem; color: var(--ink-2); position: relative; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--out); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--violet); }
.srch { flex: 1; max-width: 320px; margin-left: auto; position: relative; }
.srch input { width: 100%; height: 44px; border: 0; background: var(--card); padding: 0 14px 0 40px; outline: none; font-weight: 500; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); box-shadow: inset 0 0 0 2px var(--line); }
.srch input:focus { box-shadow: inset 0 0 0 2px var(--violet); }
.srch svg { position: absolute; z-index: 1; left: 13px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--muted); }
.xp { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; background: var(--card); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.xp .lv { width: 36px; height: 36px; background: var(--yellow); display: grid; place-items: center; font-family: var(--pix); font-size: .8rem; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.xp small { display: block; font-family: var(--pix); font-size: .58rem; color: var(--muted); line-height: 1.2; }
.xp .bar { width: 84px; height: 7px; background: var(--bg-2); margin-top: 3px; }
.xp .bar i { display: block; height: 100%; background: var(--green); transition: width 1s var(--out); }
.xp.bump { animation: bump .6s var(--pop); }
@keyframes bump { 40% { transform: scale(1.08); } }
.cartb { position: relative; width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: #fff; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .2s; }
.cartb:hover { background: var(--violet); }
.cartb svg { width: 21px; height: 21px; }
.cartb .n { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; background: var(--orange); color: var(--ink); font-family: var(--pix); font-size: .62rem; display: grid; place-items: center; padding: 0 3px; }
.cartb .n[hidden] { display: none; }
.cartb.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: rotate(-8deg); } 40%, 80% { transform: rotate(8deg); } }
.burger { display: none; }

/* ---------- Page ---------- */
.page { animation: pIn .5s var(--out); }
@keyframes pIn { from { opacity: 0; transform: translateY(14px); } }
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--out), transform .7s var(--out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 20px; }
.hero-g { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--card); padding: 6px 12px 6px 6px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); font-weight: 600; font-size: .88rem; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); margin: 18px 0; text-transform: uppercase; line-height: .95; }
.hero h1 .v { color: var(--violet); }
.hero h1 .o { color: var(--orange); position: relative; display: inline-block; }
.hero h1 .glitch { display: inline-block; animation: glitch 4s steps(1) infinite; }
@keyframes glitch { 0%, 92%, 100% { transform: none; text-shadow: none; } 93% { transform: translate(2px, -1px); text-shadow: -3px 0 var(--cyan), 3px 0 var(--pink); } 95% { transform: translate(-2px, 1px); text-shadow: 3px 0 var(--cyan), -3px 0 var(--pink); } 97% { transform: none; text-shadow: -2px 0 var(--green); } }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; margin: 0 0 24px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hud { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hud div { min-width: 120px; }
.hud small { font-family: var(--pix); font-size: .66rem; color: var(--muted); }
.hud b { display: block; font-family: var(--head); font-size: 1.7rem; }
.hud .hp { height: 8px; background: var(--bg-2); margin-top: 4px; }
.hud .hp i { display: block; height: 100%; background: var(--pink); width: 0; transition: width 1.6s var(--out); }

.stage { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; }
.stage .disc { position: absolute; bottom: 8%; width: 74%; aspect-ratio: 3 / 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 43, 255, .35), rgba(108, 43, 255, .08) 70%, transparent); }
.stage .ring { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(108, 43, 255, .25); animation: spin 40s linear infinite; }
.stage .ring.r2 { width: 62%; border: 2px solid rgba(255, 138, 0, .3); border-style: dotted; animation-duration: 26s; animation-direction: reverse; }
@keyframes spin { to { rotate: 360deg; } }
.stage .blk { position: absolute; width: 58%; height: 70%; background: var(--violet); clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); opacity: .95; rotate: -4deg; }
.stage .blk.b2 { width: 34%; height: 34%; background: var(--yellow); right: 4%; top: 6%; rotate: 8deg; animation: bob 6s ease-in-out infinite; }
.stage .blk.b3 { width: 22%; height: 22%; background: var(--green); left: 6%; bottom: 14%; rotate: -10deg; animation: bob 7s -2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.slides { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .6s; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide img { max-width: 62%; max-height: 74%; object-fit: contain; filter: drop-shadow(0 26px 24px rgba(26, 16, 51, .35)); transform: translateY(24px) scale(.9); transition: transform .9s var(--pop); }
.slide.on img { transform: none; animation: float 5s 1s ease-in-out infinite; }
.slide img.boxed { border: 8px solid #fff; box-shadow: 0 0 0 2px var(--line); }
@keyframes float { 50% { translate: 0 -12px; } }
.stage-info { position: absolute; left: 0; bottom: 0; z-index: 3; background: var(--card); padding: 12px 16px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); min-width: 230px; box-shadow: inset 0 -4px 0 var(--bg-2); }
.stage-info small { font-family: var(--pix); font-size: .62rem; color: var(--violet); }
.stage-info b { display: block; font-family: var(--head); font-size: 1.15rem; }
.stage-info .p { font-weight: 700; color: var(--ink-2); }
.stage-info .dots { display: flex; gap: 5px; margin-top: 8px; }
.stage-info .dots button { width: 18px; height: 6px; background: var(--bg-2); }
.stage-info .dots button.on { background: var(--violet); width: 30px; transition: width .3s; }
.coin { position: absolute; z-index: 2; right: 3%; bottom: 20%; background: var(--card); padding: 8px 12px; font-family: var(--pix); font-size: .7rem; display: flex; align-items: center; gap: 8px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); animation: bob 5s -1s ease-in-out infinite; }
.coin i { width: 14px; height: 14px; background: var(--yellow); border-radius: 50%; box-shadow: inset -2px -2px 0 #e0a800; animation: flip 1.6s linear infinite; }
@keyframes flip { 50% { transform: scaleX(.2); } }

/* Pixel stars */
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 8px; height: 8px; background: var(--orange); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.3); opacity: .3; } }

/* Marquee strip */
.strip { background: var(--ink); color: #fff; overflow: hidden; margin: 30px 0 0; transform: rotate(-1.2deg); }
.strip-t { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: marq 30s linear infinite; font-family: var(--pix); font-size: .8rem; }
.strip-t span::before { content: '◆'; color: var(--yellow); margin-right: 14px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 56px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-h small { font-family: var(--pix); font-size: .72rem; color: var(--violet); display: block; margin-bottom: 8px; }
.sec-h h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
.sec-h h2 span { color: var(--violet); }
.sec-h p { margin: 6px 0 0; color: var(--ink-2); }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile { background: var(--tb); padding: 18px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .35s var(--pop); }
.tile:hover { transform: translateY(-6px); }
.tile h3 { font-size: 1.25rem; text-transform: uppercase; position: relative; z-index: 1; }
.tile small { font-family: var(--pix); font-size: .62rem; color: var(--tc); position: relative; z-index: 1; }
.tile img { position: absolute; right: -8%; bottom: -6%; width: 66%; max-height: 72%; object-fit: contain; transition: transform .5s var(--pop); filter: drop-shadow(0 10px 10px rgba(26, 16, 51, .2)); }
.tile:hover img { transform: rotate(-8deg) scale(1.08); }
.tile.topup { background: var(--violet); color: #fff; }
.tile.topup small { color: var(--yellow); }
.tile .gems { position: absolute; right: 14px; bottom: 14px; display: grid; grid-template-columns: repeat(3, 26px); gap: 6px; }
.tile .gems i { width: 26px; height: 26px; background: rgba(255, 255, 255, .2); clip-path: polygon(50% 0, 100% 40%, 80% 100%, 20% 100%, 0 40%); animation: twinkle 2.6s ease-in-out infinite; }
.tile .gems i:nth-child(odd) { background: var(--yellow); animation-delay: -1s; }

/* Boss deal */
.boss { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.boss-media { position: relative; display: grid; place-items: center; min-height: 380px; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px); }
.boss-media img { max-width: 70%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: float 5s ease-in-out infinite; }
.boss-media img.boxed { border: 8px solid #fff; }
.boss-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.boss-body small { font-family: var(--pix); font-size: .72rem; color: var(--pink); }
.boss-body h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); text-transform: uppercase; }
.bosshp { display: flex; align-items: center; gap: 10px; font-family: var(--pix); font-size: .7rem; }
.bosshp .b { flex: 1; height: 14px; background: #3a2d5c; padding: 2px; }
.bosshp .b i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange)); width: 100%; transition: width 1.4s var(--out); }
.price-boss { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--yellow); }
.price-boss s { font-size: 1rem; color: #a69bcb; margin-left: 10px; font-family: var(--body); font-weight: 500; }
.timer { display: flex; gap: 8px; }
.timer div { background: #2c2150; padding: 8px; min-width: 64px; text-align: center; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.timer b { display: block; font-family: var(--pix); font-size: 1.4rem; font-weight: 400; }
.timer small { font-family: var(--pix); font-size: .56rem; color: #a69bcb; }

/* Game strip */
.games { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gm { background: var(--gc); color: #fff; aspect-ratio: 1 / 1.1; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; transition: transform .35s var(--pop); }
.gm:hover { transform: translateY(-5px) rotate(-1deg); }
.gm .mn { position: absolute; top: 8px; left: 12px; font-family: var(--pix); font-size: 2.6rem; opacity: .22; line-height: 1; }
.gm b { font-family: var(--head); font-size: 1.05rem; line-height: 1.1; }
.gm small { font-size: .74rem; opacity: .85; }
.gm::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%); transform: translateX(-100%); transition: transform .6s; }
.gm:hover::after { transform: translateX(100%); }

/* Product card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); display: flex; flex-direction: column; position: relative; transition: transform .35s var(--pop); }
.card:hover { transform: translateY(-5px); }
.card-media { aspect-ratio: 1 / .9; background: var(--tb, var(--bg-2)); display: grid; place-items: center; position: relative; overflow: hidden; }
.card-media::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; background: rgba(255, 255, 255, .55); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform .6s var(--pop); }
.card:hover .card-media::before { transform: rotate(45deg) scale(1.15); }
.card-media img { position: relative; max-width: 80%; max-height: 80%; object-fit: contain; transition: transform .5s var(--pop); filter: drop-shadow(0 12px 12px rgba(26, 16, 51, .18)); }
.card-media img.boxed { max-width: 76%; max-height: 72%; border: 5px solid #fff; filter: none; box-shadow: 0 10px 20px -8px rgba(26, 16, 51, .35); }
.card:hover .card-media img { transform: scale(1.07) rotate(-3deg); }
.card .tags { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 4px; flex-wrap: wrap; }
.card-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-b .meta { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); font-weight: 600; }
.card-b .meta .r { color: var(--ink-2); }
.card-b .meta .r b { color: var(--orange); }
.card-b h3 { font-size: 1.05rem; line-height: 1.2; }
.card-b h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-f { display: flex; justify-content: space-between; align-items: end; margin-top: auto; padding-top: 10px; gap: 8px; }
.price { font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.price-was { display: block; font-size: .78rem; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.addb { position: relative; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: var(--violet); color: #fff; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); transition: transform .12s, background .2s; flex: none; }
.addb:hover { background: var(--violet-d); }
.addb:active { transform: translateY(2px); }
.addb svg { width: 20px; height: 20px; }
.addb.ok { background: var(--green); color: var(--ink); animation: bump .4s var(--pop); }

/* Feature row */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); padding: 22px; }
.feat .ic { width: 50px; height: 50px; background: var(--tb); color: var(--tc); display: grid; place-items: center; margin-bottom: 14px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feat p { margin: 0; font-size: .9rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #c9c1e6; margin-top: 50px; padding: 50px 0 28px; position: relative; }
.ftr::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: linear-gradient(-45deg, var(--ink) 7px, transparent 0) 0 0 / 14px 14px, linear-gradient(45deg, var(--ink) 7px, transparent 0) 0 0 / 14px 14px; }
.ftr-g { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
.ftr h4 { font-family: var(--pix); font-weight: 400; font-size: .74rem; color: var(--yellow); margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.ftr a:hover { color: var(--green); }
.ftr .logo { color: #fff; }
.ftr .bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid #33285a; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #8f86b3; }

/* ---------- Catalog ---------- */
.ph { padding: 30px 0 20px; }
.crumb { font-size: .84rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.crumb a:hover { color: var(--violet); }
.ph h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; }
.ph h1 span { color: var(--violet); }
.ph p { margin: 8px 0 0; color: var(--ink-2); }
.fbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.fbar .sp { flex: 1; }
.sel { height: 40px; border: 0; background: var(--card); padding: 0 32px 0 14px; font-weight: 600; font-size: .86rem; outline: none; cursor: pointer; appearance: none; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1033' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.count { font-family: var(--pix); font-size: .7rem; color: var(--muted); margin: 6px 0 16px; }
.empty { text-align: center; padding: 60px 20px; background: var(--card); grid-column: 1 / -1; }
.empty .pxl { font-family: var(--pix); font-size: 3rem; color: var(--violet); line-height: 1; margin-bottom: 14px; animation: bob 3s ease-in-out infinite; }
.empty h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 8px; }
.empty p { color: var(--ink-2); margin: 0 auto 18px; max-width: 42ch; }

/* ---------- Product ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; padding-bottom: 30px; }
.gal { position: sticky; top: 90px; }
.gal-main { background: var(--tb, var(--bg-2)); aspect-ratio: 1 / .92; display: grid; place-items: center; position: relative; overflow: hidden; }
.gal-main::before { content: ''; position: absolute; width: 72%; aspect-ratio: 1; background: rgba(255, 255, 255, .55); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation: spin 30s linear infinite; }
.gal-main img { position: relative; max-width: 78%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(26, 16, 51, .25)); transition: opacity .3s, transform .3s; }
.gal-main img.boxed { border: 8px solid #fff; filter: none; box-shadow: 0 18px 36px -12px rgba(26, 16, 51, .4); max-width: 76%; }
.gal-main img.fade { opacity: 0; transform: scale(.94); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 74px; height: 74px; background: var(--card); padding: 6px; transition: box-shadow .2s; }
.thumbs button.on { box-shadow: inset 0 0 0 3px var(--violet); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pi .plat { font-family: var(--pix); font-size: .72rem; color: var(--violet); }
.pi h1 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 8px 0 10px; text-transform: uppercase; }
.pi .meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: .9rem; color: var(--ink-2); }
.pi .meta b { color: var(--orange); }
.pi .pricebox { background: var(--card); padding: 16px 18px; margin: 20px 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pi .pricebox .now { font-family: var(--head); font-size: 2.3rem; font-weight: 700; }
.pi .pricebox s { color: var(--muted); }
.pi .pricebox .cicil { width: 100%; font-size: .86rem; color: var(--ink-2); }
.pi .pricebox .cicil b { color: var(--violet); }
.pi .desc { color: var(--ink-2); margin: 0 0 20px; }
.opt-l { font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.opts button { padding: 10px 16px; background: var(--card); font-weight: 700; text-align: left; transition: background .2s, color .2s; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.opts button small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.opts button.on { background: var(--violet); color: #fff; }
.opts button.on small { color: #d7cbff; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.qty { display: inline-flex; align-items: center; height: 50px; background: var(--card); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.qty button { width: 44px; height: 100%; font-size: 1.3rem; font-weight: 700; transition: background .15s; }
.qty button:hover { background: var(--violet-t); }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; }
.qty.sm button { width: 34px; }
.qty.sm input { width: 30px; }
.buy-row .btn { flex: 1; min-width: 170px; }
.stock { font-size: .86rem; font-weight: 600; margin: 12px 0 18px; display: flex; gap: 8px; align-items: center; }
.stock i { width: 10px; height: 10px; background: var(--green); animation: twinkle 1.6s infinite; }
.stock.low i { background: var(--pink); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.perks div { background: var(--card); padding: 12px; font-size: .8rem; color: var(--ink-2); }
.perks b { display: block; color: var(--ink); font-size: .88rem; }
.specs { background: var(--card); padding: 6px 20px; margin-top: 10px; }
.specs div { display: grid; grid-template-columns: 170px 1fr; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.specs div:last-child { border-bottom: 0; }
.specs span { color: var(--muted); font-weight: 600; }
.tabs { display: flex; gap: 6px; margin: 30px 0 14px; }
.panel { display: none; animation: pIn .4s var(--out); }
.panel.on { display: block; }
.rvw { background: var(--card); padding: 16px 18px; margin-bottom: 10px; }
.rvw header { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.rvw .av { width: 34px; height: 34px; background: var(--tb, var(--violet-t)); color: var(--violet); display: grid; place-items: center; font-family: var(--pix); font-size: .8rem; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.rvw small { color: var(--muted); display: block; font-size: .76rem; }
.rvw .st { margin-left: auto; color: var(--orange); letter-spacing: 1px; }
.rvw p { margin: 0; color: var(--ink-2); }
.rvw.mine { box-shadow: inset 4px 0 0 var(--green); }
.rform { background: var(--card); padding: 18px; margin-bottom: 14px; display: grid; gap: 12px; }
.rate { display: flex; gap: 4px; }
.rate button { font-size: 1.7rem; color: #d6cfee; transition: color .15s, transform .25s var(--pop); line-height: 1; }
.rate button.on { color: var(--orange); }
.rate button:hover { transform: scale(1.2); }

/* Fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: .8rem; font-weight: 700; margin: 0 0 6px 2px; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; height: 52px; border: 0; background: var(--bg); padding: 0 14px; outline: none; font-weight: 600; font-size: 1rem; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s, background .2s; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.fld textarea { height: 90px; padding-top: 12px; resize: vertical; }
.fld select { appearance: none; cursor: pointer; }
.fld input:focus, .fld select:focus, .fld textarea:focus { box-shadow: inset 0 0 0 2px var(--violet); background: #fff; }
.fld .err { display: none; color: var(--pink); font-size: .78rem; font-weight: 700; margin: 6px 2px 0; }
.fld.bad input, .fld.bad select, .fld.bad textarea { box-shadow: inset 0 0 0 2px var(--pink); background: #fff0f5; animation: shake .35s; }
.fld.bad .err { display: block; }

/* ---------- Top-up ---------- */
.tu { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.box { background: var(--card); padding: 22px; }
.box + .box { margin-top: 14px; }
.box h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-transform: uppercase; }
.box h3 .n { width: 30px; height: 30px; background: var(--violet); color: #fff; font-family: var(--pix); font-size: .76rem; display: grid; place-items: center; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.g-head { display: flex; gap: 16px; align-items: center; }
.g-head .mono { width: 72px; height: 72px; background: var(--gc); color: #fff; font-family: var(--pix); font-size: 1rem; display: grid; place-items: center; flex: none; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.who { margin-top: 12px; padding: 12px 14px; background: var(--green-t); display: flex; gap: 10px; align-items: center; font-weight: 600; animation: pIn .35s var(--out); }
.who b { font-family: var(--pix); font-weight: 400; font-size: .86rem; }
.noms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nom { position: relative; background: var(--bg); padding: 14px; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 96px; transition: background .2s, transform .3s var(--pop); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.nom:hover { background: var(--violet-t); transform: translateY(-2px); }
.nom.on { background: var(--violet); color: #fff; }
.nom .gem { width: 16px; height: 16px; background: var(--cyan); clip-path: polygon(50% 0, 100% 40%, 80% 100%, 20% 100%, 0 40%); margin-bottom: 4px; }
.nom.on .gem { background: var(--yellow); }
.nom b { font-family: var(--head); font-size: 1.02rem; line-height: 1.15; }
.nom small { font-size: .74rem; opacity: .7; }
.nom .p { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9rem; }
.nom .tag { position: absolute; top: 8px; right: 8px; font-family: var(--pix); font-size: .54rem; background: var(--orange); color: var(--ink); padding: 2px 5px; }
.sum { position: sticky; top: 90px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .92rem; }
.kv span:first-child { color: var(--muted); }
.kv b { text-align: right; }
.kv.minus b { color: var(--green); }
.kv.tot { border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 14px; align-items: baseline; }
.kv.tot span:first-child { color: var(--ink); font-weight: 700; }
.kv.tot b { font-family: var(--head); font-size: 1.6rem; }

/* ---------- Cart / checkout ---------- */
.two { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; padding-bottom: 40px; }
.ci { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 2px dashed var(--line); transition: opacity .3s, transform .35s var(--out); }
.ci:last-child { border-bottom: 0; }
.ci.bye { opacity: 0; transform: translateX(30px); }
.ci .im { width: 84px; height: 84px; background: var(--tb, var(--bg-2)); display: grid; place-items: center; padding: 8px; }
.ci .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ci .im .mono { font-family: var(--pix); color: #fff; font-size: .8rem; }
.ci b { display: block; font-family: var(--head); font-size: 1.02rem; line-height: 1.2; }
.ci small { color: var(--muted); font-size: .8rem; }
.ci .r { display: grid; gap: 6px; justify-items: end; }
.ci .rm { font-size: .78rem; color: var(--ink-2); text-decoration: underline; }
.ci .rm:hover { color: var(--pink); }
.pays, .ships { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--bg); cursor: pointer; position: relative; transition: background .2s, box-shadow .2s; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.opt:hover { background: var(--violet-t); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { background: var(--violet-t); box-shadow: inset 0 0 0 2px var(--violet); }
.opt:has(input:focus-visible) { outline: 3px solid var(--orange); }
.opt .pm { min-width: 44px; height: 28px; display: grid; place-items: center; color: #fff; font-size: .62rem; font-weight: 800; padding: 0 6px; }
.opt b { font-size: .88rem; display: block; line-height: 1.2; }
.opt small { color: var(--muted); font-size: .74rem; }
.opt .side { margin-left: auto; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.vbox { display: flex; gap: 8px; margin: 14px 0 6px; }
.vbox input { flex: 1; min-width: 0; height: 42px; border: 0; background: var(--bg); padding: 0 12px; font-family: var(--pix); font-size: .8rem; outline: none; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--line); }
.vhint { font-size: .74rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.vhint button { font-family: var(--pix); font-size: .62rem; background: var(--violet-t); color: var(--violet); padding: 3px 7px; }
.von { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--green-t); padding: 10px 12px; margin: 14px 0 8px; font-size: .86rem; font-weight: 700; }
.von button { text-decoration: underline; font-size: .78rem; }

.abtn-wrap { display: grid; place-items: center; gap: 10px; padding: 8px 0 2px; text-align: center; }
.abtn { width: 108px; height: 108px; border-radius: 50%; background: var(--green); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 2.8rem; box-shadow: inset 0 -9px 0 rgba(0, 0, 0, .2), 0 10px 0 -2px #0d8f4e, 0 18px 30px -8px rgba(20, 201, 111, .6); transition: transform .1s, box-shadow .1s; position: relative; }
.abtn::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px dashed rgba(20, 201, 111, .5); animation: spin 8s linear infinite; }
.abtn:active, .abtn.press { transform: translateY(8px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2), 0 2px 0 -2px #0d8f4e; }
.abtn-wrap small { font-family: var(--pix); font-size: .66rem; color: var(--muted); }
.abtn-wrap .tot { font-family: var(--head); font-size: 1.4rem; font-weight: 700; }

/* Loading screen */
.load { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: #fff; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.load.on { opacity: 1; visibility: visible; }
.load-in { width: min(520px, 100%); text-align: center; }
.load .runner { width: 80px; height: 80px; margin: 0 auto 24px; position: relative; }
.load .runner i { position: absolute; width: 22px; height: 22px; background: var(--violet); animation: hop 1.2s var(--out) infinite; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.load .runner i:nth-child(1) { left: 0; top: 29px; }
.load .runner i:nth-child(2) { left: 29px; top: 29px; background: var(--orange); animation-delay: .15s; }
.load .runner i:nth-child(3) { left: 58px; top: 29px; background: var(--green); animation-delay: .3s; }
@keyframes hop { 30% { transform: translateY(-22px) rotate(90deg); } 60% { transform: none; } }
.load h3 { font-family: var(--pix); font-weight: 400; font-size: 1.3rem; margin-bottom: 10px; }
.load .bar { height: 22px; background: #2c2150; padding: 4px; margin: 18px 0 10px; }
.load .bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--green) 0 14px, #0fae5f 14px 18px); transition: width .25s steps(6); }
.load .pct { font-family: var(--pix); font-size: .8rem; color: var(--yellow); }
.load .tip { margin-top: 18px; color: #b9b0d9; font-size: .9rem; min-height: 2.8em; }
.load .tip b { color: var(--green); font-family: var(--pix); font-weight: 400; font-size: .7rem; display: block; margin-bottom: 4px; }

/* Quest complete */
.qc { text-align: center; padding: 30px 0 10px; }
.qc .big { font-family: var(--pix); font-size: clamp(1.6rem, 5vw, 3rem); color: var(--violet); animation: qcin .7s var(--pop) both; }
@keyframes qcin { from { transform: scale(2.4); opacity: 0; } }
.qc p { color: var(--ink-2); margin: 10px auto 0; max-width: 52ch; }
.xpgain { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; background: var(--card); padding: 12px 18px; }
.xpgain b { font-family: var(--pix); font-weight: 400; color: var(--green); font-size: 1.1rem; }
.xpgain .bar { width: 180px; height: 10px; background: var(--bg-2); }
.xpgain .bar i { display: block; height: 100%; width: 0; background: var(--green); transition: width 1.4s var(--out); }
.oc { background: var(--card); margin-bottom: 14px; }
.oc-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding: 14px 18px; background: var(--bg-2); }
.oc-h .id { font-family: var(--pix); font-size: .8rem; }
.oc-b { padding: 16px 18px; }
.oi { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.oi .im { width: 56px; height: 56px; background: var(--tb, var(--bg-2)); display: grid; place-items: center; padding: 5px; }
.oi .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.oi .im .mono { font-family: var(--pix); color: #fff; font-size: .62rem; }
.oi b { display: block; font-size: .94rem; }
.oi small { color: var(--muted); font-size: .78rem; }
.codebox { grid-column: 1 / -1; background: var(--ink); color: #fff; padding: 12px 14px; display: flex; gap: 10px; align-items: center; margin: 4px 0 6px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.codebox small { color: #a69bcb; font-size: .68rem; display: block; font-family: var(--pix); }
.codebox code { font-family: var(--pix); color: var(--yellow); font-size: .95rem; letter-spacing: .04em; word-break: break-all; }
.codebox button { margin-left: auto; flex: none; height: 32px; padding: 0 12px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: .78rem; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 4px; position: relative; }
.track::before { content: ''; position: absolute; top: 12px; left: 12.5%; right: 12.5%; height: 4px; background: var(--bg-2); }
.track .pg { position: absolute; top: 12px; left: 12.5%; height: 4px; background: var(--green); transition: width 1s var(--out); }
.track div { text-align: center; position: relative; font-size: .76rem; font-weight: 600; color: var(--muted); }
.track div i { width: 28px; height: 28px; background: var(--bg-2); display: grid; place-items: center; margin: 0 auto 6px; font-style: normal; font-family: var(--pix); font-size: .62rem; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.track div.ok { color: var(--ink); }
.track div.ok i { background: var(--green); }
.ol { display: grid; gap: 10px; }
.olr { background: var(--card); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; transition: transform .3s var(--pop); }
.olr:hover { transform: translateX(4px); }
.olr .id { font-family: var(--pix); font-size: .78rem; }
.olr .ims { display: flex; gap: 6px; margin-top: 8px; }
.olr .ims span { width: 44px; height: 44px; background: var(--tb, var(--bg-2)); display: grid; place-items: center; padding: 4px; }
.olr .ims img { max-width: 100%; max-height: 100%; object-fit: contain; }
.olr .ims .mono { font-family: var(--pix); color: #fff; font-size: .52rem; }

/* Player */
.pcard { background: var(--violet); color: #fff; padding: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; position: relative; overflow: hidden; }
.pcard::after { content: ''; position: absolute; width: 260px; height: 260px; right: -60px; top: -80px; background: rgba(255, 255, 255, .08); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation: spin 30s linear infinite; }
.pcard .lvl { width: 96px; height: 96px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-family: var(--pix); font-size: 1.8rem; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.pcard h2 { font-size: 2rem; text-transform: uppercase; }
.pcard .rk { font-family: var(--pix); font-size: .8rem; color: var(--yellow); }
.pcard .bar { height: 14px; background: rgba(0, 0, 0, .25); margin-top: 12px; padding: 3px; max-width: 420px; }
.pcard .bar i { display: block; height: 100%; background: var(--green); width: 0; transition: width 1.2s var(--out); }
.pcard small { color: #dcd2ff; }
.achs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ach { background: var(--card); padding: 16px; display: flex; gap: 12px; align-items: center; }
.ach .ic { width: 48px; height: 48px; background: var(--bg-2); display: grid; place-items: center; font-family: var(--pix); font-size: 1.1rem; color: var(--muted); flex: none; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ach.got .ic { background: var(--yellow); color: var(--ink); }
.ach b { display: block; }
.ach small { color: var(--muted); font-size: .8rem; }
.ach:not(.got) { opacity: .6; }
.credits { background: var(--card); padding: 6px 18px; font-size: .86rem; }
.credits div { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.credits div:last-child { border-bottom: 0; }
.credits a { color: var(--violet); text-decoration: underline; }

/* Toast & achievement */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 150; display: grid; gap: 8px; justify-items: end; width: min(380px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: none; display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; padding: 12px 14px; font-weight: 600; font-size: .9rem; animation: tIn .45s var(--pop) both; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.toast i { width: 12px; height: 12px; background: var(--green); flex: none; }
.toast.err i { background: var(--pink); }
.toast.ach { background: var(--yellow); color: var(--ink); }
.toast.ach i { width: 34px; height: 34px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-style: normal; font-family: var(--pix); font-size: .9rem; }
.toast.ach small { display: block; font-family: var(--pix); font-size: .6rem; }
.toast.out { animation: tOut .3s forwards; }
@keyframes tIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes tOut { to { opacity: 0; transform: translateX(30px); } }
.lvup { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; pointer-events: none; }
.lvup div { font-family: var(--pix); font-size: clamp(2rem, 8vw, 5rem); color: var(--yellow); -webkit-text-stroke: 2px var(--ink); animation: lvup 2.2s var(--out) forwards; text-align: center; }
.lvup small { display: block; font-size: .3em; color: var(--ink); -webkit-text-stroke: 0; background: var(--yellow); padding: 4px 10px; margin-top: 10px; }
@keyframes lvup { 0% { transform: scale(.3); opacity: 0; } 20% { transform: scale(1.1); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
.pxburst { position: fixed; z-index: 139; width: 10px; height: 10px; pointer-events: none; }

.mnav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .games { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 9px 10px; }
  .srch { display: none; }
  .xp { margin-left: auto; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; width: 46px; height: 46px; background: var(--card); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
  .burger svg { width: 22px; height: 22px; }
  .hero-g, .boss, .pd, .tu, .two { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 460px; margin: 0 auto; width: 100%; }
  .gal, .sum { position: static; }
  .ftr-g { grid-template-columns: 1fr 1fr; }
  .achs { grid-template-columns: 1fr 1fr; }
  .pcard { grid-template-columns: auto 1fr; }
  .pcard > :last-child { grid-column: 1 / -1; }
  .mnav { display: block; position: fixed; inset: 0; z-index: 70; background: var(--violet); color: #fff; padding: 84px 22px 22px; transform: translateX(100%); transition: transform .45s var(--out); }
  .mnav.on { transform: none; }
  .mnav a { display: block; font-family: var(--head); font-size: 2.2rem; font-weight: 700; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid rgba(255, 255, 255, .2); }
  .mnav .x { position: absolute; top: 16px; right: 16px; }
  .mnav form { margin-top: 18px; }
  .mnav input { width: 100%; height: 50px; border: 0; padding: 0 14px; font-weight: 600; }
}
@media (max-width: 640px) {
  .hdr-in { height: 62px; gap: 10px; }
  .logo { font-size: 1.15rem; gap: 8px; }
  .logo-mk { width: 34px; height: 34px; }
  .xp { padding: 3px 8px 3px 3px; gap: 6px; }
  .xp .lv { width: 30px; height: 30px; font-size: .66rem; }
  .xp .bar { width: 44px; }
  .xp small span { display: none; }
  .cartb, .burger { width: 42px; height: 42px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 150px; padding: 14px; }
  .tile h3 { font-size: 1.05rem; }
  .games { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gm { padding: 10px; }
  .gm b { font-size: .86rem; }
  .gm small { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-b { padding: 10px 12px 12px; }
  .card-b h3 { font-size: .92rem; }
  .card-b .meta .r { display: none; }
  .price { font-size: 1rem; }
  .addb { width: 38px; height: 38px; }
  .feats { grid-template-columns: 1fr; }
  .boss-body { padding: 24px; }
  .boss-media { min-height: 260px; }
  .noms { grid-template-columns: 1fr 1fr; }
  .fields, .pays, .ships { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 120px 1fr; }
  .ci { grid-template-columns: 64px 1fr; }
  .ci .im { width: 64px; height: 64px; }
  .ci .r { grid-column: 2; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .ftr-g { grid-template-columns: 1fr; }
  .achs { grid-template-columns: 1fr; }
  .stage-info { min-width: 0; right: 30%; }
  .hud { gap: 14px; }
  .hud div { min-width: 0; flex: 1; }
  .hud b { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
.ftr p { margin: 14px 0 0; font-size: .92rem; max-width: 38ch; }
@media (max-width: 640px) {
  .price-boss { font-size: 2rem; }
  .price-boss s { display: block; margin: 2px 0 0; }
}
