/* Voxxaa STORE v125 : bottom bar (Home, Store, Game, Tools, Chat, Profile) + halaman Home dan Profile */
:root{--bn-h:78px;--bn-navy:#14214a;--bn-blue:#3d8bff;--bn-ink:#0b1230}
body{padding-bottom:calc(var(--bn-h) + env(safe-area-inset-bottom,0px))}
footer{padding-bottom:12px}

.bnav{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;justify-content:center;pointer-events:none}
.bnav-in{pointer-events:auto;width:100%;max-width:680px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;
  padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));background:var(--bn-navy);
  border:3px solid #fff;border-bottom:0;border-radius:26px 26px 0 0;
  box-shadow:0 0 0 4px var(--bn-blue),0 -12px 32px rgba(0,0,0,.45)}
.bnav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px 2px 7px;
  border:3px solid transparent;border-radius:15px;color:#fff;text-decoration:none;-webkit-tap-highlight-color:transparent;
  font:700 9.5px/1 'Space Mono',ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;text-transform:uppercase;
  transition:background .18s,transform .15s,color .18s}
.bnav a svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.bnav a span{max-width:100%;overflow:hidden;text-overflow:clip;white-space:nowrap}
.bnav a:active{transform:scale(.93)}
.bnav a.on{background:var(--bn-blue);color:var(--bn-ink);border-color:#fff;box-shadow:3px 3px 0 var(--bn-blue)}
.bnav a.mt svg,.bnav a.mt span{opacity:.62}
.bnav a.mt em{position:absolute;top:1px;right:0;transform:translateX(2px);padding:2px 4px;border-radius:6px;background:#ffc21a;color:#2a1c00;
  font:700 7px/1 'Space Mono',ui-monospace,monospace;letter-spacing:.03em;text-transform:uppercase;font-style:normal;box-shadow:0 0 0 2px var(--bn-navy)}

/* tombol mengambang naik di atas bar */
.wa{bottom:calc(var(--bn-h) + 14px + env(safe-area-inset-bottom,0px))!important}
.chat-fab{bottom:calc(var(--bn-h) + 68px + env(safe-area-inset-bottom,0px))!important}
.chat{bottom:calc(var(--bn-h) + 130px + env(safe-area-inset-bottom,0px))!important}
.wait-bar{bottom:calc(var(--bn-h) + 8px + env(safe-area-inset-bottom,0px))!important}

@media(max-width:359px){.bnav a{font-size:8.5px;gap:4px}.bnav a svg{width:21px;height:21px}}
@media(min-width:900px){.bnav-in{max-width:560px;margin-bottom:10px;border-bottom:3px solid #fff;border-radius:26px}}

/* ---------- Home ---------- */
.hm{display:flex;flex-direction:column;gap:18px;padding:18px 0 8px}
.hm-hero{position:relative;overflow:hidden;padding:22px 18px 20px;border-radius:22px;border:1px solid rgba(var(--hot-rgb),.35);
  background:linear-gradient(135deg,rgba(var(--acc-rgb),.34),rgba(var(--acc-rgb),.08) 60%,rgba(0,0,0,.35))}
.hm-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;background:rgba(0,0,0,.35);font-size:12px;font-weight:700}
.hm-pill i{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 8px var(--ok)}
.hm-pill[data-l=warn] i{background:var(--warn);box-shadow:0 0 8px var(--warn)}
.hm-pill[data-l=bad] i{background:#ff4d4d;box-shadow:0 0 8px #ff4d4d}
.hm-hero h1{margin:12px 0 6px;font-family:var(--display);font-size:clamp(28px,8vw,40px);line-height:1.05;letter-spacing:.01em}
.hm-hero p{margin:0 0 16px;color:var(--mute);max-width:46ch}
.hm-cta{display:flex;flex-wrap:wrap;gap:10px}
.hm-sec{display:flex;align-items:center;justify-content:space-between;margin:2px 2px -6px;font-weight:800;font-size:15px}
.hm-sec a{font-size:13px;color:var(--acc-hot);text-decoration:none}
.hm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hm-q{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border-radius:16px;text-decoration:none;color:var(--text);font-size:12.5px;font-weight:700;text-align:center;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);-webkit-tap-highlight-color:transparent;transition:transform .15s,border-color .2s}
.hm-q:active{transform:scale(.96)}
.hm-q:hover{border-color:rgba(var(--hot-rgb),.5)}
.hm-q svg{width:24px;height:24px;fill:none;stroke:var(--acc-hot);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hm-prods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hm-p{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:16px;text-align:left;cursor:pointer;color:var(--text);font:inherit;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09)}
.hm-p small{color:var(--mute);font-size:11.5px}
.hm-p b{font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-p strong{font-size:13px;color:var(--acc-hot)}
.hm-empty{padding:16px;border-radius:14px;text-align:center;color:var(--mute);background:rgba(255,255,255,.03)}

/* ---------- Profile ---------- */
.pf{display:flex;flex-direction:column;gap:14px;padding:18px 0 8px}
.pf-head{display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09)}
.pf-av{flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--acc);color:var(--on-acc)}
.pf-av svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pf-head b{display:block;font-size:17px}.pf-head small{color:var(--mute)}
.pf-list{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.09)}
.pf-row{display:flex;align-items:center;gap:12px;padding:14px 16px;background:rgba(255,255,255,.04);color:var(--text);text-decoration:none;border:0;border-top:1px solid rgba(255,255,255,.07);
  font:inherit;text-align:left;cursor:pointer;width:100%;-webkit-tap-highlight-color:transparent}
.pf-row:first-child{border-top:0}
.pf-row:active{background:rgba(255,255,255,.08)}
.pf-row svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--acc-hot);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pf-row span{flex:1;min-width:0}.pf-row b{display:block;font-size:14px}.pf-row small{color:var(--mute);font-size:12px}
.pf-row i{font-style:normal;color:var(--mute)}
