/* ============================================================
   PAKVIP — design system
   ============================================================ */
:root{
  --bg:#15131e;
  --panel:#1f1e2a;
  --panel2:#1f1e2a;
  --card:#1e1e30;
  --line:#2b2b40;
  --txt:#ffffff;
  --mut:#8a8aa3;
  --mut2:#6e6e88;
  --acc1:#15e8d2;
  --acc2:#d9ff22;
  --grad:linear-gradient(90deg,var(--acc1) 0%,var(--acc2) 100%);
  --grad-v:linear-gradient(180deg,var(--acc1) 0%,var(--acc2) 100%);
  --red:#e5544b;
  --green:#3fbf7f;
  --violet:#a45cf0;
  --gold:#f0b542;
  --radius:14px;
  --shell:390px;

  /* icon sprite vars (real pakvip icons reference these) */
  --main-color:var(--acc1);
  --icon1:#ffffff;
  --text_color_L1:#ffffff;
  --text_color_L2:#c7c7d9;
  --text_color_L3:var(--mut);
  --text_color_L4:var(--mut2);
  --text_white:#ffffff;
  --light-main-color:var(--acc1);
  --light-bg_white:#ffffff;
  --norm_red-color:var(--red);
  --norm_secondary-color:var(--mut);
  --bgColor-6:var(--panel2);
  --bg_color_L2:var(--panel2);
  --bg_color_L3:var(--card);
  --tab1:var(--acc1);
  --tab2:var(--acc2);
  --sheet_nva_color:var(--mut);
  --blackGoldN:var(--gold);
}
.icn{width:26px;height:26px;flex:none;display:inline-block;vertical-align:middle}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
::-webkit-scrollbar{width:0;height:0}
html{scrollbar-width:none;-ms-overflow-style:none}
body{
  background:#07070d;color:var(--txt);
  font-family:"Segoe UI",Roboto,-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif;
  font-size:14px;line-height:1.45;
}
img{max-width:100%;display:block;border:0}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
input,textarea,select{outline:none}

/* ---------- desktop phone wrapper ---------- */
#shell{
  width:100%;max-width:var(--shell);margin:0 auto;min-height:100vh;
  background:var(--bg);position:relative;
  /* `hidden` on one axis forces the other to `auto`, which makes the shell a
     scroll container and kills position:sticky inside it. `clip` contains the
     overflow without that side effect; the hidden above is the old fallback. */
  overflow-x:hidden;
  overflow-x:clip;
}
@media(min-width:820px){
  body{
    background:#90929e;
    display:flex;align-items:flex-start;justify-content:center;
    min-height:100vh;padding:0;
  }
  #shell{
    height:100vh;max-height:none;min-height:100vh;
    border-radius:0;overflow:hidden auto;
    box-shadow:none;
  }
  #shell::-webkit-scrollbar{width:0}
}

