/* Black and yellow theme. All colors are variables, so the look can be changed in one place. */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root {
  --bg: #08080a; --bg2: #0f0f13; --card: rgba(19,19,24,.88); --card2: rgba(30,30,37,.94); --line: rgba(var(--wr),.1);
  --yr: 255,214,10; --y: #ffd60a; --y2: #ffb800; --yd: #c99700; --text: #f6f6f8; --mut: #a0a0ab; --ok: #34d399; --bad: #f87171;
  --yt: #ffd60a; --wr: 255,255,255; --br: 0,0,0; --pn: 12,12,16; --hi: #fff; --panelc: #15151a; --r: 18px; --maxw: 1180px; --ease: cubic-bezier(.2,.8,.2,1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
::selection { background: var(--y); color: #000; }

/* ---------- Background effects ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .75; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(var(--wr),.035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--wr),.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%); }
.orb { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .5; }
.o1 { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(var(--yr),.45), transparent 70%); animation: float 16s ease-in-out infinite; }
.o2 { width: 460px; height: 460px; right: -120px; top: 28vh; background: radial-gradient(circle, rgba(255,150,0,.32), transparent 70%); animation: float 20s ease-in-out infinite reverse; }
.glow { position: fixed; z-index: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(var(--yr),.13), transparent 65%); opacity: 0; transition: opacity .4s; will-change: transform; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,50px) scale(1.12); } }
main, footer, header, .band { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1120px, 100% - 24px); display: flex; align-items: center; gap: 16px; padding: 9px 12px 9px 16px; border-radius: 99px; background: rgba(var(--pn),.86); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.nav.scrolled { background: rgba(var(--pn),.86); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--head); letter-spacing: -.01em; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--y), var(--y2)); display: grid; place-items: center; overflow: hidden; flex: none; color: #000; font: 700 15px var(--head); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo.sm { width: 26px; height: 26px; }
.links { display: flex; gap: 4px; margin-left: 18px; }
.links a { padding: 7px 13px; border-radius: 99px; color: var(--mut); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: var(--card2); }
.navr { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 22px; }
.burger[aria-expanded=true] i:first-child { top: 19px; transform: rotate(45deg); } .burger[aria-expanded=true] i:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 99px; padding: 11px 22px; font-weight: 600; font-size: 15px; background: linear-gradient(135deg, var(--y), var(--y2)); color: #0a0a0a; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s, background .25s, opacity .2s; box-shadow: 0 8px 28px rgba(var(--yr),.22); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(var(--yr),.38); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.sm { padding: 8px 16px; font-size: 14px; } .btn.lg { padding: 15px 30px; font-size: 16.5px; }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--card2); border-color: rgba(var(--yr),.5); box-shadow: 0 0 0 4px rgba(var(--yr),.08); }
.btn.dark { background: #0a0a0a; color: var(--y); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.btn.dark:hover { background: #000; }
.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); z-index: -1; }
.shine:hover::after { animation: sweep .9s var(--ease); }
@keyframes sweep { to { transform: translateX(120%); } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 100svh; padding: 130px 0 70px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border-radius: 99px; background: rgba(var(--yr),.1); border: 1px solid rgba(var(--yr),.3); color: var(--yt); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(var(--yr),.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(var(--yr),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--yr),0); } }
h1 { font: 700 clamp(44px, 7.4vw, 88px)/1.02 var(--head); letter-spacing: -.035em; margin: 22px 0 18px; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln > span { display: inline-block; transform: translateY(110%); animation: up 1s var(--ease) forwards; }
.ln:nth-child(2) > span { animation-delay: .12s; } .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes up { to { transform: none; } }
.grad { background: linear-gradient(100deg, var(--yt) 20%, var(--hi) 45%, var(--y2) 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
.grad > span { display: inline-block; transition: opacity .35s, transform .35s var(--ease), filter .35s; }
.grad > span.out { opacity: 0; transform: translateY(-40%); filter: blur(6px); }
@keyframes shimmer { to { background-position: -220% 0; } }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--mut); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 28px 0 0; color: var(--mut); font-size: 14px; }
.chips li { display: flex; align-items: center; gap: 8px; } .chips svg { color: var(--yt); }
.stats { display: flex; gap: 34px; margin-top: 34px; }
.stats div b { display: block; font: 700 34px/1 var(--head); color: var(--yt); letter-spacing: -.02em; }
.stats div span { color: var(--mut); font-size: 13.5px; }
.hero-r { position: relative; height: 480px; perspective: 1200px; }
.stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.gcard { position: absolute; border-radius: 22px; padding: 20px; background: linear-gradient(160deg, rgba(var(--wr),.09), rgba(var(--wr),.03)); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(var(--wr),.1); }
.c1 { width: 330px; left: 50%; top: 14%; margin-left: -150px; transform: translateZ(60px); animation: bob 6s ease-in-out infinite; }
.c2 { width: 230px; left: 2%; bottom: 12%; transform: translateZ(110px); animation: bob 7s ease-in-out -2s infinite; }
.c3 { width: 235px; right: 0; bottom: 4%; transform: translateZ(140px); animation: bob 8s ease-in-out -4s infinite; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.gh { display: flex; align-items: center; gap: 12px; } .gh b { display: block; } .gh small, .mini small { color: var(--mut); display: block; font-size: 12.5px; }
.gl { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--y), var(--y2)); }
.tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 99px; background: var(--card2); color: var(--mut); }
.gline { display: flex; justify-content: space-between; margin: 18px 0 12px; font-size: 14px; color: var(--mut); } .gline b { color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps i { height: 6px; border-radius: 6px; background: rgba(var(--wr),.12); position: relative; overflow: hidden; }
.steps i.on { background: linear-gradient(90deg, var(--y), var(--y2)); box-shadow: 0 0 14px rgba(var(--yr),.5); }
.gfoot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13.5px; color: var(--mut); } .y { color: var(--yt); }
.mini { display: flex; gap: 12px; align-items: center; } .mini b { font-size: 14.5px; }
.dotg { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 16px var(--ok); flex: none; } .dotg.y { background: var(--y); box-shadow: 0 0 16px var(--y); }

/* ---------- Marquee ---------- */
.marq { overflow: hidden; border-block: 1px solid var(--line); background: rgba(var(--yr),.04); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); position: relative; z-index: 1; }
.track { display: flex; gap: 46px; width: max-content; animation: marq 32s linear infinite; }
.track span { font: 700 clamp(22px, 3vw, 34px) var(--head); letter-spacing: .02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(var(--wr),.35); display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
.track span::after { content: ''; width: 12px; height: 12px; background: var(--y); transform: rotate(45deg); border-radius: 3px; }
.marq:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 96px 0 12px; }
.sh { max-width: 640px; margin-bottom: 38px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yt); margin-bottom: 12px; }
.sh h2, .band h2 { font: 700 clamp(30px, 4.4vw, 52px)/1.08 var(--head); letter-spacing: -.03em; margin: 0 0 12px; }
.sh p { color: var(--mut); margin: 0; font-size: 17px; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.glass { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }

/* Games */
.bento { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gm { position: relative; border-radius: 22px; padding: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 14px; min-height: 230px; transition: transform .35s var(--ease), border-color .3s, background .3s; transform-style: preserve-3d; }
.gm::before { content: ''; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--px, 50%) var(--py, 0%), rgba(var(--yr),.2), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.gm:hover { border-color: rgba(var(--yr),.55); background: var(--card2); }
.gm:hover::before { opacity: 1; }
.gm .gb { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font: 700 22px var(--head); color: #0a0a0a; background: linear-gradient(135deg, var(--y), var(--y2)); box-shadow: 0 10px 30px rgba(var(--yr),.3); transition: transform .4s var(--ease); }
.gm:hover .gb { transform: rotate(-8deg) scale(1.08); }
.gm h3 { font: 700 22px var(--head); letter-spacing: -.02em; margin: 0; }
.gm .from { color: var(--mut); font-size: 14px; } .gm .from b { color: var(--yt); font-size: 18px; font-family: var(--head); }
.gm .pr { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.gm .pr span { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: rgba(var(--wr),.06); border: 1px solid var(--line); color: var(--mut); }
.gm .go { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .35s var(--ease); }
.gm:hover .go { background: var(--y); color: #000; transform: rotate(-45deg); border-color: var(--yt); }

/* Checkout */
.co { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
.step { display: flex; gap: 16px; padding: 22px; margin-bottom: 14px; }
.sn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--head); background: rgba(var(--yr),.14); color: var(--yt); border: 1px solid rgba(var(--yr),.4); flex: none; }
.sb { flex: 1; min-width: 0; } .sb h3 { margin: 4px 0 14px; font: 600 18px var(--head); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 9px 18px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--mut); font-weight: 600; font-size: 14.5px; transition: all .25s var(--ease); }
.tab:hover { color: var(--text); border-color: rgba(var(--yr),.4); }
.tab.on { background: var(--y); color: #000; border-color: var(--yt); box-shadow: 0 6px 22px rgba(var(--yr),.3); }
.pk { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.p { position: relative; border-radius: 14px; padding: 13px 14px; background: var(--card); border: 1px solid var(--line); text-align: left; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.p:hover { transform: translateY(-3px); border-color: rgba(var(--yr),.45); }
.p b { display: block; font-size: 15px; } .p span { color: var(--yt); font: 600 14px var(--head); }
.p.on { background: rgba(var(--yr),.1); border-color: var(--yt); box-shadow: 0 0 0 3px rgba(var(--yr),.12); }
.p .q { display: none; align-items: center; gap: 6px; margin-top: 8px; }
.p.on .q { display: flex; }
.q button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--yt); font-weight: 700; line-height: 1; display: grid; place-items: center; padding: 0; }
.q em { font-style: normal; min-width: 18px; text-align: center; font-weight: 700; font-size: 13px; }
.custom { margin-top: 14px; } .custom label { display: block; font-size: 13.5px; color: var(--mut); margin-bottom: 6px; } .custom small { color: var(--mut); display: block; margin-top: 6px; font-size: 12.5px; }
.cin { position: relative; } .cin span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--mut); font-size: 13.5px; pointer-events: none; }
.fields { display: grid; gap: 12px; } .fields.two { grid-template-columns: 1fr 1fr; }
.fields label { display: block; font-size: 13.5px; color: var(--mut); }
input, select, textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--br),.4); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--yt); box-shadow: 0 0 0 4px rgba(var(--yr),.14); }
input.bad, select.bad { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(248,113,113,.14); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffd60a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
select option { background: var(--bg2); color: var(--text); }
.co-r { position: sticky; top: 90px; }
.sum { padding: 22px; }
.sum h3 { margin: 0 0 14px; font: 700 20px var(--head); }
.ln2 { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; } .ln2 span { color: var(--mut); }
.tot { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; } .tot b { font: 700 32px var(--head); color: var(--yt); letter-spacing: -.02em; }
.empty { color: var(--mut); font-size: 14.5px; padding: 10px 0 16px; }
.err { color: var(--bad); font-size: 13.5px; min-height: 20px; margin: 8px 0; }
.note { color: var(--mut); font-size: 12.5px; margin-top: 12px; }
.acc { padding: 14px; border-radius: 14px; background: rgba(var(--br),.35); border: 1px solid var(--line); margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.acc img.lg2 { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: #111; }
.acc b { display: block; } .acc small { color: var(--mut); }
.acc .cp { margin-left: auto; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 600; }
.acc .cp:hover { border-color: var(--yt); color: var(--yt); }
.qr { width: 100%; max-width: 230px; margin: 10px auto; border-radius: 14px; background: #fff; padding: 8px; }
.drop { border: 1.5px dashed rgba(var(--yr),.45); border-radius: 14px; padding: 20px; text-align: center; color: var(--mut); font-size: 14px; transition: background .25s, border-color .25s; cursor: pointer; display: block; }
.drop:hover, .drop.over { background: rgba(var(--yr),.07); border-color: var(--yt); }
.drop img { max-height: 190px; margin: 0 auto 10px; border-radius: 10px; }
.drop input { display: none; }
.tr { margin: 6px 0 0; padding: 0; list-style: none; position: relative; }
.tr li { display: flex; gap: 14px; padding: 8px 0 18px; position: relative; color: var(--mut); font-size: 14.5px; }
.tr li::before { content: ''; position: absolute; left: 12px; top: 32px; bottom: -2px; width: 2px; background: var(--line); }
.tr li:last-child::before { display: none; } .tr li:last-child { padding-bottom: 4px; }
.tr .d { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); display: grid; place-items: center; flex: none; z-index: 1; transition: all .4s var(--ease); }
.tr li.done { color: var(--text); } .tr li.done .d { background: var(--y); border-color: var(--yt); color: #000; }
.tr li.cur .d { border-color: var(--yt); box-shadow: 0 0 0 5px rgba(var(--yr),.18); animation: pulse 1.6s infinite; }
.tr li.cur { color: var(--text); } .tr li.fail .d { background: var(--bad); border-color: var(--bad); color: #000; } .tr li.fail { color: var(--bad); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(var(--yr),0); } }
.status { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: rgba(var(--yr),.14); color: var(--yt); border: 1px solid rgba(var(--yr),.3); }
.status.ok { background: rgba(52,211,153,.12); color: var(--ok); border-color: rgba(52,211,153,.3); } .status.bad { background: rgba(248,113,113,.12); color: var(--bad); border-color: rgba(248,113,113,.3); }

/* Orders */
.ol { display: grid; gap: 12px; }
.or { padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); cursor: pointer; }
.or:hover { border-color: rgba(var(--yr),.45); transform: translateY(-2px); }
.or b { font-family: var(--head); font-size: 17px; } .or small { color: var(--mut); display: block; }
.or .r { text-align: right; } .or .r b { display: block; color: var(--yt); margin-bottom: 6px; }
.emptybox { padding: 34px; text-align: center; color: var(--mut); border: 1px dashed var(--line); border-radius: 16px; }

/* How */
/* How it works: connected steps */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow::before { content: ''; position: absolute; left: 12%; right: 12%; top: 47px; height: 2px; background: linear-gradient(90deg, rgba(var(--yr),.08), rgba(var(--yr),.55), rgba(var(--yr),.08)); z-index: 0; }
.fstep { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.fstep:hover { transform: translateY(-4px); border-color: rgba(var(--yr),.5); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.fhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.fic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #0a0a0a; background: linear-gradient(135deg, var(--y), var(--y2)); box-shadow: 0 0 0 6px var(--bg), 0 10px 26px rgba(var(--yr),.28); }
.fno { font: 600 13px var(--head); letter-spacing: .08em; color: var(--mut); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: rgba(var(--wr),.04); }
.fstep h3 { margin: 0 0 8px; font: 600 18px/1.35 var(--head); color: var(--text); }
.fstep p { margin: 0 0 18px; color: var(--mut); font-size: 14.5px; line-height: 1.65; flex: 1; }
.ftag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--yt); padding: 5px 11px; border-radius: 99px; background: rgba(var(--yr),.1); border: 1px solid rgba(var(--yr),.25); }
:root[data-theme=light] .fstep:hover { box-shadow: 0 18px 40px rgba(40,30,0,.12); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.fq { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.fq.open { border-color: rgba(var(--yr),.5); }
.fq button { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; display: flex; align-items: center; gap: 14px; font: 600 16.5px var(--head); }
.fq button svg { margin-left: auto; color: var(--yt); transition: transform .35s var(--ease); flex: none; } .fq.open button svg { transform: rotate(45deg); }
.fq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); } .fq.open .a { grid-template-rows: 1fr; }
.fq .a > div { overflow: hidden; } .fq .a p { margin: 0; padding: 0 20px 18px; color: var(--mut); white-space: pre-line; }

/* Band + footer */
.band { margin: 96px 0 0; padding: 44px; border-radius: 28px; background: linear-gradient(135deg, var(--y), var(--y2)); color: #0a0a0a; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from var(--a), transparent 0 60%, rgba(var(--wr),.55) 80%, transparent); animation: spin 7s linear infinite; opacity: .55; }
.band > * { position: relative; } .band p { margin: 0; font-size: 17px; max-width: 520px; opacity: .85; }
@keyframes spin { to { --a: 360deg; } }
.foot { padding: 60px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; color: var(--mut); }
.fl { display: flex; align-items: center; gap: 10px; color: var(--text); } .fr { display: flex; gap: 10px; margin-left: auto; } .foot small { width: 100%; font-size: 13px; border-top: 1px solid var(--line); padding-top: 22px; }
.mbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px 10px 18px; border-radius: 20px; background: rgba(var(--pn),.9); border: 1px solid rgba(var(--yr),.4); backdrop-filter: blur(16px); display: none; align-items: center; justify-content: space-between; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.mbar small { color: var(--mut); display: block; line-height: 1.1; } .mbar b { font: 700 20px var(--head); color: var(--yt); }

/* ---------- Support chat ---------- */
.fab { position: fixed; z-index: 70; right: 20px; bottom: 20px; width: 62px; height: 62px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--y), var(--y2)); color: #000; display: grid; place-items: center; box-shadow: 0 12px 36px rgba(var(--yr),.4); transition: transform .3s var(--ease); }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--y); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.fab:hover { transform: scale(1.08) rotate(-6deg); } .fab .i2 { display: none; } .fab[aria-expanded=true] .i1 { display: none; } .fab[aria-expanded=true] .i2 { display: block; } .fab[aria-expanded=true]::before { display: none; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 12px; display: grid; place-items: center; border: 2px solid var(--bg); }
.chat { position: fixed; z-index: 69; right: 20px; bottom: 96px; width: min(380px, 100vw - 24px); height: min(580px, 100svh - 130px); display: flex; flex-direction: column; border-radius: 24px; background: rgba(var(--pn),.94); border: 1px solid rgba(var(--yr),.28); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(var(--yr),.06); overflow: hidden; transform-origin: bottom right; animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.92); } }
.ch { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, rgba(var(--yr),.16), transparent); border-bottom: 1px solid var(--line); }
.who { display: flex; align-items: center; gap: 12px; } .who b { display: block; line-height: 1.2; } .who small { color: var(--mut); font-size: 12.5px; }
.av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--y), var(--y2)); color: #000; }
.x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; } .x:hover { background: var(--card2); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 12px 14px 4px; padding: 4px; border-radius: 99px; background: rgba(var(--wr),.06); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; background: none; border: 0; padding: 8px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--mut); transition: color .3s; }
.seg button.on { color: #000; } .seg i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: linear-gradient(135deg, var(--y), var(--y2)); transition: transform .4s var(--ease); } .seg.admin i { transform: translateX(100%); }
.cmsgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; scroll-behavior: smooth; }
.cmsgs::-webkit-scrollbar { width: 6px; } .cmsgs::-webkit-scrollbar-thumb { background: rgba(var(--wr),.15); border-radius: 6px; }
.m { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: msg .35s var(--ease); }
@keyframes msg { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.m.visitor { align-self: flex-end; background: linear-gradient(135deg, var(--y), var(--y2)); color: #0a0a0a; border-bottom-right-radius: 5px; font-weight: 500; }
.m.bot, .m.admin { align-self: flex-start; background: rgba(var(--wr),.08); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.m.admin { border-color: rgba(var(--yr),.4); } .m small { display: block; font-size: 11px; color: var(--yt); font-weight: 700; margin-bottom: 2px; letter-spacing: .04em; text-transform: uppercase; }
.m.system { align-self: center; max-width: 92%; text-align: center; background: none; color: var(--mut); font-size: 12.5px; padding: 2px 8px; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 13px 16px; border-radius: 16px; background: rgba(var(--wr),.08); } .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--y); animation: dot 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.cq { display: flex; gap: 8px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; } .cq::-webkit-scrollbar { display: none; }
.cq button { flex: none; padding: 7px 13px; border-radius: 99px; background: var(--card); border: 1px solid rgba(var(--yr),.35); color: var(--yt); font-size: 13px; font-weight: 500; transition: background .2s; } .cq button:hover { background: rgba(var(--yr),.14); }
.cform { padding: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; } .cform p { margin: 0; font-size: 13.5px; color: var(--mut); } .cform input { margin: 0; }
.cin2 { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); } .cin2 input { margin: 0; border-radius: 99px; padding: 12px 18px; }
.cin2 button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--y), var(--y2)); color: #000; display: grid; place-items: center; transition: transform .25s var(--ease); } .cin2 button:hover { transform: scale(1.08) rotate(-8deg); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--panelc); border: 1px solid var(--y); color: var(--text); padding: 12px 20px; border-radius: 14px; opacity: 0; pointer-events: none; transition: all .4s var(--ease); max-width: calc(100vw - 32px); box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { border-color: var(--bad); }


