/* =====================================================================
   vx-features.css — components adapted from the supplied design files:
   Our-Team carousel → spotlight movie scroller · Glassmorphism sidebar →
   collapsible glass rail with active bar · CSS tab indicator → settings
   tabs · Glowing navigation menu → phone bottom bar · Social buttons
   (tooltip + 3D) → contact buttons · Login/Sign-up → flip login card.
   ===================================================================== */

/* ---------- spotlight carousel (Our Team Carousel) ---------- */
.vcar { position: relative; height: clamp(240px, 36vw, 470px); perspective: 1200px; overflow: hidden; border-radius: var(--r);
  background: radial-gradient(60% 70% at 50% 100%, var(--acc-soft), transparent 70%); outline: none; }
.vtrack { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.vcard { position: absolute; width: min(62%, 760px); aspect-ratio: 16/9; border: 0; padding: 0; border-radius: calc(var(--r) - 2px); overflow: hidden;
  background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85); transition: transform .8s cubic-bezier(.25,.46,.45,.94), opacity .8s, filter .8s; cursor: pointer; }
.vcard svg { display: block; width: 100%; height: 100%; transition: filter .8s cubic-bezier(.25,.46,.45,.94); }
.vcard.side svg { filter: grayscale(100%) brightness(.7); }
.vcard.side { opacity: .85; }
.vcard.gone { opacity: 0; pointer-events: none; }
.vcard.center { box-shadow: 0 40px 80px -24px rgba(0,0,0,.9), 0 0 0 2px rgba(255,255,255,.12); }
.vcard.center:focus-visible { outline: 4px solid #fff; outline-offset: 4px; }
.vlock { position: absolute; top: 12px; inset-inline-start: 12px; width: 36px; height: 36px; border-radius: 50%; display: none; place-items: center; background: rgba(0,0,0,.6); color: #fff; }
.vlock svg { width: 18px !important; height: 18px !important; filter: none !important; }
[data-locked="1"] .vlock { display: grid; }
.vnav { position: absolute; top: 50%; translate: 0 -50%; z-index: 20; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.vnav:hover { background: rgba(0,0,0,.7); transform: scale(1.06); }
.vnav svg { width: 22px; height: 22px; }
.vnav.prev { inset-inline-start: 18px; } .vnav.next { inset-inline-end: 18px; }
.vinfo { text-align: center; margin-top: 22px; }
.vinfo h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; display: inline-block; position: relative; padding: 0 0 10px; }
.vinfo h2::after { content: ""; position: absolute; inset-inline: 20%; bottom: 0; height: 3px; border-radius: 3px; background: var(--acc); }
.vinfo .m { color: var(--mute); font-size: 14px; margin: 8px 0 16px; }
.vacts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.vdots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.vdots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--s3); transition: all .3s; }
.vdots button.on { width: 28px; border-radius: 6px; background: var(--acc); }