/* ---------- layout ---------- */
.pad{padding:0 14px}
.page{padding-bottom:82px;min-height:100vh}
.page.noNav{padding-bottom:20px}
.row{display:flex;align-items:center}
.between{display:flex;align-items:center;justify-content:space-between}
.grow{flex:1;min-width:0}
.mt{margin-top:12px}.mt2{margin-top:20px}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.center{text-align:center}
.muted{color:var(--mut)}
.small{font-size:12px}
.gradtxt{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- top bar ---------- */
.topbar{
  position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:10px;
  padding:12px 14px;background:var(--bg);
}
.topbar.solid{background:var(--panel);border-bottom:1px solid var(--line)}
.topbar .ttl{flex:1;text-align:center;font-size:17px;font-weight:600}
.icobtn{width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:none}
.topbar .icobtn:last-child{width:auto;min-width:30px;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.icobtn svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.logo{height:40px;width:auto}

/* ---------- home header ---------- */
.homehead{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:var(--panel)}
.homehead .bal{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--mut)}
.homehead .bal b{display:block;color:var(--acc1);font-size:15px}

/* ---------- cards / panels ---------- */
.card{background:var(--card);border-radius:var(--radius);padding:14px}
.panel{background:var(--panel);border-radius:var(--radius)}
.hr{height:1px;background:var(--line);margin:12px 0}

/* ---------- buttons ---------- */
.btn{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  height:46px;border-radius:26px;font-size:16px;font-weight:700;letter-spacing:.3px;
}
.btn.g{background:var(--grad);color:#10101a}
.btn.o{border:1px solid var(--acc1);color:var(--acc1)}
.btn.r{background:linear-gradient(180deg,#e5645b,#c9463f);color:#fff}
.btn.grey{background:var(--panel2);color:var(--mut)}
.btn:active{filter:brightness(.92)}
.btn[disabled]{opacity:.5;pointer-events:none}
.btn.sm{height:36px;font-size:14px;border-radius:20px;width:auto;padding:0 18px}

/* ---------- forms ---------- */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--panel2) inset !important;
    -webkit-text-fill-color: var(--txt) !important;
    caret-color: var(--txt) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.flabel{display:flex;align-items:center;gap:9px;margin:18px 0 8px;font-size:15px;font-weight:600}
.flabel svg,.flabel img{width:22px;height:22px;color:var(--acc1)}
.fld{
  display:flex;align-items:center;gap:10px;background:var(--panel2);
  border-radius:10px;height:50px;padding:0 18px;
}
.fld input{flex:1;background:none;border:0;font-size:15px;min-width:0}
.fld input::placeholder{color:var(--mut2)}
.fld .eye{width:22px;height:22px;flex:none;opacity:.6}
.fld input[type="text"] ~ .eye .slash { display: none; }
.ccbox{
  display:flex;align-items:center;gap:6px;background:var(--panel2);border-radius:10px;
  height:50px;padding:0 14px;font-size:15px;flex:none;position:relative;pointer-events:none;
}
.ccbox select{background:none;border:0;appearance:none;padding-right:16px;font-size:15px;width:100%;height:100%;cursor:pointer}
.ccbox:after{content:"";position:absolute;right:12px;width:7px;height:7px;border-right:2px solid #fff;
  border-bottom:2px solid #fff;transform:rotate(45deg) translateY(-3px);pointer-events:none;opacity:.8}

/* tabs */
.tabs{display:flex;background:var(--panel)}
.tabs .tab{
  flex:1;text-align:center;padding:14px 4px 12px;color:var(--mut);font-size:16px;font-weight:600;
  border-bottom:2px solid transparent;display:flex;flex-direction:column;align-items:center;gap:5px;
}
.tabs .tab.on{color:var(--acc1);border-bottom-color:var(--acc1)}
.tabs .tab svg{width:24px;height:24px}

.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0}
.chip{flex:none;padding:7px 15px;border-radius:18px;background:var(--panel2);color:var(--mut);font-size:13px}
.chip.on{background:var(--grad);color:#10101a;font-weight:700}

/* checkbox */
.chk{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--mut)}
.chk i{
  width:21px;height:21px;border-radius:50%;border:2px solid var(--mut2);flex:none;
  display:flex;align-items:center;justify-content:center;
}
.chk.on i{background:var(--acc1);border-color:var(--acc1)}
.chk.on i:after{content:"";width:6px;height:10px;border:solid #10101a;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}

/* ---------- bottom nav ---------- */
.nav{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:var(--shell);height:64px;background:var(--panel);
  display:flex;align-items:center;z-index:60;border-top:1px solid var(--line);
}
.nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--mut2);font-size:11px;transition:transform .15s ease,color .2s ease}
.nav a:active{transform:scale(0.85)}
.nav a svg{width:23px;height:23px;fill:currentColor;transition:transform .2s ease}
.nav a.on{
  background:linear-gradient(0deg,#a3e635,#22d3ee); /* lime bottom -> cyan top */
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.nav a.on:not(.mid) svg path{fill:url(#navGrad)}
.nav .mid{position:relative;top:-6px}
.nav .mid span{
  width:70px;height:44px;border-radius:22px;background:var(--grad);
  display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(79,209,197,.35);
  transition:transform .15s ease,box-shadow .15s ease;
}
.nav .mid:active span{transform:scale(0.88);box-shadow:0 2px 8px rgba(79,209,197,.25)}
.nav .mid span svg{width:24px;height:24px;fill:#10101a;color:#10101a}

/* ---------- home ---------- */
.swiper{position:relative;margin:10px 14px 0;border-radius:12px;overflow:hidden}
.swiper .track{display:flex;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.swiper .track img{width:100%;flex:none;aspect-ratio:2.05/1;object-fit:cover}
.dots{display:flex;gap:6px;justify-content:center;margin-top:8px}
.dots i{width:6px;height:6px;border-radius:3px;background:#3a3a52;transition:.3s}
.dots i.on{width:16px;background:var(--acc1)}

.notice{display:flex;align-items:center;gap:9px;width:97%;margin:12px auto 0;background:var(--panel);
  border-radius:24px;padding:7px 7px 7px 13px;box-sizing:border-box}
/* Seamless ticker. The text is rendered twice inside .mq and the track slides
   by exactly half its width, so the loop has no gap and never parks the notice
   off-screen — translating by the text's own width (the old rule) left it
   sitting half-cut against the Detail button for most of the cycle. */
.notice .txtwrap{flex:1;min-width:0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%)}
.notice .mq{display:flex;width:max-content;animation:mq 24s linear infinite}
.notice .txt{white-space:nowrap;font-size:12.5px;color:#d3d3e2;padding-right:48px}
.notice:hover .mq{animation-play-state:paused}
@keyframes mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .notice .mq{animation:none}
  .notice .txt{overflow:hidden;text-overflow:ellipsis}
}
.notice .dbtn{flex:none;background:var(--grad);color:#10101a;font-weight:700;font-size:12px;
  border-radius:17px;padding:6px 13px;display:flex;align-items:center;gap:5px}

.cats {
  display: flex; gap: 4px; overflow-x: auto; margin-bottom: 16px; padding: 12px 0 6px;
  -webkit-overflow-scrolling: touch;
  /* "safe" keeps the first chip reachable once there are enough categories to
     overflow — plain centring would push it out of scroll range */
  justify-content: center;
  justify-content: safe center;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
  gap: 7px; width: 66px; padding: 0; background: none; border: none; cursor: pointer;
}
.cat img, .cat .ci {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  transition: transform 0.15s ease;
  object-fit: contain; display: block;
}
.cat.on img { transform: scale(1.06); }
.cat { font-size: 12.5px; font-weight: 500; color: var(--mut); white-space: nowrap; }
.cat.on {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sechead{display:flex;align-items:center;gap:8px;margin:20px 14px 2px}
.sechead:before{content:"";width:4px;height:17px;border-radius:2px;background:var(--acc1)}
.sechead h3{margin:0;font-size:16px;font-weight:700;flex:1}
.sechead .arrows{display:flex;gap:8px}
.sechead .arrows b{width:30px;height:26px;border-radius:6px;background:var(--acc1);color:#10101a;
  display:flex;align-items:center;justify-content:center;font-size:13px}
.sechead .more{background:var(--panel2);border-radius:12px;padding:3px 10px;font-size:11.5px;color:var(--mut)}
.secsub{margin:2px 14px 10px;font-size:12px;color:var(--mut)}

.ggrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:0 14px}
.gcard{border-radius:10px;overflow:hidden;background:var(--panel2);position:relative}
.gcard img{width:100%;aspect-ratio:130/173;object-fit:cover}
.gcard .nm{position:absolute;left:0;right:0;bottom:5px;padding:0 5px;font-size:11px;font-weight:700;
  text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hscroll{display:flex;gap:9px;overflow-x:auto;padding:0 14px}
.hscroll .gcard{flex:none;width:31%}

/* ---------- lists ---------- */
.list{background:var(--card);border-radius:var(--radius);overflow:hidden;margin:12px 14px}
.li{display:flex;align-items:center;gap:12px;padding:15px 14px;border-bottom:1px solid var(--line)}
.li:last-child{border-bottom:0}
.li .ic{width:32px;height:32px;flex:none;display:flex;align-items:center;justify-content:center;font-size:20px}
.li .ic svg{width:26px;height:26px}
.li .tx{flex:1;min-width:0}
.li .tx b{display:block;font-weight:600;font-size:15px}
.li .tx small{color:var(--mut);font-size:12px}
.li .rt{color:var(--mut);font-size:13px;display:flex;align-items:center;gap:6px}
.li .arw{width:8px;height:8px;border-right:2px solid var(--mut2);border-bottom:2px solid var(--mut2);
  transform:rotate(-45deg);flex:none}

/* ---------- wallet / account ---------- */
.balcard{margin:12px 14px;border-radius:16px;background:var(--grad);color:#10101a;padding:16px 18px;position:relative;overflow:hidden}
.balcard .lb{font-size:13px;font-weight:600;display:flex;align-items:center;gap:7px}
.balcard .vv{font-size:28px;font-weight:800;margin-top:4px;display:flex;align-items:center;gap:10px}
.balcard:after{content:"";position:absolute;right:-30px;top:-60px;width:180px;height:180px;
  border-radius:50%;background:rgba(255,255,255,.12)}
.quad{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center;margin-top:16px}
.quad a{font-size:11.5px;color:var(--mut)}
.quad .qi{width:52px;height:52px;border-radius:15px;margin:0 auto 6px;display:flex;align-items:center;
  justify-content:center;font-size:24px}

.stat2{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border-radius:12px;overflow:hidden}
.stat2 div{background:var(--card);padding:14px 10px;text-align:center}
.stat2 b{display:block;font-size:18px}
.stat2 small{color:var(--mut);font-size:11.5px}

/* ---------- history rows ---------- */
.hrow{background:var(--card);border-radius:12px;margin:10px 14px;padding:13px 14px}
.hrow .hh{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.tag{padding:5px 13px;border-radius:6px;font-size:12.5px;font-weight:700}
.tag.dep{background:var(--green);color:#fff}
.tag.wd{background:var(--red);color:#fff}
.tag.bet{background:#4a63d8;color:#fff}
.kv{display:flex;justify-content:space-between;font-size:12.5px;padding:4px 0;color:var(--mut)}
.kv b{color:#fff;font-weight:500}
.st1{color:var(--green)}.st0{color:var(--gold)}.st2{color:var(--red)}

/* ---------- VIP badge chip ---------- */
.vipbadge{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;
  border-radius:999px;padding:2px 9px 2px 5px;line-height:1;
  background:linear-gradient(135deg,var(--vb1),var(--vb2));
  box-shadow:0 1px 3px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35)}
.vipbadge svg{width:13px;height:13px;flex:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.3))}
.vipbadge b{font-weight:800;font-style:italic;letter-spacing:.3px;color:#fff;
  font-size:11px;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.vipbadge--lg{padding:4px 14px 4px 8px;gap:7px}
.vipbadge--lg svg{width:17px;height:17px}
.vipbadge--lg b{font-size:14px}

/* ---------- toast / dialog ---------- */
#toast{position:fixed;left:50%;top:38%;transform:translate(-50%,-50%) scale(.92);z-index:9999;
  background:linear-gradient(180deg,rgba(34,34,50,.98),rgba(22,22,34,.98));
  border:1px solid rgba(255,255,255,.12);color:#fff;padding:14px 24px;
  border-radius:14px;font-size:14px;font-weight:500;max-width:80%;text-align:center;
  box-shadow:0 12px 40px rgba(0,0,0,.5);opacity:0;pointer-events:none;
  transition:opacity .22s ease,transform .22s cubic-bezier(.2,.9,.3,1.3)}
#toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
#toast.ok{border-color:rgba(79,209,197,.5)}
#toast.err{border-color:rgba(229,84,75,.55)}
#toast .ti{display:block;width:34px;height:34px;margin:0 auto 8px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}
#toast.ok .ti{background:rgba(79,209,197,.18);color:#4fd1c5}
#toast.err .ti{background:rgba(229,84,75,.18);color:#e5544b}
.mask{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:200;display:flex;align-items:center;
  justify-content:center;padding:24px;opacity:0;pointer-events:none;transition:.2s}
.mask.on{opacity:1;pointer-events:auto}
.dlg{background:var(--panel);border-radius:16px;width:100%;max-width:340px;overflow:hidden}
.dlg .dh{padding:18px 18px 6px;font-size:17px;font-weight:700;text-align:center}
.dlg .db{padding:8px 18px 18px;color:var(--mut);font-size:13.5px;text-align:center}
.dlg .df{display:flex;border-top:1px solid var(--line)}
.dlg .df button{flex:1;padding:14px;font-size:15px;font-weight:600}
.dlg .df button+button{border-left:1px solid var(--line);color:var(--acc1)}

/* ---------- slide puzzle captcha ---------- */
.puz{user-select:none;background:#242232;border-radius:6px;overflow:hidden}
.puz .stage{position:relative;width:100%;height:150px;overflow:hidden;background:#222235}
.puz .stage img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.puz .hole,.puz .piece{position:absolute;width:50px;height:50px;border-radius:0;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h17a8 8 0 0 1 16 0h17v17a8 8 0 0 0 0 16v17h-17a8 8 0 0 1 -16 0h-17v-17a8 8 0 0 1 0 -16z" fill="black"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h17a8 8 0 0 1 16 0h17v17a8 8 0 0 0 0 16v17h-17a8 8 0 0 1 -16 0h-17v-17a8 8 0 0 1 0 -16z" fill="black"/></svg>');
}
.puz .hole::after, .puz .piece::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h17a8 8 0 0 1 16 0h17v17a8 8 0 0 0 0 16v17h-17a8 8 0 0 1 -16 0h-17v-17a8 8 0 0 1 0 -16z" fill="none" stroke="white" stroke-width="2"/></svg>') no-repeat center/contain;
}
.puz .hole{background:rgba(0,0,0,.6);}
.puz .piece{background-repeat:no-repeat;filter:drop-shadow(0 0 3px rgba(0,0,0,0.8));}
.puz .barwrap{position:relative;height:42px;background:#ebebeb;overflow:hidden}
.puz .fill{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--acc1)}
.puz .hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#333;font-weight:600}
.puz .knob{position:absolute;left:0;top:0;width:52px;height:42px;background:#fff;box-shadow:2px 0 5px rgba(0,0,0,.2);
    display:flex;align-items:center;justify-content:center;touch-action:none;cursor:pointer}
.puz .knob svg{width:20px;height:20px;stroke:#000;fill:none;stroke-width:2.4}
.puz.ok .knob{background:var(--green)} .puz.ok .hint{color:var(--green)}
.puz.bad .knob{background:var(--red)}

/* ---------- misc ---------- */
.empty{text-align:center;padding:60px 20px;color:var(--mut2)}
.empty svg{width:96px;height:96px;opacity:.35;margin:0 auto 12px}
.badge{background:var(--red);color:#fff;font-size:11px;min-width:19px;height:19px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
.vipchip{display:inline-flex;align-items:center;gap:4px;background:linear-gradient(90deg,#f0b542,#e58a2a);
  color:#3a2400;font-size:11px;font-weight:800;border-radius:10px;padding:2px 8px}
.uidchip{display:inline-flex;align-items:center;gap:8px;background:rgba(240,181,66,.18);color:var(--gold);
  border-radius:10px;padding:3px 11px;font-size:12.5px;margin-top:5px}

/* signed-out home header: two doors where the balance sits */
.homeauth{margin-left:auto;display:flex;gap:8px;align-items:center}
.authbtn{display:flex;align-items:center;justify-content:center;height:32px;padding:0 16px;
  border-radius:16px;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:none}
.authbtn.in{background:linear-gradient(135deg,var(--acc1),#8ce7a6);color:#10101a}
.authbtn.up{border:1.5px solid var(--acc1);color:var(--acc1)}
.authbtn:active{transform:scale(.96)}

/* providers, set as wordmarks rather than logo files */
.provbox{margin:0 14px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px}
.provrow{display:flex;flex-wrap:wrap;gap:8px}
.prov{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:9px;
  font-size:12.5px;font-weight:800;letter-spacing:.6px;background:var(--panel2)}
.prov.live{color:#ffd766;border:1px solid rgba(255,215,102,.35)}
.prov.soon{color:var(--mut);border:1px solid var(--line);opacity:.72}
.provlbl{margin:12px 0 8px;font-size:11.5px;font-weight:700;letter-spacing:1px;
  text-transform:uppercase;color:var(--mut)}

/* a scroll arrow greys out at the end it cannot move towards */
.sechead .arrows b{cursor:pointer;transition:opacity .15s,background .15s}
.sechead .arrows b.off{opacity:.3;pointer-events:none}

/* splash: one screen per tab, inside the same wrapper as the rest of the app */
.splash{position:fixed;inset:0;z-index:9999;
  /* the same grey the desktop shell sits on, so the page around it is unchanged */
  background:#90929e;
  display:flex;align-items:center;justify-content:center}
/* a class setting display beats the UA rule for [hidden], so say it here */
.splash[hidden]{display:none}
.splash .wrap{position:relative;width:100%;max-width:var(--shell);height:100%;
  overflow:hidden;background:#0d2318}
.splash img{width:100%;height:100%;object-fit:cover;object-position:center;
  /* the source art is muted next to the rest of the lobby */
  filter:saturate(1.5) contrast(1.1) brightness(1.08);
  animation:splashIn .9s cubic-bezier(.2,.8,.3,1) both}
/* a slow bloom behind the artwork so the screen does not read as a flat still */
.splash .wrap:after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(58% 38% at 50% 40%,rgba(126,255,190,.30),transparent 70%);
  mix-blend-mode:screen;animation:splashGlow 1.6s ease-in-out infinite alternate}
@keyframes splashIn{from{opacity:0;transform:scale(1.06)}to{opacity:1;transform:scale(1)}}
@keyframes splashGlow{from{opacity:.45}to{opacity:1}}

/* the home header stays put while the lobby scrolls under it */
.homehead{position:sticky;top:0;z-index:60;
  box-shadow:0 2px 10px rgba(0,0,0,.35)}

/* ---------- agency (promotion) ---------- */
.agbar{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;
  background:var(--panel);position:sticky;top:0;z-index:30}
.agbar b{font-size:17px;font-weight:700}
.agbar a{width:30px;display:flex;justify-content:flex-end}
/* hero one: the gradient band the plate sits on */
.aghero{background:var(--grad);color:#10101a;padding:18px 14px 58px;position:relative;z-index:1}
/* hero two: a positioned element, so it paints over the band rather than under
   it - without the z-index the gradient wins and eats the top of the plate */
.agplate{position:relative;z-index:2;margin:-46px 14px 0;padding:0;overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.45)}

/* ============================================================
   Floating Orbs & WhatsApp Drawer (Index Page Only)
   ============================================================ */
.pv-orbs-container {
  position: fixed;
  right: 12px;
  bottom: 85px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}
.pv-orb-item {
  pointer-events: auto;
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  animation: orbFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pv-orb-item:nth-child(2) {
  animation-delay: 1.8s;
}
.pv-orb-item:active {
  transform: scale(0.92);
}
.pv-orb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.pv-orb-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 255, 34, 0.45) 0%, transparent 70%);
  z-index: -1;
  animation: orbPulse 2.2s ease-in-out infinite alternate;
}
.pv-orb-pulse.wa {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.5) 0%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes orbPulse {
  0% { opacity: 0.35; transform: scale(0.94); }
  100% { opacity: 0.9; transform: scale(1.08); }
}

/* Centered Screen Modal */
.pv-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pv-modal-bg.open {
  opacity: 1;
  pointer-events: auto;
}
.pv-modal-card {
  width: 100%;
  max-width: 410px;
  background: #181726;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 20px;
  transform: scale(0.88);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.25), opacity 0.22s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.85);
  max-height: 90vh;
  overflow-y: auto;
}
.pv-modal-bg.open .pv-modal-card {
  transform: scale(1);
  opacity: 1;
}
.pv-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pv-modal-ttl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.pv-modal-close {
  background: rgba(255,255,255,0.08);
  color: #8a8aa3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.pv-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pv-wa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.pv-wa-item:active {
  transform: scale(0.98);
  background: #27263c;
}
.pv-wa-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.pv-wa-ico.chan {
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
  color: #fff;
}
.pv-wa-ico.sig {
  background: linear-gradient(135deg, #b8860b 0%, #ffd700 100%);
  color: #10101a;
}
.pv-wa-txt {
  flex: 1;
  min-width: 0;
}
.pv-wa-h {
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
}
.pv-wa-sub {
  font-size: 11px;
  color: var(--mut);
  margin-top: 1px;
}
.pv-wa-btn {
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pv-wa-btn.chan {
  background: #25d366;
  color: #000;
}
.pv-wa-btn.sig {
  background: #ffd700;
  color: #000;
}

/* Sleek Social Proof Ticker Bar */
.pv-ticker-bar {
  margin: 10px 14px 0;
  background: rgba(30, 30, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.pv-ticker-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--acc2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.pv-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
  animation: tickerDot 1.2s infinite;
}
@keyframes tickerDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.pv-ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.pv-ticker-text {
  font-size: 11.5px;
  color: #e0e0f0;
  white-space: nowrap;
  transition: opacity 0.25s ease-in-out;
}