/* ---------- Light theme ---------- */
:root[data-theme=light] {
  --bg: #f7f6f2; --bg2: #ffffff; --card: rgba(255,255,255,.94); --card2: #ffffff; --line: rgba(20,20,24,.12); --text: #141416; --mut: #5d5d68;
  --yt: #9a6f00; --wr: 0,0,0; --br: 255,255,255; --pn: 255,255,255; --hi: #3a2a00; --panelc: #ffffff; --ok: #0f9d6a; --bad: #d93a3a; color-scheme: light;
}
:root[data-theme=light] .orb { opacity: .28; } :root[data-theme=light] .glow { background: radial-gradient(circle, rgba(var(--yr), .16), transparent 65%); }
:root[data-theme=light] #fx { opacity: .55; }
:root[data-theme=light] .nav.scrolled { box-shadow: 0 10px 34px rgba(40,30,0,.12); }
:root[data-theme=light] .gcard, :root[data-theme=light] .chat { box-shadow: 0 24px 50px rgba(40,30,0,.14); }
:root[data-theme=light] .glass, :root[data-theme=light] .gm, :root[data-theme=light] .p, :root[data-theme=light] .or, :root[data-theme=light] .fstep, :root[data-theme=light] .fq { box-shadow: 0 1px 2px rgba(20,20,24,.05); }
:root[data-theme=light] .btn.ghost { background: #fff; }
:root[data-theme=light] .track span { -webkit-text-stroke-color: rgba(20,20,24,.35); }
:root[data-theme=light] .status { color: #8a6200; } :root[data-theme=light] .m.visitor { color: #0a0a0a; }
:root[data-theme=light] .tab.on, :root[data-theme=light] .p.on b { color: #0a0a0a; }
:root[data-theme=light] .mbar { box-shadow: 0 10px 40px rgba(40,30,0,.2); }

/* ---------- Language / theme buttons ---------- */
.ibtn { height: 40px; min-width: 40px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: inline-grid; place-items: center; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.ibtn:hover { border-color: rgba(var(--yr), .6); background: var(--card2); transform: translateY(-1px); }
.ibtn.theme { width: 40px; padding: 0; } .ibtn.theme .sun { display: none; } .ibtn.theme .moon { display: block; }
:root[data-theme=light] .ibtn.theme .sun { display: block; } :root[data-theme=light] .ibtn.theme .moon { display: none; }

/* ---------- Myanmar typography ---------- */
:root { --font: 'Inter', 'Noto Sans Myanmar', 'Myanmar Text', 'Padauk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --head: 'Space Grotesk', 'Noto Sans Myanmar', 'Myanmar Text', 'Padauk', 'Inter', system-ui, sans-serif; }
html[lang=my] body { line-height: 1.75; }
html[lang=my] h1 { line-height: 1.5; letter-spacing: 0; font-size: clamp(30px, 4.6vw, 54px); }
html[lang=my] h2, html[lang=my] h3 { letter-spacing: 0; line-height: 1.45; }
html[lang=my] .sh h2, html[lang=my] .band h2 { line-height: 1.35; }
html[lang=my] .eyebrow { letter-spacing: .04em; text-transform: none; }
html[lang=my] .track span { text-transform: none; }
html[lang=my] .btn, html[lang=my] .tab, html[lang=my] .links a { line-height: 1.6; }
html[lang=my] .ln { padding: .2em 0 .1em; }
html[lang=my] .m, html[lang=my] .cq button, html[lang=my] .fq button, html[lang=my] .p b, html[lang=my] .or { line-height: 1.7; }
html[lang=my] .lead { line-height: 1.85; }
@media (max-width: 640px) { .navr { gap: 6px; } .ibtn { height: 38px; min-width: 38px; } .ibtn.theme { width: 38px; } .nav { gap: 8px; padding-right: 8px; } .brand span#brandName { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- Burmese text (any element holding Myanmar script) ---------- */
.mm { letter-spacing: 0 !important; text-transform: none !important; font-feature-settings: normal; }
h1.mm { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.5; font-weight: 700; }
h1.mm .ln { padding: .26em 0 .14em; margin: -.12em 0; }
h1.mm .ln > span.grad { transform: none; animation: mmIn .9s var(--ease) both; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--yt); -webkit-text-fill-color: var(--yt); }
h1.mm .ln > span:not(.grad) { animation: mmIn .9s var(--ease) both; transform: none; }
@keyframes mmIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
h2.mm { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.5; }
h3.mm { line-height: 1.55; font-weight: 600; }
.lead.mm { line-height: 1.9; }
.eyebrow.mm { font-size: 13.5px; }
.btn.mm, .tab.mm, .ftag.mm { line-height: 1.6; }
.fstep h3.mm { font-size: 17px; }


/* ---------- Background styles (Dashboard > Website > Background) ---------- */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; display: none; }
.bgfx i { position: absolute; display: block; }
:root[data-bg=aurora] .bgfx, :root[data-bg=dots] .bgfx, :root[data-bg=beam] .bgfx { display: block; }
:root[data-bg=aurora] #fx, :root[data-bg=dots] #fx, :root[data-bg=beam] #fx,
:root[data-bg=aurora] .orb, :root[data-bg=dots] .orb, :root[data-bg=beam] .orb,
:root[data-bg=aurora] body::before, :root[data-bg=beam] body::before { display: none; }
.bgfx .noise { inset: -50%; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme=light] .bgfx .noise { opacity: .05; }

/* 1. Aurora: slow drifting gold light, soft and premium */
:root[data-bg=aurora] .bgfx .b1, :root[data-bg=aurora] .bgfx .b2, :root[data-bg=aurora] .bgfx .b3 { border-radius: 50%; filter: blur(70px); will-change: transform; }
:root[data-bg=aurora] .bgfx .b1 { width: 62vw; height: 46vw; left: -14vw; top: -18vw; background: radial-gradient(closest-side, rgba(var(--yr),.42), transparent); animation: au1 22s ease-in-out infinite alternate; }
:root[data-bg=aurora] .bgfx .b2 { width: 54vw; height: 40vw; right: -16vw; top: 6vh; background: radial-gradient(closest-side, rgba(255,140,0,.30), transparent); animation: au2 26s ease-in-out infinite alternate; }
:root[data-bg=aurora] .bgfx .b3 { width: 70vw; height: 36vw; left: 18vw; bottom: -22vw; background: radial-gradient(closest-side, rgba(var(--yr),.18), transparent); animation: au3 30s ease-in-out infinite alternate; }
@keyframes au1 { to { transform: translate(18vw, 10vh) scale(1.15) rotate(12deg); } }
@keyframes au2 { to { transform: translate(-16vw, 18vh) scale(.9) rotate(-10deg); } }
@keyframes au3 { to { transform: translate(-12vw, -14vh) scale(1.2); } }
:root[data-theme=light][data-bg=aurora] .bgfx .b1 { background: radial-gradient(closest-side, rgba(var(--yr),.38), transparent); }
:root[data-theme=light][data-bg=aurora] .bgfx .b2 { background: radial-gradient(closest-side, rgba(255,170,60,.28), transparent); }

/* 2. Dots: clean dot grid with a gold spotlight that follows the cursor */
:root[data-bg=dots] body::before { background-image: radial-gradient(rgba(var(--wr),.32) 1.3px, transparent 1.7px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%); }
:root[data-bg=dots] .bgfx .b1 { left: 50%; top: -30vh; width: 110vw; height: 70vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--yr),.22), transparent); filter: blur(40px); }
:root[data-bg=dots] .glow { background: radial-gradient(circle, rgba(var(--yr),.18), transparent 62%); }

/* 3. Beam: a spotlight from the top with slow light rays, like a stage */
:root[data-bg=beam] .bgfx .b1 { left: 50%; top: -42vh; width: 120vw; height: 95vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--yr),.34), rgba(var(--yr),.08) 55%, transparent); filter: blur(30px); }
:root[data-bg=beam] .bgfx .rays { left: 50%; top: -60vh; width: 160vmax; height: 160vmax; margin-left: -80vmax; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(var(--yr),.07) 0deg 4deg, transparent 4deg 14deg); mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 45%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 45%); animation: spinR 90s linear infinite; }
:root[data-bg=beam] .bgfx .b2 { left: 50%; top: 92vh; width: 160vw; height: 160vw; margin-left: -80vw; border-radius: 50%; border-top: 1px solid rgba(var(--yr),.35); box-shadow: 0 -30px 120px rgba(var(--yr),.18); }
@keyframes spinR { to { transform: rotate(360deg); } }
:root[data-theme=light][data-bg=beam] .bgfx .rays { background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(var(--yr),.12) 0deg 4deg, transparent 4deg 14deg); }