/* ---------- glass sidebar: active bar + collapse (Glassmorphism Sidebar) ---------- */
.collapse { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--mute); transition: transform .3s; }
.collapse svg { width: 16px; height: 16px; }
[data-nav="side"] nav a { position: relative; }
[data-nav="side"] nav a.on::before { content: ""; position: absolute; inset-inline-start: -14px; top: 50%; translate: 0 -50%; width: 4px; height: 22px; border-radius: 0 4px 4px 0; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
[data-nav="side"][data-side="mini"] aside { --side: 84px; width: 84px; align-items: center; }
[data-nav="side"][data-side="mini"] main { --pis: calc(84px + clamp(16px, 3vw, 40px)); }
[data-nav="side"][data-side="mini"] .bname, [data-nav="side"][data-side="mini"] nav span, [data-nav="side"][data-side="mini"] .sec, [data-nav="side"][data-side="mini"] .side-foot { display: none; }
[data-nav="side"][data-side="mini"] .brand { flex-direction: column; padding-inline: 0; }
[data-nav="side"][data-side="mini"] .collapse { margin: 10px 0 0; transform: rotate(180deg); }
[data-nav="side"][data-side="mini"] nav a { justify-content: center; width: 52px; padding: 0; height: 48px; }
[data-nav="side"][data-side="mini"] nav a.on::before { inset-inline-start: -16px; }
[data-nav="top"] .collapse, [data-tv="1"] .collapse { display: none; }

/* ---------- settings tabs with sliding marker (CSS tab indicator) ---------- */
.set-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.set-tabs { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: var(--r); background: var(--s1); }
.set-tabs button { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 0; background: none; color: var(--mute); border-radius: 14px; text-align: start; font-size: 14px; transition: color .25s; }
.set-tabs button svg { width: 19px; height: 19px; flex: none; }
.set-tabs button.on { color: var(--ink); }
.set-tabs button.on svg { color: var(--acc); }
.set-marker { position: absolute; z-index: 0; inset-inline: 8px; top: 0; height: 48px; border-radius: 14px; background: var(--s3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 8px 20px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.4,1.4,.6,1), height .2s; }
.set-p { animation: in .3s ease; }
.set-p > .card, .set-p .set-card { display: flex; flex-direction: column; gap: 14px; }
.set-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pk-list { display: flex; flex-direction: column; gap: 4px; }
.switch.pk { padding: 10px 12px; border-radius: 12px; background: var(--s2); }
.sub-prev { min-height: 120px; border-radius: 14px; display: grid; place-items: end center; padding: 18px; background: linear-gradient(135deg, #2b3a55, #121826); }
.cap-demo, .cap span { font-family: var(--sub-font, inherit); color: var(--sub-color, #fff); background: var(--sub-bg, rgba(0,0,0,.7)); text-shadow: var(--sub-stroke, none); }
.cap span { font-size: calc(clamp(15px, 2vw, 22px) * var(--sub-scale, 1)); }
.cap-demo { font-size: calc(18px * var(--sub-scale, 1)); padding: 3px 12px; border-radius: 8px; }

/* network test */
.net-card { align-items: center; text-align: center; }
.net-gauge { position: relative; width: min(320px, 100%); }
.net-gauge svg { width: 100%; display: block; }
#netArc { transition: stroke-dasharray .6s ease; filter: drop-shadow(0 0 8px var(--acc)); }
.net-big { position: absolute; inset-inline: 0; bottom: 6px; }
.net-big b { display: block; font-size: 44px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.net-big small { color: var(--mute); font-size: 13px; }
.net-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.net-stats div { background: var(--s2); border-radius: 12px; padding: 10px; }
.net-stats small { display: block; font-size: 11px; color: var(--mute); }
.net-stats b { font-size: 15px; font-weight: 500; }
.netb { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; margin-inline-end: 4px; }
.netb.g { background: rgba(48,209,88,.15); color: #30d158; } .netb.m { background: rgba(255,176,32,.15); color: #ffb020; } .netb.b { background: rgba(255,69,58,.15); color: #ff6b62; }

/* ---------- player extras ---------- */
.stats { position: absolute; top: 14px; inset-inline-end: 14px; background: rgba(0,0,0,.65); color: #9ff3b5; font: 12px/1.4 ui-monospace, monospace; padding: 6px 10px; border-radius: 8px; direction: ltr; }
.buffering { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.buffering i { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ch .chn { margin-inline-start: auto; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.rail.reorder { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.ch.ro { cursor: grab; }
.ch.ro.drag { opacity: .5; }
.ro-btns { margin-inline-start: auto; display: flex; gap: 6px; }
.ro-btns .icon-btn { width: 36px; height: 36px; background: var(--s3); }
.ro-btns svg { width: 18px; height: 18px; }
#reorderBtn[aria-pressed="true"] { background: var(--acc); color: #fff; }

/* ---------- guest / locked state ---------- */
.guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; margin-bottom: 18px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,176,32,.16), rgba(255,176,32,.04)); border: 1px solid rgba(255,176,32,.3); position: relative; z-index: 3; }
[data-locked="1"] .wcard .th::before, [data-locked="1"] .pcard::after, [data-locked="1"] .ch::after {
  content: ""; position: absolute; top: 8px; inset-inline-start: 8px; width: 26px; height: 26px; border-radius: 50%; z-index: 3;
  background: rgba(0,0,0,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/14px no-repeat; }
[data-locked="1"] .ch { position: relative; }
[data-locked="1"] .ch::after { top: 50%; translate: 0 -50%; inset-inline-start: auto; inset-inline-end: 10px; }

/* ---------- subscribe sheet + contact buttons (tooltip & 3D social buttons) ---------- */
.sub-sheet { width: min(720px, 100%); }
.sub-top { display: flex; gap: 16px; align-items: center; padding-inline-end: 40px; }
.lockbig { width: 58px; height: 58px; border-radius: 18px; flex: none; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); }
.lockbig svg { width: 28px; height: 28px; }
.lockbig.warn { background: rgba(255,176,32,.15); color: #ffb020; margin: 0 auto 10px; }
.sub-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; margin-top: 18px; align-items: start; }
.sub-qr { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.qrbox.sm { width: 172px; height: 172px; padding: 11px; border-radius: 14px; margin-bottom: 8px; }
.qrbox.sm img, .qrbox.sm canvas { width: 150px !important; height: 150px !important; }
.sub-qr small { color: var(--mute); font-size: 11px; margin-top: 6px; }
.sub-qr b { font-family: ui-monospace, monospace; letter-spacing: .5px; }
.sub-steps ol { margin: 0 0 16px; padding-inline-start: 18px; line-height: 1.9; color: var(--mute); font-size: 14px; }
.soc { display: flex; flex-direction: column; gap: 10px; }
.sbtn { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border: 0; border-radius: 14px; color: #fff; font-size: 15px; text-align: start;
  background: var(--s2); box-shadow: 0 6px 0 rgba(0,0,0,.35), 0 12px 20px rgba(0,0,0,.25); transform: translateY(0); transition: transform .25s cubic-bezier(.68,-.55,.265,1.55), box-shadow .25s; }
.sbtn i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.15); flex: none; }
.sbtn i svg { width: 20px; height: 20px; }
.sbtn b { font-weight: 600; }
.sbtn:hover, .sbtn:focus-visible { transform: translateY(-3px); box-shadow: 0 9px 0 rgba(0,0,0,.35), 0 18px 26px rgba(0,0,0,.3); }
.sbtn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.sbtn.wa { background: linear-gradient(135deg, #2bd367, #128c4a); }
.sbtn.tel { background: linear-gradient(135deg, #3a8bff, #1b5fd1); }
.sbtn .tip { position: absolute; top: 0; inset-inline-start: 16px; padding: 4px 12px; border-radius: 20px; font-size: 12px; background: #fff; color: #111; opacity: 0; pointer-events: none;
  transition: .4s cubic-bezier(.68,-.55,.265,1.55); }
.sbtn:hover .tip { top: -32px; opacity: 1; }

/* PIN */
.pin-sheet { width: min(360px, 100%); text-align: center; }
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 16px 0; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--mute); transition: all .2s; }
.pin-dots i.on { background: var(--acc); border-color: var(--acc); transform: scale(1.15); }
#pinIn { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pin-pad .btn { min-height: 56px; font-size: 20px; border-radius: 16px; }

/* sharing conflict */
.conflict { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.8); backdrop-filter: blur(12px); text-align: center; }
.conflict .sheet { width: min(460px, 100%); }
.conflict .prep-acts { justify-content: center; }

/* ---------- phone bottom bar (Glowing Navigation Menu) ---------- */
.bnav { display: none; }
@media (max-width: 600px) {
  aside, [data-layout] aside { display: none !important; }
  [data-layout] main { padding-bottom: 104px; }
  .bnav { display: flex; position: fixed; z-index: 30; inset-inline: 10px; bottom: 10px; height: 64px; border-radius: 20px; padding: 0 6px;
    background: rgba(24,24,30,.85); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06); }
  .bnav a { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--mute); }
  .bnav .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: transform .5s, background .5s, color .5s; transition-delay: 0s; }
  .bnav .ic svg { width: 22px; height: 22px; }
  .bnav .tx { position: absolute; bottom: 6px; font-size: 11px; opacity: 0; transform: translateY(10px); transition: .5s; }
  .bnav a.on .ic { background: var(--clr); color: #fff; transform: translateY(-24px); transition-delay: .15s; box-shadow: 0 8px 20px -4px var(--clr); }
  .bnav a.on .tx { opacity: 1; transform: translateY(0); color: var(--ink); transition-delay: .15s; }
  .bind { position: absolute; z-index: 1; top: -28px; left: 0; width: 70px; height: 70px; border-radius: 50%; background: var(--bg); border: 6px solid var(--bg);
    transition: transform .5s; box-shadow: 0 -6px 14px rgba(0,0,0,.2); }
  .set-shell, .set-2, .sub-body { grid-template-columns: minmax(0, 1fr); }
  .set-tabs { position: relative; top: 0; flex-direction: row; overflow-x: auto; }
  .set-tabs button { flex: none; }
  .set-tabs button span { white-space: nowrap; }
  .set-marker { display: none; }
  .set-tabs button.on { background: var(--s3); }
  .net-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard { width: 82%; }
  .vnav { width: 42px; height: 42px; }
  .sub-qr { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
}
@media (max-width: 900px) and (min-width: 601px) { .set-shell { grid-template-columns: minmax(0, 1fr); } .set-tabs { position: relative; top: 0; flex-direction: row; overflow-x: auto; } .set-marker { display: none; } .set-tabs button.on { background: var(--s3); } }
[data-tv="1"] .bnav { display: none !important; }
[data-tv="1"] .vcard { width: 58%; }
/* login card flips in (Login / Sign-up reference) */
.adm-login { transform-origin: 50% 50%; animation: flipin .9s cubic-bezier(.68,-.55,.27,1.55); box-shadow: 20px 20px 40px rgba(0,0,0,.45), -10px -10px 30px rgba(255,255,255,.03); }
@keyframes flipin { from { transform: perspective(1600px) rotateY(-180deg); opacity: 0; } to { transform: perspective(1600px) rotateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .adm-login { animation: none; } .vcard, .vcard svg { transition: none; } }
.bname { white-space: nowrap; }
.brand { gap: 8px; }
#admTabs button { padding: 0 14px; white-space: nowrap; }