@media (prefers-reduced-motion: reduce) { .bgfx i { animation: none !important; } }


/* ---------- Page layouts (Dashboard > Website > Page layout) ---------- */
.quick, .bnav { display: none; }

/* Centered: headline in the middle, example cards as one row underneath */
:root[data-layout=center] .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding: 150px 0 60px; gap: 46px; }
:root[data-layout=center] .hero-l { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
:root[data-layout=center] .lead { margin-inline: auto; }
:root[data-layout=center] .cta, :root[data-layout=center] .chips { justify-content: center; }
:root[data-layout=center] .stats { justify-content: center; padding: 18px 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
:root[data-layout=center] .hero-r { height: auto; perspective: none; display: block; }
:root[data-layout=center] .stack { position: static; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; align-items: start; transform: none !important; }
:root[data-layout=center] .hero-r { order: 2; }
:root[data-layout=center] .gcard { position: static; width: auto; margin: 0; transform: none; animation: none; text-align: left; }

/* Quick shop: buy straight from the top of the page */
:root[data-layout=shop] .hero { grid-template-columns: 1.05fr .95fr; min-height: auto; padding: 128px 0 56px; }
:root[data-layout=shop] .hero-r { display: none; }
:root[data-layout=shop] .quick { display: block; padding: 22px; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
:root[data-theme=light][data-layout=shop] .quick { box-shadow: 0 30px 60px rgba(40,30,0,.12); }
.qh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .qh b { font: 700 19px var(--head); }
.qtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.qt { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--mut); font-weight: 600; font-size: 13.5px; }
.qt.on { background: var(--y); border-color: var(--y); color: #0a0a0a; }
.qpk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.qp { text-align: left; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--line); background: rgba(var(--wr),.03); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.qp:hover { border-color: rgba(var(--yr),.5); transform: translateY(-2px); } .qp.on { border-color: var(--y); background: rgba(var(--yr),.12); }
.qp b { display: block; font-size: 13.5px; line-height: 1.35; } .qp span { font: 600 13px var(--head); color: var(--yt); }
.qgo { width: 100%; }
.qfoot { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--mut); }
.qfoot span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; }

/* Bento: short header, then four big shortcut tiles */
:root[data-layout=bento] .hero { grid-template-columns: 1fr; min-height: auto; padding: 130px 0 28px; }
:root[data-layout=bento] .hero-r, :root[data-layout=bento] .stats { display: none; }
:root[data-layout=bento] .hero-l { max-width: 760px; }
:root[data-layout=bento] .bnav { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; position: relative; z-index: 1; }
.bt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-align: left; transition: transform .3s var(--ease), border-color .3s; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.bt:hover { transform: translateY(-3px); border-color: rgba(var(--yr),.5); }
.bt b { font: 600 17px var(--head); } .bt small { color: var(--mut); font-size: 13.5px; line-height: 1.55; }
.bi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--yr),.14); color: var(--yt); margin-bottom: 8px; }
:root[data-layout=bento] .bnav > .bt:last-child { grid-column: span 2; }
.bt.big { grid-row: span 2; justify-content: flex-end; min-height: 230px; background: linear-gradient(135deg, var(--y), var(--y2)); color: #0a0a0a; border-color: transparent; }
.bt.big b { font-size: 28px; } .bt.big small { color: rgba(0,0,0,.7); font-size: 15px; max-width: 320px; } .bt.big .bi { background: rgba(0,0,0,.12); color: #0a0a0a; position: absolute; top: 22px; left: 22px; }
.ba { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; background: #0a0a0a; color: var(--y); display: grid; place-items: center; font-size: 20px; }
:root[data-layout=bento] #topup { padding-top: 70px; }

@media (max-width: 980px) {
  :root[data-layout=shop] .hero { grid-template-columns: 1fr; padding-top: 112px; }
  :root[data-layout=center] .stack { grid-template-columns: 1fr; }
  :root[data-layout=center] .gcard.c2, :root[data-layout=center] .gcard.c3 { display: none; } :root[data-layout=center] .hero-r { display: block; }
  :root[data-layout=bento] .bnav { grid-template-columns: 1fr 1fr; } :root[data-layout=bento] .bt.big { grid-column: span 2; grid-row: auto; min-height: 190px; } :root[data-layout=bento] .bnav > .bt:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .qpk { grid-template-columns: repeat(2, 1fr); } .qfoot { flex-wrap: wrap; justify-content: flex-start; }
  :root[data-layout=center] .hero { padding-top: 116px; }
  :root[data-layout=center] .stats { padding: 14px 18px; }
  :root[data-layout=bento] .bnav { grid-template-columns: 1fr; } :root[data-layout=bento] .bt.big, :root[data-layout=bento] .bnav > .bt:last-child { grid-column: auto; }
}


/* ---------- App layout (mobile first) ---------- */
.apphome, .tabbar { display: none; }
:root[data-layout=app] .hero, :root[data-layout=app] .bnav, :root[data-layout=app] .quick { display: none; }
:root[data-layout=app] .apphome { display: block; padding-top: 96px; position: relative; z-index: 1; }
:root[data-layout=app] .sec { padding-top: 56px; }
:root[data-layout=app] .sh { margin-bottom: 22px; }
:root[data-layout=app] .sh h2 { font-size: clamp(24px, 3vw, 34px); }
:root[data-layout=app] .sh p { font-size: 15.5px; }

/* Banner slider */
.banner { position: relative; border-radius: 26px; overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 26px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; min-height: 320px; display: flex; align-items: center; padding: 40px 48px; overflow: hidden; background-size: cover; background-position: center; }
.slide.s1 { background: linear-gradient(120deg, var(--y) 0%, var(--y2) 100%); color: #0a0a0a; }
.slide.s2 { background: linear-gradient(120deg, #17171c, #0c0c10); color: #fff; border: 1px solid rgba(var(--yr),.3); }
.slide.s3 { background: radial-gradient(120% 140% at 100% 0%, rgba(var(--yr),.35), transparent 55%), #121216; color: #fff; border: 1px solid rgba(var(--yr),.25); }
.slide.img { background-size: cover !important; } .slide.img .st, .slide.img .art { display: none; }
.st { position: relative; z-index: 2; max-width: 560px; }
.sp { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgba(0,0,0,.12); margin-bottom: 14px; }
.s2 .sp, .s3 .sp { background: rgba(var(--yr),.16); color: var(--y); }
.slide h2 { font: 700 clamp(26px, 3.6vw, 44px)/1.2 var(--head); letter-spacing: -.02em; margin: 0 0 10px; }
.sl { margin: 0 0 20px; font-size: 16px; line-height: 1.6; opacity: .82; max-width: 470px; }
.art { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: 1; }
.art i { position: absolute; border-radius: 50%; border: 1.5px solid currentColor; opacity: .14; }
.art i:nth-child(1) { width: 340px; height: 340px; right: -60px; top: -40px; }
.art i:nth-child(2) { width: 220px; height: 220px; right: 40px; top: 50px; opacity: .2; }
.art i:nth-child(3) { width: 120px; height: 120px; right: 100px; top: 100px; background: currentColor; opacity: .08; }
.gem { position: absolute; right: 118px; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; background: #0a0a0a; color: var(--y); box-shadow: 0 20px 40px rgba(0,0,0,.3); animation: bob 6s ease-in-out infinite; }
.s2 .gem, .s3 .gem { background: linear-gradient(135deg, var(--y), var(--y2)); color: #0a0a0a; }
.s2 .art, .s3 .art { color: var(--y); }
.dots { position: absolute; left: 48px; bottom: 18px; display: flex; gap: 6px; z-index: 3; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(127,127,127,.5); transition: width .3s var(--ease), background .3s; }
.dots button.on { width: 24px; background: currentColor; }
.banner .dots { color: #0a0a0a; }

/* Banner logo (Dashboard > Website > Banner Logo) */
.gem.logo { background: transparent; box-shadow: none; transform: translateY(-50%); width: 120px; height: 120px; border-radius: 0; animation: bob 6s ease-in-out infinite; }
.gem.logo img { width: 100%; height: 100%; object-fit: contain; }
.gem[hidden] { display: none; }
@media (max-width: 640px) { .gem.logo { width: 80px; height: 80px; } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 6px; }
.trust div { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.trust svg { color: var(--yt); flex: none; }

/* Section heads inside app home */
.ahead { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 14px; }
.ahead h2 { margin: 0; font: 700 22px var(--head); }

/* Game icons */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px; }
.ag { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 8px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.ag:hover { transform: translateY(-3px); border-color: rgba(var(--yr),.5); }
.agi { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font: 700 22px var(--head); color: #0a0a0a; background: linear-gradient(140deg, var(--y), hsl(calc(var(--h, 0) * 1deg + 30deg) 95% 55%)); box-shadow: 0 10px 24px rgba(var(--yr),.25); }
.agn { font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.35; }

/* Popular packages: horizontal scroll */
.apop { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.apc { scroll-snap-align: start; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.apc small { color: var(--mut); font-size: 12.5px; } .apc b { font-size: 16px; }
.apr { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.apr span { font: 700 16px var(--head); color: var(--yt); }

/* Bottom tab bar (phones) */
.tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5, 1fr); background: rgba(var(--pn),.9); border-top: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border: 0; background: none; color: var(--mut); font-size: 11.5px; font-weight: 600; }
.tabbar .on { color: var(--yt); } .tabbar .on svg { filter: drop-shadow(0 0 8px rgba(var(--yr),.6)); }
.tbd { position: absolute; top: 0; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11px; display: grid; place-items: center; }

@media (max-width: 980px) {
  :root[data-layout=app] .tabbar { display: grid; }
  :root[data-layout=app] .fab { display: none; }
  :root[data-layout=app] .chat { bottom: calc(78px + env(safe-area-inset-bottom)); }
  :root[data-layout=app] .mbar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  :root[data-layout=app] footer { padding-bottom: 110px; }
  :root[data-layout=app] .nav .links, :root[data-layout=app] .burger { display: none !important; }
}
@media (max-width: 640px) {
  :root[data-layout=app] .apphome { padding-top: 84px; }
  .slide { min-height: 210px; padding: 24px 22px 40px; }
  .slide h2 { font-size: 22px; } .sl { display: none; } .sp { margin-bottom: 10px; font-size: 11.5px; }
  .art { width: 40%; } .gem { right: 18px; width: 72px; height: 72px; border-radius: 20px; } .gem svg { width: 38px; height: 38px; }
  .art i:nth-child(1) { width: 220px; height: 220px; right: -80px; } .art i:nth-child(2) { width: 150px; height: 150px; right: -20px; top: 30px; } .art i:nth-child(3) { display: none; }
  .st { max-width: 62%; } .dots { left: 22px; bottom: 14px; }
  .trust { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -14px 0; padding: 0 14px; } .trust::-webkit-scrollbar { display: none; } .trust div { flex: none; padding: 9px 13px; font-size: 12.5px; border-radius: 99px; }
  .agrid { grid-template-columns: repeat(4, 1fr); gap: 8px; } .ag { padding: 10px 4px; border-radius: 16px; background: transparent; border-color: transparent; }
  .agi { width: 58px; height: 58px; border-radius: 18px; font-size: 19px; } .agn { font-size: 12px; }
  .ahead { margin: 26px 0 10px; } .ahead h2 { font-size: 19px; }
  .apop { grid-auto-columns: 72%; }
}

/* Cards sit above the dot background: keep them solid enough to read */
.p, .or, .fq, .trust div, .apc, .ag, .acc, .emptybox, .tab:not(.on), .ibtn, .btn.ghost { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.glass .tab:not(.on), .glass .p:not(.on) { background: rgba(var(--wr),.04); }

/* ---------- Switch animations ---------- */
html.fx-run .gem, html.fx-run .gcard, html.fx-run .orb, html.fx-run .bgfx i, html.fx-run .live, html.fx-run .fab::before, html.fx-run .grad { animation-play-state: paused !important; }
html.fx-run #fx { visibility: hidden; }
html.fx-run body *:not(.torch) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.fx-out { transition: transform .22s cubic-bezier(.55,0,.75,.2) var(--fd, 0ms), opacity .22s ease-in var(--fd, 0ms); transform: perspective(600px) rotateX(90deg); opacity: 0; will-change: transform, opacity; }
.fx-in { animation: fxIn .42s cubic-bezier(.2,.8,.2,1) var(--fd, 0ms) both; will-change: transform, opacity; }
@keyframes fxIn { from { transform: perspective(600px) rotateX(-90deg); opacity: 0; } 60% { opacity: 1; } to { transform: perspective(600px) rotateX(0); opacity: 1; } }
.torch { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; contain: strict; }
.torch i { position: absolute; display: block; will-change: transform, opacity; }
.torch .th { left: 50%; top: -14px; width: 56px; height: 28px; margin-left: -28px; border-radius: 0 0 28px 28px; background: radial-gradient(circle at 50% 0, #fff, #ffe680 45%, rgba(255,214,10,0) 72%); opacity: 0; transform: scale(.4); }
.torch .tc { left: 50%; top: 0; width: 160vw; height: 130vh; margin-left: -80vw; transform-origin: 50% 0; transform: scaleY(0); opacity: 0;
  background: conic-gradient(from 162deg at 50% 0, rgba(255,214,10,0) 0deg, rgba(255,240,190,.9) 18deg, rgba(255,214,10,0) 36deg); -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.torch .tf { inset: 0; opacity: 0; transform: translateY(-8%) scale(1.05); transform-origin: 50% 0; }
.torch.to-light .tf { background: radial-gradient(120% 90% at 50% 0, #fffdf3 0%, #f7f6f2 55%, #f1efe8 100%); }
.torch.to-dark .tf { background: radial-gradient(120% 90% at 50% 0, #3a3010 0%, #121216 45%, #08080a 100%); }
.torch.go .th { transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s; transform: scale(1); opacity: 1; }
.torch.go .tc { transition: transform .42s cubic-bezier(.2,.8,.2,1) .05s, opacity .2s .05s; transform: scaleY(1); opacity: 1; }
.torch.go .tf { transition: opacity .2s ease-in .26s, transform .45s cubic-bezier(.2,.8,.2,1) .2s; opacity: 1; transform: none; }
.torch.end .tc, .torch.end .th { transition: opacity .45s ease-out; opacity: 0; }
.torch.end .tf { transition: opacity .55s cubic-bezier(.4,0,.2,1); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-out, .fx-in { transition: none !important; animation: none !important; transform: none !important; opacity: 1 !important; } .torch { display: none; } }


/* Nav: keep items on one line */
.brand, .links a, .navr .btn { white-space: nowrap; }
.links { margin-left: 10px; } .links a { padding: 7px 10px; }
html[lang=my] .links a { font-size: 13.5px; padding: 7px 8px; }
.navr .btn.ghost { display: none; }   /* the chat button at the bottom right already opens support */
@media (max-width: 1100px) { .links a { padding: 6px 6px; font-size: 13px; } html[lang=my] .links a { font-size: 12px; padding: 6px 5px; } .nav { gap: 10px; } }
@media (max-width: 1180px) { html[lang=my] .links a { font-size: 12.5px; padding: 6px 6px; } }

@media (min-width: 981px) and (max-width: 1080px) {
  .links { position: fixed; left: 12px; right: 12px; top: 74px; flex-direction: column; margin: 0; padding: 10px; border-radius: 22px; background: rgba(var(--pn),.96); border: 1px solid var(--line); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
  .links.open { transform: none; opacity: 1; pointer-events: auto; } .links a { padding: 13px 16px; font-size: 16px; }
  .burger { display: block; }
}

/* ---------- Register popup ---------- */
.navreg { color: var(--yt) !important; }
.reg { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.reg[hidden] { display: none; }
.reg-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s ease; }
.reg-card { position: relative; width: min(440px, 100%); padding: 28px 22px 22px; border-radius: 26px; background: var(--bg2); border: 1px solid rgba(var(--yr),.3); box-shadow: 0 30px 80px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(40px) scale(.94); transition: transform .5s cubic-bezier(.2,1.3,.4,1), opacity .25s ease; will-change: transform, opacity; overflow: hidden; }
.reg-card::before { content: ''; position: absolute; left: 50%; top: -120px; width: 320px; height: 220px; margin-left: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--yr),.35), transparent); pointer-events: none; }
.reg.open .reg-bg { opacity: 1; } .reg.open .reg-card { opacity: 1; transform: none; }
.reg.closing .reg-card { transition: transform .22s ease-in, opacity .2s ease-in; transform: translateY(30px) scale(.96); opacity: 0; } .reg.closing .reg-bg { opacity: 0; transition-duration: .22s; }
.reg-x { position: absolute; top: 14px; right: 14px; z-index: 1; }
.reg-card h2 { position: relative; margin: 6px 40px 8px 0; font: 700 24px/1.35 var(--head); }
.reg-p { position: relative; margin: 0 0 18px; color: var(--mut); font-size: 14.5px; line-height: 1.65; }
.reg-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; margin-top: 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .25s var(--ease), border-color .25s; }
.reg-row:hover { transform: translateY(-2px); } .reg-row.tg:hover { border-color: #2aa3e0; } .reg-row.vb:hover { border-color: #7b519d; }
.reg-row img { width: 52px; height: 52px; flex: none; border-radius: 50%; }
.rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .rt b { font-size: 16px; } .rt small { color: var(--mut); font-size: 13px; line-height: 1.5; } .rt em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--yt); white-space: nowrap; } .rt em:empty { display: none; }
.rb { flex: none; padding: 8px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: #fff; }
.tg .rb { background: #2aa3e0; } .vb .rb { background: #7b519d; }
.reg-row.off { opacity: .5; pointer-events: none; }
.reg-i { opacity: 0; transform: translateY(14px); }
.reg.open .reg-i { opacity: 1; transform: none; transition: transform .45s cubic-bezier(.2,.8,.2,1) var(--rd, 0s), opacity .35s ease var(--rd, 0s); }
@media (max-width: 640px) {
  .reg { place-items: end center; padding: 0; }
  .reg-card { width: 100%; border-radius: 26px 26px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.9,.25,1), opacity .2s; }
  .reg.closing .reg-card { transform: translateY(100%); opacity: 1; }
  .reg-row { gap: 12px; padding: 12px; } .reg-row img { width: 46px; height: 46px; }
  .reg-row { flex-wrap: wrap; } .rb { flex: 1 0 100%; max-width: none; padding: 10px 12px; font-size: 13px; text-align: center; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) { .reg-card, .reg-bg, .reg-i { transition: none !important; } }

/* ---------- Chat: read receipts and typing ---------- */
.mst { align-self: flex-end; display: flex; align-items: center; gap: 5px; margin: -4px 2px 2px; font-size: 11px; color: var(--mut); animation: msg .3s var(--ease); }
.mst svg { width: 13px; height: 13px; } .mst.seen { color: var(--yt); }
.mst .sa { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; font-weight: 800; color: #0a0a0a; background: linear-gradient(135deg, var(--y), var(--y2)); }
.typing.adm { flex-direction: column; align-items: flex-start; gap: 6px; } .typing.adm span { display: flex; gap: 5px; } .typing.adm small { font-size: 11px; color: var(--mut); }


/* ---------- Terms popup and thank-you note ---------- */
.reg-thanks { position: relative; margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); text-align: center; font-size: 14px; font-weight: 600; color: var(--yt); }
.terms .reg-card { width: min(560px, 100%); display: flex; flex-direction: column; max-height: min(86vh, 760px); }
.terms .reg-card { overflow-y: auto; overscroll-behavior: contain; }
.timg { position: relative; display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; margin: 0 auto 14px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line); background: var(--card); }
.timg[hidden] { display: none; }
.tlist { position: relative; list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 10px; }
.tlist li { counter-increment: t; position: relative; padding: 12px 14px 12px 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; line-height: 1.7; white-space: pre-line;
  opacity: 0; transform: translateY(12px); }
.tlist li::before { content: counter(t); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--head); color: #0a0a0a; background: linear-gradient(135deg, var(--y), var(--y2)); }
.reg.open .tlist li { opacity: 1; transform: none; transition: transform .45s cubic-bezier(.2,.8,.2,1) var(--rd, 0s), opacity .35s ease var(--rd, 0s); }
.ftl { color: var(--mut); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .terms .reg-card { max-height: 88vh; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 118px; min-height: auto; } .hero-r { height: 400px; order: -1; margin-top: -10px; display: none; }
  .co { grid-template-columns: 1fr; } .co-r { position: static; } .flow { grid-template-columns: repeat(2, 1fr); } .flow::before { display: none; }
  .links { position: fixed; left: 12px; right: 12px; top: 74px; flex-direction: column; margin: 0; padding: 10px; border-radius: 22px; background: rgba(var(--pn),.96); border: 1px solid var(--line); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
  .links.open { transform: none; opacity: 1; pointer-events: auto; } .links a { padding: 13px 16px; font-size: 16px; }
  .burger { display: block; } .navr .btn.ghost { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); } .sec { padding-top: 70px; } .stats { gap: 22px; flex-wrap: wrap; }
  .fields.two { grid-template-columns: 1fr; } .step { padding: 16px; gap: 12px; } .flow { grid-template-columns: 1fr; } .band { padding: 28px 22px; border-radius: 22px; }
  .mbar.show { display: flex; } .fab { bottom: 84px; right: 14px; width: 56px; height: 56px; } .chat { right: 8px; left: 8px; width: auto; bottom: 150px; height: min(560px, 100svh - 180px); }
  .nav .btn.shine { display: none; } .or { grid-template-columns: 1fr; } .or .r { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; } .ln > span { transform: none; } #fx, .orb, .glow { display: none; }
}

/* Bouncing ball logo (transform/opacity only = 60fps) */
.ballmark { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; }
.ballmark i { position: absolute; display: block; font-style: normal; }
.ballmark .bm-b { left: 26%; top: 8%; width: 48%; height: 48%; transform-origin: 50% 100%; will-change: transform; animation: bmY .9s infinite; }
.ballmark .bm-r { position: static; width: 100%; height: 100%; will-change: transform; animation: bmR 1.8s linear infinite; }
.ballmark svg { display: block; width: 100%; height: 100%; }
.ballmark .bm-s { left: 28%; bottom: 10%; width: 44%; height: 9%; border-radius: 50%; background: rgba(0,0,0,.38); will-change: transform, opacity; animation: bmS .9s infinite; }
@keyframes bmY {
  0% { transform: translate3d(0,0,0) scale(1,1); animation-timing-function: cubic-bezier(.45,0,.9,.55); }
  46% { transform: translate3d(0,72%,0) scale(.96,1.05); animation-timing-function: linear; }
  52% { transform: translate3d(0,80%,0) scale(1.16,.82); animation-timing-function: linear; }
  58% { transform: translate3d(0,72%,0) scale(.96,1.05); animation-timing-function: cubic-bezier(.1,.45,.55,1); }
  100% { transform: translate3d(0,0,0) scale(1,1); }
}
@keyframes bmR { to { transform: rotate(360deg); } }
@keyframes bmS {
  0%, 100% { transform: scale(.45,1); opacity: .35; animation-timing-function: cubic-bezier(.45,0,.9,.55); }
  52% { transform: scale(1.1,1); opacity: 1; animation-timing-function: cubic-bezier(.1,.45,.55,1); }
}
@media (prefers-reduced-motion: reduce) { .ballmark .bm-b, .ballmark .bm-r, .ballmark .bm-s { animation: none; } .ballmark .bm-b { transform: translate3d(0,40%,0); } }
