/* ==========================================================================
   NP — NP Global · Neon theme
   ========================================================================== */
:root {
  --bg-0: #030a0e;
  --bg-1: #081216;
  --bg-2: #0f344b;
  --panel: rgba(12,42,58, .65);
  --panel-solid: #0c2a3a;
  --violet: #00b8d4;
  --violet-2: #03e1ef;
  --violet-deep: #0f344b;
  --gold: #7cf9f7;
  --gold-2: #c9fbff;
  --text: #ffffff;
  --muted: #9fc4cf;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f43f5e;
  --info: #38bdf8;
  --radius: 18px;
  --glow: 0 0 12px rgba(3,225,239, .55), 0 0 32px rgba(0,184,212, .35);
  --glow-strong: 0 0 16px rgba(3,225,239, .85), 0 0 48px rgba(0,184,212, .55);
  --glow-gold: 0 0 12px rgba(124,249,247, .6), 0 0 32px rgba(124,249,247, .3);
  --sidebar-w: 268px;
  --topbar-h: 72px;
  --font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Space Grotesk', 'Nunito Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, var(--bg-2) 0%, var(--bg-1) 45%, var(--bg-0) 100%) fixed;
  overflow-x: hidden;
}
a { color: var(--violet-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1rem; }
.text-gold { color: var(--gold) !important; }
.text-violet { color: var(--violet-2) !important; }
.text-muted { color: var(--muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warn { color: var(--warn) !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-800 { font-weight: 800; }
.small { font-size: .82rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.d-flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .align-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

/* Gradient text */
.grad-violet {
  background: linear-gradient(135deg, #a5eef5 0%, #03e1ef 45%, #0096b4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-gold {
  background: linear-gradient(135deg, #d9fcff 0%, #7cf9f7 50%, #00a9c0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.neon-text { text-shadow: 0 0 8px rgba(3,225,239,.9), 0 0 24px rgba(0,184,212,.6); }
.neon-text-gold { text-shadow: 0 0 8px rgba(124,249,247,.8), 0 0 24px rgba(124,249,247,.4); }

/* Particles background */
#particles-js {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.app-shell, .auth-shell, .site-shell { position: relative; z-index: 1; }

/* ---------- Animations ---------- */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(3,225,239,.45), 0 0 28px rgba(0,184,212,.25); }
  50% { box-shadow: 0 0 18px rgba(3,225,239,.85), 0 0 48px rgba(0,184,212,.5); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.anim-glow { animation: glowPulse 3.2s ease-in-out infinite; }
.anim-float { animation: floatY 5s ease-in-out infinite; }
.anim-fade { animation: fadeUp .5s ease both; }

/* ---------- Layout: sidebar / topbar ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w);
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(8,18,22,.92), rgba(3,10,14,.96));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-right: 1px solid rgba(3,225,239,.35);
  box-shadow: 4px 0 30px rgba(15,52,75,.35);
  overflow-y: auto; transition: transform .3s ease;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(3,225,239,.4); border-radius: 6px; }
.sidebar-brand { display: flex; align-items: center; justify-content: center; padding: 18px 16px 10px; }
.sidebar-brand img { height: 84px; filter: drop-shadow(0 0 10px rgba(3,225,239,.7)); }
.sidebar-user { margin: 6px 16px 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0,184,212,.12); border: 1px solid rgba(3,225,239,.3); }
.sidebar-user .uid { font-weight: 700; color: var(--gold); letter-spacing: .5px; }
.sidebar-user .uname { font-size: .82rem; color: var(--muted); }
.nav-section { padding: 10px 14px 4px; font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(159,196,207,.7); }
.nav { list-style: none; margin: 0; padding: 0 10px 20px; }
.nav li a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 2px 0;
  border-radius: 12px; color: #dff6fa; font-weight: 500; font-size: .92rem;
  border: 1px solid transparent; transition: all .2s;
}
.nav li a i, .nav li a .ic { width: 22px; text-align: center; color: var(--violet-2); font-style: normal; }
.nav li a:hover { background: rgba(0,184,212,.15); border-color: rgba(3,225,239,.35); color: #fff; }
.nav li a.active { background: linear-gradient(90deg, rgba(0,184,212,.35), rgba(0,184,212,.05)); border-color: rgba(3,225,239,.6); box-shadow: var(--glow); color: #fff; }
.nav li a.active i, .nav li a.active .ic { color: var(--gold); }
.nav .has-sub > a .caret { margin-left: auto; transition: transform .25s; font-size: .7rem; }
.nav .has-sub.open > a .caret { transform: rotate(180deg); }
.nav .sub { list-style: none; padding: 0 0 0 22px; margin: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.nav .has-sub.open .sub { max-height: 600px; }
.nav .sub li a { font-size: .85rem; padding: 7px 12px; color: var(--muted); }
.nav .sub li a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 6px var(--violet-2); flex: 0 0 6px; }
.nav .sub li a.active { color: #fff; }
.nav .sub li a.active::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px; padding: 0 24px;
  background: rgba(3,10,14,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(3,225,239,.3);
}
.topbar .burger { display: none; background: none; border: 1px solid rgba(3,225,239,.5); color: #fff; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem; }
.topbar .page-crumb { font-weight: 600; color: var(--muted); }
.topbar .spacer { flex: 1; }
.topbar .wallet-pill { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; background: rgba(0,184,212,.15); border: 1px solid rgba(3,225,239,.45); font-size: .85rem; }
.topbar .wallet-pill b { color: var(--gold); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 30px; font-size: .75rem; font-weight: 600; letter-spacing: .3px; border: 1px solid; }
.status-pill.ok { color: var(--success); border-color: rgba(52,211,153,.6); background: rgba(52,211,153,.1); box-shadow: 0 0 10px rgba(52,211,153,.35); }
.status-pill.warn { color: var(--warn); border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.1); box-shadow: 0 0 10px rgba(251,191,36,.35); }
.status-pill.bad { color: var(--danger); border-color: rgba(244,63,94,.6); background: rgba(244,63,94,.1); box-shadow: 0 0 10px rgba(244,63,94,.35); }
.status-pill.info { color: var(--info); border-color: rgba(56,189,248,.6); background: rgba(56,189,248,.1); }
.dropdown { position: relative; }
.dropdown .dd-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; background: none; border: 0; color: #fff; font-family: inherit; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet-deep), var(--violet-2)); font-weight: 700; box-shadow: var(--glow); }
.dropdown .dd-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; display: none; flex-direction: column; padding: 8px; border-radius: 14px; background: var(--panel-solid); border: 1px solid rgba(3,225,239,.5); box-shadow: var(--glow); }
.dropdown.open .dd-menu { display: flex; }
.dropdown .dd-menu a { padding: 9px 12px; border-radius: 10px; color: #dff6fa; font-size: .88rem; }
.dropdown .dd-menu a:hover { background: rgba(0,184,212,.2); color: #fff; }

.content { padding: 26px 24px 40px; flex: 1; }
.footer { padding: 18px 24px; border-top: 1px solid rgba(3,225,239,.25); color: var(--muted); font-size: .78rem; text-align: center; }
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 35; }

@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .main { margin-left: 0; }
  .topbar .burger { display: inline-flex; align-items: center; justify-content: center; }
  .topbar .wallet-pill.php { display: none; }
}
@media (max-width: 640px) {
  .topbar { padding: 0 14px; gap: 10px; }
  .topbar .wallet-pill, .topbar .page-crumb { display: none; }
  .content { padding: 18px 14px 30px; }
}

/* ---------- Page title ---------- */
.page-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.page-title h1 { font-size: 1.6rem; font-weight: 800; }
.page-title h1 span { color: var(--gold); }
.page-title .sub { color: var(--muted); font-size: .9rem; }

/* ---------- Neon cards ---------- */
.neon-card {
  position: relative; padding: 22px; border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(3,225,239,.45); box-shadow: 0 0 12px rgba(3,225,239,.25), 0 10px 30px rgba(0,0,0,.35);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.neon-card:hover { border-color: rgba(3,225,239,.8); box-shadow: var(--glow); }
.neon-card.lift:hover { transform: translateY(-3px); }
.neon-card.gold { border-color: rgba(124,249,247,.55); box-shadow: var(--glow-gold); }
.neon-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(3,225,239,.25); }
.neon-card .card-head h3 { font-size: 1.05rem; margin: 0; }
.neon-card .card-head h3 i { color: var(--violet-2); margin-right: 8px; }
.card-body { color: var(--text); }

/* Mesh backgrounds */
.mesh-1 { background: radial-gradient(at 20% 20%, rgba(3,225,239,.45) 0, transparent 50%), radial-gradient(at 80% 0%, rgba(124,249,247,.25) 0, transparent 45%), radial-gradient(at 70% 90%, rgba(15,52,75,.6) 0, transparent 55%), var(--panel); }
.mesh-2 { background: radial-gradient(at 0% 100%, rgba(0,184,212,.5) 0, transparent 50%), radial-gradient(at 100% 20%, rgba(56,189,248,.25) 0, transparent 45%), var(--panel); }
.mesh-3 { background: radial-gradient(at 50% 0%, rgba(124,249,247,.35) 0, transparent 50%), radial-gradient(at 0% 80%, rgba(3,225,239,.5) 0, transparent 55%), var(--panel); }
.mesh-4 { background: radial-gradient(at 100% 100%, rgba(244,63,94,.28) 0, transparent 50%), radial-gradient(at 10% 10%, rgba(0,184,212,.5) 0, transparent 50%), var(--panel); }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(140px, auto); gap: 18px; }
.bento-tile {
  position: relative; overflow: hidden; padding: 22px; border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(3,225,239,.45); box-shadow: 0 0 12px rgba(3,225,239,.22), 0 10px 30px rgba(0,0,0,.35);
  transition: box-shadow .25s, transform .25s, border-color .25s; animation: fadeUp .5s ease both;
}
.bento-tile:hover { border-color: rgba(3,225,239,.85); box-shadow: var(--glow); transform: translateY(-2px); }
.bento-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.04) 50%, transparent 70%); }
.b-2x1 { grid-column: span 2; }
.b-1x2 { grid-row: span 2; }
.b-2x2 { grid-column: span 2; grid-row: span 2; }
.b-3x1 { grid-column: span 3; }
.b-4x1 { grid-column: span 4; }
@media (max-width: 1200px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .b-4x1 { grid-column: span 3; } }
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-3x1, .b-4x1 { grid-column: span 2; } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } .b-2x1, .b-2x2, .b-3x1, .b-4x1 { grid-column: span 1; } .b-1x2, .b-2x2 { grid-row: span 1; } }

/* ---------- Stat tile ---------- */
.stat-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; }
.stat-tile .st-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--violet-deep), var(--violet-2)); box-shadow: var(--glow); }
.stat-tile .st-icon.gold { background: linear-gradient(135deg, #0089a0, var(--gold)); box-shadow: var(--glow-gold); color: #081216; }
.stat-tile .st-icon.green { background: linear-gradient(135deg, #047857, var(--success)); box-shadow: 0 0 14px rgba(52,211,153,.5); }
.stat-tile .st-icon.red { background: linear-gradient(135deg, #9f1239, var(--danger)); box-shadow: 0 0 14px rgba(244,63,94,.5); }
.stat-tile .st-icon.blue { background: linear-gradient(135deg, #0369a1, var(--info)); box-shadow: 0 0 14px rgba(56,189,248,.5); }
.stat-tile .st-label { color: var(--muted); font-size: .8rem; letter-spacing: .5px; text-transform: uppercase; margin-top: 12px; }
.stat-tile .st-value { font-size: 1.65rem; font-weight: 800; color: var(--gold); text-shadow: 0 0 12px rgba(124,249,247,.35); line-height: 1.1; }
.stat-tile .st-value small { font-size: .85rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.stat-tile .st-hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-family: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; border: 1px solid transparent; transition: all .2s; text-decoration: none; line-height: 1.2; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-neon { color: #fff; background: linear-gradient(135deg, var(--violet-deep), var(--violet-2)); border-color: rgba(165,238,245,.5); box-shadow: var(--glow); }
.btn-neon:hover { color: #fff; box-shadow: var(--glow-strong); transform: translateY(-1px); }
.btn-gold { color: #081216; background: linear-gradient(135deg, #00a9c0, var(--gold), #9ff8ff); border-color: rgba(201,251,255,.6); box-shadow: var(--glow-gold); }
.btn-gold:hover { color: #081216; box-shadow: 0 0 18px rgba(124,249,247,.9), 0 0 48px rgba(124,249,247,.45); transform: translateY(-1px); }
.btn-outline { color: var(--violet-2); background: transparent; border-color: var(--violet-2); }
.btn-outline:hover { background: rgba(0,184,212,.15); color: #fff; box-shadow: var(--glow); }
.btn-danger { color: #fff; background: linear-gradient(135deg, #9f1239, var(--danger)); box-shadow: 0 0 14px rgba(244,63,94,.45); }
.btn-success { color: #052e22; background: linear-gradient(135deg, #10b981, #6ee7b7); box-shadow: 0 0 14px rgba(52,211,153,.45); }
.btn-sm { padding: 6px 12px; font-size: .8rem; border-radius: 9px; }
.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-label, label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
.form-control, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=tel], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; color: #fff; font-family: inherit; font-size: .92rem;
  background: rgba(3,10,14,.7); border: 1px solid rgba(3,225,239,.4); outline: none; transition: all .2s;
}
select option { background: var(--panel-solid); color: #fff; }
.form-control:focus, input:focus, select:focus, textarea:focus { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(3,225,239,.2), var(--glow); }
.form-control::placeholder, input::placeholder, textarea::placeholder { color: rgba(159,196,207,.6); }
.form-control[readonly], input[readonly] { background: rgba(15,52,75,.25); color: var(--muted); }
.form-control.is-invalid, .is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 10px rgba(244,63,94,.35); }
.invalid-feedback, .form-error { display: block; color: var(--danger); font-size: .78rem; margin-top: 5px; }
.form-hint { color: var(--muted); font-size: .78rem; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.input-group { display: flex; }
.input-group .form-control { border-radius: 12px 0 0 12px; }
.input-group .btn { border-radius: 0 12px 12px 0; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet-2); flex: 0 0 18px; }
.copy-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(3,10,14,.7); border: 1px dashed rgba(124,249,247,.6); font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; font-size: .85rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(3,225,239,.35); }
table.table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.table thead th { text-align: left; padding: 12px 14px; font-size: .74rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); background: rgba(15,52,75,.45); border-bottom: 1px solid rgba(3,225,239,.5); white-space: nowrap; }
.table tbody td { padding: 11px 14px; border-bottom: 1px solid rgba(3,225,239,.15); color: #e0f8fb; vertical-align: middle; }
.table tbody tr { transition: background .2s, box-shadow .2s; }
.table tbody tr:hover { background: rgba(0,184,212,.14); box-shadow: inset 0 0 20px rgba(3,225,239,.15); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tfoot td { padding: 12px 14px; font-weight: 700; color: var(--gold); background: rgba(15,52,75,.3); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table.compact thead th, .table.compact tbody td { padding: 8px 10px; }
.table-caption { padding: 10px 14px; font-size: .8rem; color: var(--muted); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 30px; font-size: .72rem; font-weight: 700; letter-spacing: .4px; border: 1px solid; white-space: nowrap; }
.badge-success { color: var(--success); border-color: rgba(52,211,153,.6); background: rgba(52,211,153,.12); box-shadow: 0 0 8px rgba(52,211,153,.35); }
.badge-warn, .badge-warning { color: var(--warn); border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.12); box-shadow: 0 0 8px rgba(251,191,36,.35); }
.badge-danger { color: var(--danger); border-color: rgba(244,63,94,.6); background: rgba(244,63,94,.12); box-shadow: 0 0 8px rgba(244,63,94,.35); }
.badge-info { color: var(--info); border-color: rgba(56,189,248,.6); background: rgba(56,189,248,.12); box-shadow: 0 0 8px rgba(56,189,248,.35); }
.badge-violet { color: #c9f3f6; border-color: rgba(3,225,239,.7); background: rgba(0,184,212,.18); box-shadow: 0 0 8px rgba(3,225,239,.4); }
.badge-gold { color: var(--gold); border-color: rgba(124,249,247,.7); background: rgba(124,249,247,.12); box-shadow: 0 0 8px rgba(124,249,247,.4); }
.badge-muted { color: var(--muted); border-color: rgba(159,196,207,.4); background: rgba(159,196,207,.08); }

/* ---------- Alerts ---------- */
.alert { position: relative; padding: 12px 40px 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .88rem; border: 1px solid; backdrop-filter: blur(8px); animation: fadeUp .35s ease both; }
.alert .close { position: absolute; right: 10px; top: 8px; background: none; border: 0; color: inherit; font-size: 1.1rem; cursor: pointer; opacity: .7; }
.alert-success { color: #d1fae5; background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.6); box-shadow: 0 0 14px rgba(52,211,153,.3); }
.alert-danger { color: #ffe4e6; background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.6); box-shadow: 0 0 14px rgba(244,63,94,.3); }
.alert-warn, .alert-warning { color: #fef3c7; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.6); box-shadow: 0 0 14px rgba(251,191,36,.3); }
.alert-info { color: #e0f2fe; background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.6); box-shadow: 0 0 14px rgba(56,189,248,.3); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Progress ---------- */
.progress { height: 10px; border-radius: 20px; background: rgba(3,10,14,.8); border: 1px solid rgba(3,225,239,.35); overflow: hidden; }
.progress .bar { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--violet-deep), var(--violet-2), var(--gold)); box-shadow: 0 0 12px rgba(3,225,239,.8); transition: width .6s ease; }
.progress.gold .bar { background: linear-gradient(90deg, #0089a0, var(--gold)); box-shadow: 0 0 12px rgba(124,249,247,.8); }
.progress-label { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }

/* ---------- Timeline / ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid rgba(3,225,239,.18); }
.ledger li:last-child { border-bottom: 0; }
.ledger .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 10px var(--violet-2); flex: 0 0 12px; }
.ledger .dot.gold { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.ledger .dot.red { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.ledger .dot.green { background: var(--success); box-shadow: 0 0 10px var(--success); }
.ledger .l-body { flex: 1; min-width: 0; }
.ledger .l-title { font-weight: 600; font-size: .9rem; }
.ledger .l-meta { font-size: .76rem; color: var(--muted); }
.ledger .l-amt { font-weight: 800; color: var(--gold); white-space: nowrap; }
.ledger .l-amt.neg { color: var(--danger); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid rgba(3,225,239,.4); }
.timeline li { position: relative; padding: 0 0 18px 16px; }
.timeline li::before { content: ''; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 10px var(--violet-2); }
.timeline li.done::before { background: var(--success); box-shadow: 0 0 10px var(--success); }

/* ---------- Package card (PPT style) ---------- */
.pkg-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 22px; background: linear-gradient(160deg, rgba(15,52,75,.55), rgba(3,10,14,.85)); border: 1px solid rgba(3,225,239,.6); box-shadow: var(--glow), inset 0 0 40px rgba(0,184,212,.08); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--glow-strong); }
.pkg-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(3,225,239,.35), transparent 65%); pointer-events: none; }
.pkg-card .pkg-level { position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 8px; border: 1px solid rgba(124,249,247,.7); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: 1px; }
.pkg-card .pkg-name { font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.pkg-card .pkg-name::before { content: '\201C'; color: var(--violet-2); } .pkg-card .pkg-name::after { content: '\201D'; color: var(--violet-2); }
.pkg-card .pkg-price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 8px 0 4px; background: linear-gradient(135deg, #d5f6f8 0%, #03e1ef 50%, #0c5a74 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(3,225,239,.5)); }
.pkg-card .pkg-price small { font-size: 1rem; color: var(--muted); -webkit-text-fill-color: var(--muted); filter: none; }
.pkg-card .pkg-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.pkg-card .pkg-details-h { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 30px; background: rgba(0,184,212,.2); border: 1px solid rgba(3,225,239,.5); font-size: .78rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 12px; }
.pkg-card ul.pkg-list { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.pkg-card ul.pkg-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(3,225,239,.2); font-size: .86rem; color: #e2f7f9; }
.pkg-card ul.pkg-list li:last-child { border-bottom: 0; }
.pkg-card ul.pkg-list li .ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(3,225,239,.7); box-shadow: 0 0 8px rgba(3,225,239,.5); color: var(--violet-2); font-size: .8rem; }
.pkg-card ul.pkg-list li b { color: var(--gold); }
.pkg-card .pkg-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pkg-card.current { border-color: var(--gold); box-shadow: var(--glow-gold); }
.pkg-card.current .pkg-level { background: var(--gold); color: #081216; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* ---------- Disclaimer ---------- */
.disclaimer { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(244,63,94,.75); background: rgba(244,63,94,.08); box-shadow: 0 0 12px rgba(244,63,94,.35), inset 0 0 20px rgba(244,63,94,.05); font-size: .82rem; color: #ffe4e6; }
.disclaimer .ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--danger); border: 1px solid rgba(244,63,94,.6); font-size: 1rem; }
.disclaimer b { color: var(--danger); }

/* ---------- Info / note boxes ---------- */
.note { padding: 14px 18px; border-radius: 14px; border-left: 4px solid var(--violet-2); background: rgba(0,184,212,.12); font-size: .86rem; }
.note.gold { border-left-color: var(--gold); background: rgba(124,249,247,.08); }
.note.red { border-left-color: var(--danger); background: rgba(244,63,94,.08); }
.note b, .note strong { color: var(--gold); }
.policy-box { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.96); color: #081216; border: 2px solid rgba(3,225,239,.8); box-shadow: var(--glow); }
.policy-box ul { list-style: none; margin: 0; padding: 0; }
.policy-box li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(8,18,22,.1); font-weight: 600; font-size: .9rem; }
.policy-box li:last-child { border-bottom: 0; }
.policy-box li .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-deep); color: #fff; font-size: .8rem; flex: 0 0 32px; }
.policy-box li em { font-style: normal; color: #dc2626; }
.policy-box li em.ok { color: #0c5a74; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .ic { font-size: 2.4rem; color: var(--violet-2); text-shadow: var(--glow); margin-bottom: 10px; }
.empty-state h4 { color: #fff; margin-bottom: 4px; }

/* ---------- Binary tree ---------- */
.tree { display: flex; justify-content: center; overflow-x: auto; padding: 20px 10px; }
.tree ul { padding-top: 24px; position: relative; display: flex; justify-content: center; margin: 0; list-style: none; padding-left: 0; }
.tree li { position: relative; padding: 24px 8px 0; text-align: center; }
.tree li::before, .tree li::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 24px; border-top: 2px solid rgba(3,225,239,.7); }
.tree li::after { right: auto; left: 50%; border-left: 2px solid rgba(3,225,239,.7); }
.tree li:only-child::after, .tree li:only-child::before { display: none; }
.tree li:only-child { padding-top: 0; }
.tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
.tree li:last-child::before { border-right: 2px solid rgba(3,225,239,.7); border-radius: 0 6px 0 0; }
.tree li:first-child::after { border-radius: 6px 0 0 0; }
.tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 2px solid rgba(3,225,239,.7); width: 0; height: 24px; }
.tree .node { display: inline-block; min-width: 118px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(15,52,75,.7), rgba(15,52,75,.9)); border: 1px solid rgba(3,225,239,.8); box-shadow: var(--glow); color: #fff; font-size: .78rem; }
.tree .node .n-id { font-weight: 800; color: var(--gold); }
.tree .node .n-pts { color: var(--muted); font-size: .7rem; }
.tree .node.empty { background: rgba(3,10,14,.6); border-style: dashed; box-shadow: none; color: var(--muted); }
.tree .node.empty:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Auth ---------- */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; }
.auth-card { width: 100%; max-width: 480px; padding: 34px 32px; border-radius: 24px; background: rgba(12,42,58,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(3,225,239,.6); box-shadow: var(--glow-strong), 0 30px 60px rgba(0,0,0,.5); animation: fadeUp .6s ease both; }
.auth-card.wide { max-width: 720px; }
.auth-logo { text-align: center; margin-bottom: 18px; }
.auth-logo img { height: 110px; filter: drop-shadow(0 0 14px rgba(3,225,239,.8)); animation: floatY 5s ease-in-out infinite; }
.auth-card h1 { text-align: center; font-size: 1.35rem; margin-bottom: 4px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .84rem; }

/* ---------- Public site ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 12px 6%; background: rgba(3,10,14,.7); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(3,225,239,.3); }
.site-nav img { height: 56px; filter: drop-shadow(0 0 8px rgba(3,225,239,.7)); }
.site-nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav .links a { color: #dff6fa; font-weight: 500; font-size: .92rem; }
.site-nav .links a:hover { color: var(--gold); }
.site-nav .menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(3,225,239,.5); color: #fff; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }
.section { padding: 70px 6%; position: relative; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title .kicker { display: inline-block; padding: 5px 16px; border-radius: 30px; border: 1px solid rgba(3,225,239,.6); color: var(--violet-2); font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; }
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--muted); max-width: 680px; margin: 10px auto 0; }
.hero { min-height: 92vh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 60px 6%; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 30px; border: 1px solid rgba(3,225,239,.6); background: rgba(0,184,212,.12); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: #dff6fa; }
.hero .kicker .dots { display: inline-flex; gap: 3px; } .hero .kicker .dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--violet-2); box-shadow: 0 0 6px var(--violet-2); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 900; line-height: 1.02; margin: 20px 0 10px; letter-spacing: -1px; text-transform: uppercase; }
.hero h1 .l1 { display: block; color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.4), 0 0 30px rgba(255,255,255,.2); }
.hero h1 .l2 { display: block; background: linear-gradient(135deg, #a5eef5, #00b8d4 50%, #0f344b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(0,184,212,.6)); }
.hero .plug { display: inline-block; font-size: 1rem; letter-spacing: 6px; text-transform: uppercase; color: #dff6fa; padding: 6px 0; border-top: 1px solid rgba(3,225,239,.5); border-bottom: 1px solid rgba(3,225,239,.5); margin: 10px 0 24px; }
.hero .feat { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(3,225,239,.55); background: rgba(12,42,58,.6); box-shadow: var(--glow); margin-bottom: 14px; max-width: 460px; }
.hero .feat .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid rgba(3,225,239,.8); font-size: 1.3rem; color: var(--violet-2); }
.hero .feat b { display: block; font-size: 1.2rem; }
.hero .feat b span { color: var(--violet-2); }
.hero .stack { max-width: 460px; padding: 6px 18px; border-radius: 16px; border: 1px solid rgba(3,225,239,.55); background: rgba(12,42,58,.6); }
.hero .stack div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(3,225,239,.25); font-weight: 600; letter-spacing: 1px; }
.hero .stack div:last-child { border-bottom: 0; }
.hero .stack div i { color: var(--violet-2); width: 24px; text-align: center; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-visual .screen { width: min(100%, 520px); aspect-ratio: 16/10; border-radius: 22px; border: 2px solid rgba(3,225,239,.8); background: linear-gradient(160deg, rgba(15,52,75,.6), rgba(3,10,14,.95)); box-shadow: var(--glow-strong), 0 40px 80px rgba(0,0,0,.6); transform: perspective(1200px) rotateY(-14deg) rotateX(6deg); animation: floatY 6s ease-in-out infinite; position: relative; overflow: hidden; }
.hero-visual .screen svg { width: 100%; height: 100%; }
.hero-visual .chip { position: absolute; border-radius: 50%; border: 6px dashed; display: grid; place-items: center; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: floatY 4s ease-in-out infinite; }
.hero-visual .chip.red { width: 90px; height: 90px; right: 6%; bottom: 8%; border-color: #fff; background: #b91c1c; color: #fff; }
.hero-visual .chip.green { width: 70px; height: 70px; right: 22%; bottom: 0; border-color: #fff; background: #15803d; color: #fff; animation-delay: .8s; }
.hero-visual .chip.gold { width: 60px; height: 60px; left: 4%; top: 8%; border-color: #fff; background: var(--gold); color: #081216; animation-delay: 1.4s; }
.hero-visual .rings { position: absolute; inset: 0; pointer-events: none; }
.hero-visual .rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(3,225,239,.35); transform: translate(-50%, -50%); }
.hero-visual .rings i:nth-child(1) { width: 380px; height: 380px; } .hero-visual .rings i:nth-child(2) { width: 520px; height: 520px; opacity: .6; } .hero-visual .rings i:nth-child(3) { width: 660px; height: 660px; opacity: .3; }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.partner { padding: 26px 20px; border-radius: 18px; text-align: center; background: var(--panel); border: 1px solid rgba(3,225,239,.5); box-shadow: var(--glow); transition: transform .25s; }
.partner:hover { transform: translateY(-4px); }
.partner .p-name { font-size: 1.6rem; font-weight: 900; letter-spacing: 1px; }
.partner .p-tag { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.partner.exness .p-name { color: var(--gold); text-shadow: var(--glow-gold); }
.partner.stake .p-name { color: #fff; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 2rem; }
.partner.playtime .p-name { color: #fbbf24; }
.partner.mt5 .p-name { color: #fff; } .partner.mt5 .p-name span { color: var(--gold); }

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: way; }
.way { position: relative; padding: 26px 22px 22px; border-radius: 18px; background: var(--panel); border: 1px solid rgba(3,225,239,.5); box-shadow: var(--glow); }
.way::before { counter-increment: way; content: counter(way); position: absolute; top: -16px; left: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--violet-deep), var(--violet-2)); box-shadow: var(--glow); border: 1px solid rgba(255,255,255,.3); }
.way h4 { margin-top: 6px; color: var(--gold); }
.way ul { padding-left: 18px; margin: 8px 0 0; color: #e0f8fb; font-size: .86rem; }
.way ul li b { color: var(--gold); }

.channels { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.channel { padding: 18px 26px; border-radius: 16px; background: #fff; color: #081216; font-weight: 800; font-size: 1.1rem; box-shadow: var(--glow); border: 2px solid rgba(3,225,239,.6); min-width: 170px; text-align: center; }
.channel small { display: block; font-weight: 500; font-size: .72rem; color: #0f3d52; }
.channel.gcash { color: #0057b8; } .channel.maya { background: #0b0b0b; color: #2fd58c; } .channel.palawan { color: #15803d; } .channel.palawan small { color: #b91c1c; } .channel.usdt { background: #26a17b; color: #fff; } .channel.usdt small { color: #d1fae5; } .channel.gcrypto { color: #1e3a8a; }

.bgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.bgs .bgs-card { padding: 34px 24px; border-radius: 22px; text-align: center; background: var(--panel); border: 1px solid rgba(3,225,239,.6); box-shadow: var(--glow); }
.bgs .bgs-card .ic { width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: var(--violet-2); border: 2px solid rgba(3,225,239,.8); box-shadow: var(--glow-strong); }
.bgs .bgs-card h3 { color: var(--gold); font-size: 1.5rem; letter-spacing: 1px; text-shadow: var(--glow-gold); }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 34px; }
.trust-strip div { display: flex; align-items: center; gap: 12px; }
.trust-strip div i { font-size: 1.6rem; color: var(--violet-2); }
.trust-strip b { display: block; letter-spacing: 1px; } .trust-strip small { color: var(--violet-2); font-size: .7rem; letter-spacing: 1px; }
.thank { text-align: center; font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 900; letter-spacing: 3px; margin-bottom: 34px; background: linear-gradient(180deg, #d9fcff, #7cf9f7 60%, #0089a0); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(124,249,247,.5)); }

.site-footer { padding: 40px 6% 26px; border-top: 1px solid rgba(3,225,239,.3); background: rgba(3,10,14,.7); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.site-footer h5 { color: var(--gold); letter-spacing: 1px; margin-bottom: 10px; }
.site-footer a { display: block; color: var(--muted); padding: 3px 0; font-size: .88rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .copy { text-align: center; color: var(--muted); font-size: .78rem; border-top: 1px solid rgba(3,225,239,.2); padding-top: 18px; }

.trade-table td.P { color: var(--violet-2); font-weight: 800; } .trade-table td.B { color: var(--danger); font-weight: 800; }
.risk { display: inline-block; padding: 4px 14px; border-radius: 8px; font-weight: 800; letter-spacing: 1px; font-size: .8rem; }
.risk.low { background: #16a34a; color: #fff; box-shadow: 0 0 12px rgba(22,163,74,.7); }
.risk.moderate { background: var(--gold); color: #081216; box-shadow: var(--glow-gold); }
.risk.high { background: #dc2626; color: #fff; box-shadow: 0 0 12px rgba(220,38,38,.7); }
.earn-box { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(3,225,239,.6); background: rgba(12,42,58,.7); box-shadow: var(--glow); margin-bottom: 16px; }
.earn-box .eb-head { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.05rem; }
.earn-box .eb-head .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(3,225,239,.8); color: #fff; font-size: 1.2rem; box-shadow: var(--glow); }
.earn-box .eb-head .pct { margin-left: auto; color: var(--gold); font-size: 1.3rem; font-weight: 800; }
.earn-box .eb-body { margin-top: 10px; font-size: .92rem; }
.earn-box .eb-body .big { font-size: 1.5rem; font-weight: 800; color: var(--gold); text-shadow: var(--glow-gold); }
.earn-box .eb-body ul { list-style: none; padding: 0; margin: 8px 0 0; }
.earn-box .eb-body li { padding: 4px 0; } .earn-box .eb-body li b { color: var(--gold); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .hero-visual { min-height: 320px; }
  .hero-visual .rings { display: none; }
  .site-nav .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 14px 6% 20px; background: rgba(3,10,14,.96); border-bottom: 1px solid rgba(3,225,239,.4); gap: 12px; }
  .site-nav.open .links { display: flex; }
  .site-nav .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .section { padding: 50px 5%; }
}

/* Utility: two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .split, .split-3 { grid-template-columns: 1fr; } }

/* Loading spinner */
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(3,225,239,.3); border-top-color: var(--violet-2); animation: spin .8s linear infinite; display: inline-block; }

/* Pagination (Laravel) */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; flex-wrap: wrap; }
.pagination li a, .pagination li span { display: inline-block; padding: 6px 12px; border-radius: 9px; border: 1px solid rgba(3,225,239,.4); color: var(--muted); font-size: .84rem; }
.pagination li.active span { background: var(--violet-deep); color: #fff; box-shadow: var(--glow); }

/* --- 2026-08-29 fixes: level badge must not overlap the title; 5 packages / 5 ways fit one row on wide screens --- */
.pkg-card .pkg-name { padding-right: 84px; }
.pkg-card .pkg-level { z-index: 2; }
@media (min-width: 1400px) { .pkg-grid { grid-template-columns: repeat(5, 1fr); } .ways { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1100px) and (max-width: 1399px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } .ways { grid-template-columns: repeat(3, 1fr); } }

/* renewal page: package cards with subscription state (2026-09-08) */
.pkg-card.locked { opacity: .55; filter: grayscale(.85); }
.pkg-card.locked:hover { transform: none; box-shadow: var(--glow); }
.pkg-card.locked .pkg-lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(3,10,14,.45); z-index: 2; text-align: center; padding: 20px; }
.pkg-card.locked .pkg-lock i { font-size: 2.4rem; color: #fff; filter: drop-shadow(0 0 10px rgba(3,225,239,.8)); margin-bottom: 8px; }
.pkg-card.expired { border-color: rgba(239,68,68,.75); box-shadow: 0 0 22px rgba(239,68,68,.35); }
.pkg-card.expired .pkg-level { background: #ef4444; color: #fff; border-color: #ef4444; }
.pkg-card.grace { border-color: rgba(245,158,11,.8); }
.pkg-card .timer { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 1.35rem; font-weight: 800; color: var(--gold); letter-spacing: 1px; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid rgba(124,249,247,.4); background: rgba(124,249,247,.06); }
.pkg-card.expired .timer { color: #f87171; border-color: rgba(239,68,68,.5); background: rgba(239,68,68,.08); }
.pkg-card .timer small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.pkg-card .renew-form input[disabled] { opacity: .5; cursor: not-allowed; }

/* package robot mascots (client 2026-10-03) */
.pkg-card .pkg-robot { display: block; width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 26px; object-fit: cover; box-shadow: 0 0 22px rgba(3,225,239,.45); }
.pkg-robot-sm { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; box-shadow: 0 0 12px rgba(3,225,239,.45); flex: 0 0 auto; }
/* advanced rank */
.rank-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-weight: 800; letter-spacing: .5px; font-size: .8rem; border: 1px solid rgba(124,249,247,.7); color: var(--gold); background: rgba(124,249,247,.08); }
.rank-badge.none { border-color: rgba(3,225,239,.5); color: var(--muted); background: transparent; }
.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rank-card { padding: 18px; border-radius: 18px; border: 1px solid rgba(3,225,239,.45); background: linear-gradient(160deg, rgba(15,52,75,.45), rgba(3,10,14,.8)); }
.rank-card.done { border-color: var(--gold); box-shadow: var(--glow-gold); }
.rank-card h4 { margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rank-card .rq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rank-card .rq .leg { font-size: .78rem; color: var(--muted); }

/* NP PNG logo (white background baked in) — show as a rounded white card */
img[src*="np_assets/logo.png"] { border-radius: 16px; background: #000; }
.auth-logo img { height: 150px; }
.sidebar-brand img { height: 96px; }

/* ---------------- Crypto Plan (poster colours) ---------------- */
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.vp-pkg { border-radius: 18px; padding: 18px 16px 14px; text-align: center; color: #fff; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.vp-pkg .amt { font-size: 2.1rem; font-weight: 900; line-height: 1; }
.vp-pkg .cur { font-weight: 800; letter-spacing: 2px; font-size: .85rem; opacity: .9; }
.vp-pkg ul { list-style: none; margin: 12px 0; padding: 10px 12px; text-align: left; font-size: .8rem; background: rgba(255,255,255,.92); color: #1f2937; border-radius: 12px; }
.vp-pkg ul li { padding: 2px 0; } .vp-pkg ul li i { color: #16a34a; margin-right: 6px; }
.vp-pkg .nm { font-weight: 800; font-size: .85rem; opacity: .95; }
.vp-green { background: linear-gradient(160deg, #22c55e, #15803d); }
.vp-blue { background: linear-gradient(160deg, #3b82f6, #1d4ed8); }
.vp-orange { background: linear-gradient(160deg, #fb923c, #c2410c); }
.vp-purple { background: linear-gradient(160deg, #03e1ef, #0c5a74); }
.vp-pink { background: linear-gradient(160deg, #f472b6, #be185d); }
.vp-gold { background: linear-gradient(160deg, #facc15, #a16207); }
.vp-teal { background: linear-gradient(160deg, #2dd4bf, #0f766e); }
.vp-bar { height: 12px; border-radius: 20px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(3,225,239,.35); }
.vp-bar > div { height: 100%; background: linear-gradient(90deg, #22c55e, var(--gold)); }
.vp-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vp-levels div { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .85rem; display: flex; justify-content: space-between; color: #fff; }
.vp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.vp-sim { padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(124,249,247,.7); background: rgba(124,249,247,.08); color: var(--gold); font-size: .82rem; }
.vp-ticker { font-variant-numeric: tabular-nums; }

/* ---------------- Crypto market widgets (member / broker area) ---------------- */
.cw-ic{width:34px;height:34px;flex:none;display:inline-block}.cw-ic svg{width:100%;height:100%;display:block}
.cw-ic.xs{width:16px;height:16px;vertical-align:-3px;margin-right:4px}
.cw-ch{font-size:.78rem;font-weight:700}.cw-ch.up{color:#22c55e}.cw-ch.dn{color:#f43f5e}
.cw-fab{position:fixed;right:22px;bottom:22px;z-index:90;display:inline-flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;border-radius:40px;border:1px solid rgba(3,225,239,.7);background:linear-gradient(135deg,#0c2a3a,#081216);color:#fff;font:inherit;font-weight:700;font-size:.9rem;cursor:pointer;box-shadow:var(--glow)}
.cw-fab:hover{box-shadow:var(--glow-strong);transform:translateY(-1px)}
.cw-fab-ic{width:30px;height:30px;display:inline-block}.cw-fab-ic svg{width:100%;height:100%}
.cw-open{padding:3px 10px;border-radius:20px;background:#22c55e;color:#052e22;font-size:.72rem;font-weight:800}
.cw-back{position:fixed;inset:0;z-index:94;background:rgba(0,0,0,.45);display:none}.cw-back.open{display:block}
.cw-panel{position:fixed;top:0;right:-340px;width:320px;max-width:92vw;height:100vh;z-index:95;background:#06151c;border-left:1px solid rgba(3,225,239,.6);box-shadow:-10px 0 40px rgba(0,0,0,.6);display:flex;flex-direction:column;transition:right .25s}
.cw-panel.open{right:0}
.cw-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid rgba(3,225,239,.3);font-weight:800;font-size:1rem}
.cw-head > span:first-child{flex:1}.cw-head i{color:var(--violet-2);margin-right:6px}
.cw-live{padding:2px 8px;border-radius:20px;background:#22c55e;color:#052e22;font-size:.68rem;font-weight:800;animation:cwPulse 1.6s infinite}
@keyframes cwPulse{50%{opacity:.55}}
.cw-close{background:none;border:0;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer}
.cw-list{overflow:auto;flex:1;padding:6px 10px}
.cw-row{padding:10px 8px 6px;border-bottom:1px solid rgba(3,225,239,.18)}
.cw-row-top{display:flex;align-items:center;gap:10px}
.cw-meta{flex:1;line-height:1.3}.cw-meta b{display:block;font-size:.92rem}.cw-meta small{color:var(--muted);font-size:.74rem}
.cw-right{text-align:right;line-height:1.3}.cw-right b{display:block;font-size:.95rem}
.cw-row canvas{width:100%;height:40px;display:block;margin-top:4px}
.cw-foot{padding:10px 16px;font-size:.7rem;color:var(--muted);border-top:1px solid rgba(3,225,239,.3)}
.cw-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.cw-tile{padding:12px;border-radius:14px;border:1px solid rgba(3,225,239,.35);background:rgba(3,10,14,.5)}
.cw-tile-top{display:flex;align-items:center;gap:8px;margin-bottom:6px}.cw-tile-top .cw-ic{width:28px;height:28px}
.cw-tile-top b{display:block;font-size:.85rem}.cw-tile-top small{color:var(--muted);font-size:.7rem}
.cw-tile-price{font-weight:800;font-size:1.15rem;color:var(--gold)}
.cw-tile canvas{width:100%;height:44px;display:block;margin-top:6px}
.cw-tape{overflow:hidden;white-space:nowrap;margin:-10px -24px 16px;padding:7px 0;background:rgba(3,10,14,.55);border-bottom:1px solid rgba(3,225,239,.3);font-size:.78rem}
.cw-tape-track{display:inline-flex;gap:30px;padding-left:20px;animation:cwScroll 70s linear infinite}
.cw-tape:hover .cw-tape-track{animation-play-state:paused}
.cw-tape-item{display:inline-flex;align-items:center;gap:4px}
@keyframes cwScroll{to{transform:translateX(-50%)}}
.cw-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.cw-chip{display:inline-flex;align-items:center;gap:3px;padding:3px 9px;border-radius:30px;font-size:.72rem;border:1px solid rgba(3,225,239,.4);background:rgba(0,184,212,.1);color:var(--muted)}
.cw-chip b{color:#fff;font-weight:600}
.topbar .wallet-pill .cw-ic{width:16px;height:16px}
@media(max-width:760px){.cw-fab span:nth-child(2){display:none}.cw-tape{margin:-10px -16px 14px}}

/* ---------------- 3D tilt + popular badge ---------------- */
.tilt{transition:transform .18s ease, box-shadow .25s;transform-style:preserve-3d;will-change:transform}
.tilt::before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.16),transparent 55%)}
.tilt:hover::before{opacity:1}
.vp-pkg.tilt,.pkg-card.tilt{position:relative}
.pop-badge{position:absolute;top:12px;right:-34px;transform:rotate(38deg);padding:5px 44px;font-size:.66rem;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#081216;background:linear-gradient(90deg,#00a9c0,var(--gold),#9ff8ff);box-shadow:0 0 14px rgba(124,249,247,.8);animation:popGlow 1.8s ease-in-out infinite;z-index:3}
@keyframes popGlow{50%{box-shadow:0 0 26px rgba(124,249,247,1)}}
.pkg-card.popular,.vp-pkg.popular{border-color:rgba(124,249,247,.85);box-shadow:var(--glow-gold)}

/* ---------------- theme toggle + avatar ---------------- */
.theme-toggle{width:38px;height:38px;border-radius:50%;border:1px solid rgba(3,225,239,.55);background:rgba(0,184,212,.15);color:var(--gold);cursor:pointer;font-size:1rem;display:grid;place-items:center;transition:.2s}
.theme-toggle:hover{box-shadow:var(--glow);transform:rotate(20deg)}
.avatar img,.side-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar{overflow:hidden}
.side-avatar{width:64px;height:64px;border-radius:50%;margin:0 auto 8px;display:grid;place-items:center;font-weight:800;font-size:1.4rem;background:linear-gradient(135deg,var(--violet-deep),var(--violet-2));box-shadow:var(--glow);overflow:hidden}
.avatar-big{width:120px;height:120px;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;font-weight:800;font-size:2.4rem;background:linear-gradient(135deg,var(--violet-deep),var(--violet-2));box-shadow:var(--glow);overflow:hidden}
.avatar-big img{width:100%;height:100%;object-fit:cover}

/* ---------------- light theme ---------------- */
[data-theme=light]{--bg-0:#f2fbfc;--bg-1:#e6f8fa;--bg-2:#cdeff2;--panel:rgba(255,255,255,.86);--panel-solid:#ffffff;--text:#0a1f2c;--muted:#2f5f6e;--gold:#b07a00;--gold-2:#8a5f00;--success:#059669;--info:#0284c7;--glow:0 4px 18px rgba(0,150,180,.14);--glow-strong:0 6px 26px rgba(0,150,180,.24);--glow-gold:0 4px 18px rgba(0,137,160,.22)}
[data-theme=light] .sidebar,[data-theme=light] .topbar,[data-theme=light] .footer{background:rgba(255,255,255,.88)!important;color:var(--text)}
[data-theme=light] .sidebar-brand img{box-shadow:0 2px 12px rgba(0,0,0,.12)}
[data-theme=light] .nav a{color:var(--text)}
[data-theme=light] .nav a:hover,[data-theme=light] .nav a.active{background:rgba(0,150,180,.12);color:#0f344b}
[data-theme=light] .nav-section{color:var(--muted)}
[data-theme=light] .topbar .burger,[data-theme=light] .cw-close{color:var(--text)}
[data-theme=light] input,[data-theme=light] select,[data-theme=light] textarea,[data-theme=light] .form-control{background:#fff!important;color:var(--text)!important;border-color:rgba(0,150,180,.35)!important}
[data-theme=light] select option{background:#fff;color:var(--text)}
[data-theme=light] .neon-card,[data-theme=light] .bento-tile,[data-theme=light] .earn-box,[data-theme=light] .leg-box .leg,[data-theme=light] .cw-tile,[data-theme=light] .cred-box,[data-theme=light] .modal,[data-theme=light] .dd-menu,[data-theme=light] .pkg-card,[data-theme=light] .sidebar-user,[data-theme=light] .auth-card{background:var(--panel)!important;color:var(--text)}
[data-theme=light] .mesh-1,[data-theme=light] .mesh-2,[data-theme=light] .mesh-3,[data-theme=light] .mesh-4{background:var(--panel)!important}
[data-theme=light] .cw-panel{background:#fff;color:var(--text)}
[data-theme=light] .cw-fab{background:#fff;color:var(--text)}
[data-theme=light] .cw-tape,[data-theme=light] .cw-chip{background:rgba(255,255,255,.7);color:var(--text)}
[data-theme=light] .cw-chip b{color:var(--text)}
[data-theme=light] .table thead th{background:rgba(0,150,180,.08)}
[data-theme=light] .table td,[data-theme=light] .table th{border-color:rgba(0,150,180,.15)}
[data-theme=light] .table tbody tr:hover{background:rgba(0,150,180,.05)}
[data-theme=light] .note{background:rgba(0,150,180,.07)}
[data-theme=light] .vp-sim{background:rgba(0,137,160,.08)}
[data-theme=light] .vp-pkg ul{background:#fff}
[data-theme=light] .btn-outline{color:#0f344b;border-color:#0096b4}
[data-theme=light] .btn-outline:hover{background:rgba(0,150,180,.1);color:#0f344b}
[data-theme=light] .st-value{text-shadow:none}
[data-theme=light] .wallet-pill{background:rgba(0,150,180,.08)!important}
[data-theme=light] .kv div{border-color:rgba(0,150,180,.15)}
[data-theme=light] .status-pill,[data-theme=light] .badge{backdrop-filter:none}
[data-theme=light] #particles-js{opacity:.35}
/* QA fixes 2026-10-19 */
.pkg-card .pop-badge{right:auto;left:-34px;transform:rotate(-38deg)}
@media(max-width:640px){.cw-tape{margin-left:-14px;margin-right:-14px}}
.table.compact td,.table.compact th{padding:8px 10px;font-size:.82rem}
.auth-shell{flex-direction:column;gap:14px}
.auth-home{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border-radius:30px;border:1px solid rgba(3,225,239,.5);background:rgba(12,42,58,.6);color:#fff;font-size:.85rem;font-weight:600;position:relative;z-index:2}
.auth-home:hover{color:var(--gold);box-shadow:var(--glow)}
/* QA 2026-10-19 (2): grid children must not expand past their column; tables scroll inside their card */
.grid-2>*,.grid-3>*,.split>*,.split-3>*,.bento>*,.vp-tiles>*,.cw-tiles>*{min-width:0}
.table-wrap{min-width:0;max-width:100%}
.ref-box input{min-width:0}
@media(max-width:640px){.topbar form input{width:110px!important}.topbar>.badge{display:none}}
@media(max-width:760px){.cw-fab{right:12px;bottom:12px;padding:8px}.cw-fab-ic{width:26px;height:26px}.cw-open{padding:2px 7px;font-size:.62rem}}
.plan-rules{list-style:none;padding:0;margin:0}
.plan-rules li{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid rgba(3,225,239,.15);line-height:1.6}
.plan-rules li:last-child{border-bottom:0}
.plan-rules li i{color:var(--gold);margin-top:5px;flex:none}
/* Compact scale for typical laptop screens (<=1440px, incl. Windows 125% scaling) */
@media (max-width:1440px){
  body{font-size:14px}
  :root{--sidebar-w:240px;--topbar-h:62px}
  .content{padding:20px 20px 36px}
  .page-title h1{font-size:1.4rem}
  .stat-tile .st-value{font-size:1.45rem}
  .sidebar-brand img{height:72px}
  .side-avatar{width:54px;height:54px;font-size:1.2rem}
  .nav li a{padding:8px 12px}
  .auth-logo img{height:120px}
  .hero h1{font-size:clamp(2.2rem,5vw,3.8rem)}
}

/* NP: binary position picker on register */
.pos-pick { display: flex; gap: 10px; }
.pos-opt { flex: 1; cursor: pointer; }
.pos-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pos-opt span { display: block; text-align: center; padding: 11px; border-radius: 12px; border: 1px solid rgba(3,225,239,.45); font-weight: 700; transition: .2s; }
.pos-opt input:checked + span { background: linear-gradient(135deg,#03e1ef,#7cf9f7); color: #fff; border-color: transparent; box-shadow: 0 0 16px rgba(3,225,239,.55); }

/* NP: binary tree */
.bt-wrap { overflow-x: auto; padding: 6px 0 4px; }
.bt-node { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; }
.bt-kids { display: flex; width: 100%; gap: 6px; margin-top: 14px; position: relative; }
.bt-kids::before { content: ""; position: absolute; top: -8px; left: 25%; right: 25%; border-top: 1px solid rgba(3,225,239,.5); }
.bt-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; min-width: 92px; max-width: 150px; border-radius: 12px; text-align: center; font-size: .78rem; border: 1px solid rgba(3,225,239,.4); background: rgba(3,225,239,.08); color: inherit; text-decoration: none; }
.bt-card i { font-size: 1.1rem; }
.bt-card.on { border-color: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,.35); }
.bt-card.on i { color: #22c55e; }
.bt-card.off i { color: #f43f5e; }
.bt-card.empty { opacity: .45; border-style: dashed; }
.bt-card small { opacity: .75; font-size: .68rem; }
.bt-wrap > .bt-node { min-width: 640px; }


/* Growlink deck look: six income cards, notice, pillars */
.six-inc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.six-card { position: relative; display: flex; gap: 12px; align-items: center; padding: 16px 14px 14px; border-radius: 14px; border: 1px solid rgba(3,225,239,.35); background: linear-gradient(135deg, rgba(12,42,58,.85), rgba(3,10,14,.8)); min-width: 0; }
.six-card .no { position: absolute; top: 0; left: 0; padding: 2px 10px; border-radius: 14px 0 12px 0; background: rgba(3,225,239,.18); font-weight: 800; font-style: italic; font-size: .8rem; }
.six-card i { font-size: 1.8rem; color: #03e1ef; filter: drop-shadow(0 0 8px rgba(3,225,239,.6)); flex: none; width: 40px; text-align: center; }
.six-card b { display: block; text-transform: uppercase; letter-spacing: .04em; }
.six-card span:not(.no) { font-size: .82rem; opacity: .8; }
.six-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.six-caps > div { padding: 14px 16px; border-radius: 14px; background: linear-gradient(90deg, rgba(3,225,239,.18), rgba(3,225,239,.04)); border: 1px solid rgba(3,225,239,.35); font-weight: 700; text-transform: uppercase; font-size: .82rem; }
.six-caps b { display: block; font-size: 1.8rem; color: #03e1ef; }
.notice-7 { display: flex; gap: 18px; align-items: center; justify-content: center; padding: 18px; border-radius: 16px; border: 1px solid rgba(3,225,239,.5); background: radial-gradient(circle at 30% 50%, rgba(3,225,239,.15), transparent 60%), rgba(3,10,14,.8); margin-bottom: 16px; text-align: left; }
.notice-7 > i { font-size: 2.6rem; color: #03e1ef; }
.notice-7 .tag { display: inline-block; padding: 3px 12px; border-radius: 99px; background: #03e1ef; color: #031015; font-weight: 800; font-size: .75rem; text-transform: uppercase; }
.notice-7 b { display: block; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin: 4px 0; }
.notice-7 span:not(.tag) { opacity: .8; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; text-align: center; }
.pillars i { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 50%; border: 1px solid rgba(3,225,239,.6); color: #03e1ef; }
.pillars span { font-size: .72rem; font-weight: 700; text-transform: uppercase; }
@media (max-width: 760px) { .six-inc { grid-template-columns: 1fr; } .pillars { grid-template-columns: repeat(2, 1fr); } .notice-7 b { font-size: 1.15rem; } }

/* ===================== Growlink palette (exact tokens of the Growlink site, assets/growlink.css) ===================== */
:root:not([data-theme=light]) {
  --bg-0: #030a0e; --bg-1: #081216; --bg-2: #0c2a3a;
  --panel: linear-gradient(145deg, #0d3146eb, #061522f2); --panel-solid: #0c2a3a;
  --violet: #0aa7b8; --violet-2: #03e1ef; --violet-deep: #0f344b;
  --gold: #03e1ef; --gold-2: #7cf9f7;
  --text: #f4f8f8; --muted: #9bb0b2;
  --success: #38d996; --warn: #ffd166; --danger: #ff6b78; --info: #03e1ef;
  --glow: 0 10px 24px #03e1ef33; --glow-strong: 0 0 0 1px #03e1ef33, 0 18px 40px #0000004d; --glow-gold: 0 10px 24px #03e1ef33;
}
:root:not([data-theme=light]) body { color: #f4f8f8; background: radial-gradient(circle at 85% 10%, #03e1ef14, transparent 35%), linear-gradient(180deg, #081216, #030a0e) fixed; }
:root:not([data-theme=light]) a { color: #03e1ef; }
:root:not([data-theme=light]) a:hover { color: #7cf9f7; }
:root:not([data-theme=light]) .sidebar { background: #06151c; border-right: 1px solid #03e1ef38; }
:root:not([data-theme=light]) .sidebar-user { background: #040f14; border-color: #165063; }
:root:not([data-theme=light]) .nav a { color: #cfe3e4; }
:root:not([data-theme=light]) .nav a i { color: #7cf9f7; }
:root:not([data-theme=light]) .nav a.active, :root:not([data-theme=light]) .nav li.active > a { background: linear-gradient(90deg, #03e1ef1f, transparent); color: #03e1ef; }
:root:not([data-theme=light]) .nav-section { color: #03e1ef; }
:root:not([data-theme=light]) .topbar { background: #030a0ee6; border-bottom: 1px solid #03e1ef38; backdrop-filter: blur(8px); }
:root:not([data-theme=light]) .topbar .wallet-pill { background: #0c2a3a; border-color: #165063; }
:root:not([data-theme=light]) .neon-card, :root:not([data-theme=light]) .bento-tile, :root:not([data-theme=light]) .earn-box, :root:not([data-theme=light]) .six-card, :root:not([data-theme=light]) .auth-card, :root:not([data-theme=light]) .dropdown .dd-menu, :root:not([data-theme=light]) .cw-panel {
  background: linear-gradient(145deg, #0d3146eb, #061522f2); border: 1px solid #03e1ef38; color: #f4f8f8; box-shadow: 0 18px 40px #0000004d; }
:root:not([data-theme=light]) .neon-card:hover, :root:not([data-theme=light]) .bento-tile:hover { border-color: #165063; }
:root:not([data-theme=light]) .neon-card .card-head { border-color: #03e1ef38; }
:root:not([data-theme=light]) .stat-tile.gold { border-color: #03e1ef; box-shadow: 0 0 0 1px #03e1ef33, 0 18px 40px #0000004d; background: radial-gradient(circle at 85% 0%, #03e1ef2e, transparent 45%), linear-gradient(145deg, #0d3146, #061522); }
:root:not([data-theme=light]) .btn-gold, :root:not([data-theme=light]) .btn-neon { background: linear-gradient(135deg, #2ee6f2, #0aa7b8) !important; border-color: #03e1ef !important; color: #04141a !important; box-shadow: 0 10px 24px #03e1ef33; }
:root:not([data-theme=light]) .btn-outline { background: #0c2a3a; border-color: #165063; color: #f4f8f8; }
:root:not([data-theme=light]) .btn-outline:hover { border-color: #03e1ef; color: #03e1ef; }
:root:not([data-theme=light]) input, :root:not([data-theme=light]) select, :root:not([data-theme=light]) textarea { background: #07131a; border-color: #165063; color: #f4f8f8; }
:root:not([data-theme=light]) input:focus, :root:not([data-theme=light]) select:focus, :root:not([data-theme=light]) textarea:focus { border-color: #03e1ef; box-shadow: 0 0 0 3px #03e1ef33; }
:root:not([data-theme=light]) input::placeholder { color: #6f8c8e; }
:root:not([data-theme=light]) .table thead th { color: #03e1ef; background: #08121666; border-bottom-color: #165063; }
:root:not([data-theme=light]) .table tbody td { color: #f4f8f8; border-bottom-color: #ffffff12; }
:root:not([data-theme=light]) .table tbody tr:hover { background: #03e1ef0d; box-shadow: none; }
:root:not([data-theme=light]) .note { background: #03e1ef1a; border-left-color: #03e1ef; color: #bff8f9; }
:root:not([data-theme=light]) .note.green { background: #38d9961f; border-left-color: #38d996; color: #b9f5d8; }
:root:not([data-theme=light]) .note.red { background: #ff6b781f; border-left-color: #ff6b78; color: #ffc2c8; }
:root:not([data-theme=light]) .note.gold { background: #ffd1661a; border-left-color: #ffd166; color: #ffe4a3; }
:root:not([data-theme=light]) .alert-success { background: #38d9961f; border-color: #38d99659; color: #b9f5d8; }
:root:not([data-theme=light]) .alert-danger { background: #ff6b781f; border-color: #ff6b7859; color: #ffc2c8; }
:root:not([data-theme=light]) .alert-info { background: #03e1ef1a; border-color: #03e1ef4d; color: #bff8f9; }
:root:not([data-theme=light]) .vp-sim { background: #03e1ef1a; border-color: #03e1ef66; color: #7cf9f7; }
:root:not([data-theme=light]) .vp-bar, :root:not([data-theme=light]) .progress { background: #ffffff14; }
:root:not([data-theme=light]) .vp-bar > div, :root:not([data-theme=light]) .progress .bar { background: linear-gradient(90deg, #03e1ef, #7cf9f7); }
:root:not([data-theme=light]) .badge-violet, :root:not([data-theme=light]) .badge-gold, :root:not([data-theme=light]) .badge-info { background: #03e1ef1f; color: #03e1ef; border-color: #03e1ef59; }
:root:not([data-theme=light]) .badge-success { background: #38d9961f; color: #38d996; }
:root:not([data-theme=light]) .badge-danger { background: #ff6b781f; color: #ff6b78; }
:root:not([data-theme=light]) .ref-box input { background: #030a0e99; border-color: #03e1ef59; }
:root:not([data-theme=light]) .text-gold, :root:not([data-theme=light]) .neon-text-gold { color: #03e1ef !important; }
:root:not([data-theme=light]) .text-muted, :root:not([data-theme=light]) .page-title .sub, :root:not([data-theme=light]) .st-label, :root:not([data-theme=light]) .form-hint { color: #9bb0b2 !important; }
:root:not([data-theme=light]) .text-success { color: #38d996 !important; }
:root:not([data-theme=light]) .text-danger { color: #ff6b78 !important; }
:root:not([data-theme=light]) .text-warn { color: #ffd166 !important; }
:root:not([data-theme=light]) .page-title h1 span, :root:not([data-theme=light]) .section-title h2 span { color: #03e1ef; -webkit-text-fill-color: #03e1ef; }
:root:not([data-theme=light]) .footer { background: linear-gradient(145deg, #0d3146eb, #061522f2); border-top: 1px solid #03e1ef38; }
:root:not([data-theme=light]) .bt-card { background: #0c2a3a; border-color: #165063; }
:root:not([data-theme=light]) .avatar { background: linear-gradient(135deg, #2ee6f2, #0aa7b8); color: #04141a; }


/* ===================== Growlink look pack: hero stage, reveal, calculator, rank ladder, binary flow, rank pills, support button ===================== */
.hero { position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; z-index: 0; opacity: .55; pointer-events: none; }
.hero-sky .b rect { fill: #061522; stroke: #03e1ef33; stroke-width: 1; }
.hero-sky .b rect.win { fill: #0d3146; stroke: none; transition: fill .6s; }
.hero-sky .b rect.win.on { fill: #7cf9f7; filter: drop-shadow(0 0 3px #03e1ef); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, #030a0ecc); z-index: 1; pointer-events: none; }
.hero-stage { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 520px; text-align: center; }
.stage-glow { position: absolute; top: 10%; left: 50%; width: 420px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #03e1ef40, transparent 60%); filter: blur(20px); animation: stagePulse 4s ease-in-out infinite; }
.stage-logo { position: relative; width: min(340px, 70%); border-radius: 24px; background: #000; box-shadow: 0 0 0 1px #03e1ef55, 0 0 40px #03e1ef66, 0 30px 60px #000c; animation: floatY 5s ease-in-out infinite; }
.stage-disc { position: relative; width: 80%; height: 54px; margin-top: -18px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #0f344b, #061522 70%); border: 1px solid #03e1ef66; box-shadow: 0 0 30px #03e1ef55, inset 0 6px 20px #03e1ef22; }
.stage-disc i { position: absolute; left: 6%; right: 6%; top: 42%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #03e1ef, #7cf9f7, #03e1ef, transparent); box-shadow: 0 0 14px #03e1ef; animation: discSweep 2.6s linear infinite; }
.stage-badges { display: flex; gap: 28px; margin-top: 22px; }
.stage-badges > div { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #f4f8f8; }
.stage-badges span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid #03e1ef; color: #03e1ef; font-size: 1.5rem; background: #061522; box-shadow: 0 0 18px #03e1ef55, inset 0 0 14px #03e1ef22; }
.stage-note { margin-top: 18px; padding: 10px 18px; border-radius: 14px; border: 1px solid #03e1ef88; background: #0a1f2cdd; font-weight: 700; font-style: italic; box-shadow: 0 0 20px #03e1ef33; }
.stage-note i { color: #03e1ef; margin-right: 6px; }
@keyframes stagePulse { 0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.12); } }
@keyframes discSweep { 0% { opacity: .3; transform: scaleX(.3); } 50% { opacity: 1; transform: scaleX(1); } 100% { opacity: .3; transform: scaleX(.3); } }
@media (max-width: 1024px) { .hero-stage { min-height: 380px; } .stage-badges { gap: 16px; } .stage-badges span { width: 52px; height: 52px; font-size: 1.2rem; } }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.calc-amt { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.calc-amt b { font-size: 2.4rem; color: #03e1ef; }
.calc input[type=range] { --p: 0%; width: 100%; height: 10px; margin: 8px 0 14px; border-radius: 10px; appearance: none; background: linear-gradient(90deg, #03e1ef var(--p), #0f344b var(--p)); border: 1px solid #165063; }
.calc input[type=range]::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid #03e1ef; box-shadow: 0 0 14px #03e1ef; cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #03e1ef; cursor: pointer; }
.calc-row { display: flex; align-items: center; gap: 10px; } .calc-row input { max-width: 160px; }
.calc-tier { margin-top: 10px; font-size: .9rem; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-out > div { padding: 14px; border-radius: 14px; border: 1px solid #03e1ef38; background: #061522aa; }
.calc-out span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #9bb0b2; }
.calc-out b { font-size: 1.05rem; } .calc-out em { font-style: normal; font-size: 1.45rem; color: #03e1ef; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } }

.ladder { display: flex; align-items: flex-end; gap: 6px; padding: 24px 0 0; overflow-x: auto; }
.rung { position: relative; flex: 1 1 0; min-width: 86px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding-bottom: calc(var(--h) + 8px); }
.rung .bar { position: absolute; left: 3px; right: 3px; bottom: 0; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #0f344b, #061522); border: 1px solid #03e1ef33; z-index: 0; }
.rung > *:not(.bar) { position: relative; z-index: 1; }
.rung b { font-size: .8rem; margin-top: 6px; }
.rung .pay { font-size: .78rem; color: #03e1ef; font-weight: 800; } .rung .pay small { color: #9bb0b2; font-weight: 400; }
.rung .req { font-size: .62rem; color: #9bb0b2; line-height: 1.25; margin: 2px 4px 0; }
.rung .tag { margin-top: 4px; padding: 2px 8px; border-radius: 10px; font-size: .62rem; font-weight: 700; background: #38d9961f; color: #38d996; border: 1px solid #38d99659; }
.rung .tag.next { background: #03e1ef1f; color: #03e1ef; border-color: #03e1ef66; }
.medal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; color: #fff; border: 2px solid #ffffff44; box-shadow: 0 6px 14px #0008; }
.medal.bronze { background: linear-gradient(135deg, #c07a2e, #7a4a14); } .medal.silver { background: linear-gradient(135deg, #cfd8dc, #78909c); color: #1e293b; }
.medal.gold { background: linear-gradient(135deg, #ffd166, #c98a00); color: #3b2a00; } .medal.blue { background: linear-gradient(135deg, #38bdf8, #1d4ed8); }
.medal.purple { background: linear-gradient(135deg, #c084fc, #6d28d9); } .medal.crown { background: linear-gradient(135deg, #ffe08a, #f59e0b); color: #3b2a00; width: 54px; height: 54px; }
.rung.done .bar { background: linear-gradient(180deg, #03e1ef66, #0f344b); border-color: #03e1ef; box-shadow: 0 0 18px #03e1ef44; }
.rung.done .medal { box-shadow: 0 0 0 3px #03e1ef, 0 0 20px #03e1ef88; }
.rung.current::before { content: "YOU"; position: absolute; top: 0; padding: 2px 10px; border-radius: 10px; background: #03e1ef; color: #04141a; font-size: .62rem; font-weight: 900; letter-spacing: .1em; z-index: 2; animation: stagePulse2 1.6s ease-in-out infinite; }
.rung.next .medal { animation: stagePulse2 1.6s ease-in-out infinite; }
.rung:not(.done):not(.next) .medal { filter: saturate(.55) brightness(.8); }
@keyframes stagePulse2 { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.bt-wrap.live .bt-kids::before { background: linear-gradient(90deg, #03e1ef00, #03e1ef, #7cf9f7, #03e1ef, #03e1ef00) 0 0 / 200% 100%; border: 0; height: 2px; animation: btFlow 2.4s linear infinite; box-shadow: 0 0 8px #03e1ef88; }
.bt-wrap.live .bt-node::before { content: ""; width: 2px; height: 14px; background: linear-gradient(180deg, #03e1ef, #03e1ef00); margin-bottom: -14px; }
.bt-wrap.live > .bt-node::before { display: none; }
.bt-card.new { animation: btPulse 1.8s ease-in-out infinite; border-color: #7cf9f7; }
.bt-card.new::after { content: "NEW"; position: absolute; top: -8px; right: -6px; padding: 1px 7px; border-radius: 8px; background: #03e1ef; color: #04141a; font-size: .58rem; font-weight: 900; }
.bt-card { position: relative; }
@keyframes btFlow { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes btPulse { 0%, 100% { box-shadow: 0 0 0 0 #03e1ef66; } 50% { box-shadow: 0 0 0 10px #03e1ef00; } }

.rank-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 20px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: #fff; border: 1px solid #ffffff33; }
.rank-pill.none { background: #0c2a3a; color: #9bb0b2; border-color: #165063; }
.rank-pill.bronze { background: linear-gradient(135deg, #c07a2e, #7a4a14); } .rank-pill.silver { background: linear-gradient(135deg, #cfd8dc, #78909c); color: #1e293b; }
.rank-pill.gold { background: linear-gradient(135deg, #ffd166, #c98a00); color: #3b2a00; } .rank-pill.blue { background: linear-gradient(135deg, #38bdf8, #1d4ed8); } .rank-pill.purple { background: linear-gradient(135deg, #c084fc, #6d28d9); }
.rank-dot { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 6px; border-radius: 50%; color: #fff; font-size: .95rem; box-shadow: 0 0 12px #03e1ef66; }
.rank-dot.bronze { background: linear-gradient(135deg, #c07a2e, #7a4a14); } .rank-dot.silver { background: linear-gradient(135deg, #cfd8dc, #78909c); color: #1e293b; }
.rank-dot.gold { background: linear-gradient(135deg, #ffd166, #c98a00); color: #3b2a00; } .rank-dot.blue { background: linear-gradient(135deg, #38bdf8, #1d4ed8); } .rank-dot.purple { background: linear-gradient(135deg, #c084fc, #6d28d9); }

.support-fab { position: fixed; right: 22px; bottom: 84px; z-index: 91; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.support-fab .sf-main { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 40px; border: 1px solid #03e1ef; background: linear-gradient(135deg, #2ee6f2, #0aa7b8); color: #04141a; font-weight: 800; font-family: inherit; cursor: pointer; box-shadow: 0 10px 24px #03e1ef44; }
.support-fab .sf-menu { display: none; flex-direction: column; gap: 6px; }
.support-fab.open .sf-menu { display: flex; }
.support-fab .sf-menu a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 30px; color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 8px 20px #0008; }
.support-fab .sf-menu a.wa { background: #25d366; } .support-fab .sf-menu a.tg { background: #229ed9; }
@media (max-width: 640px) { .support-fab { bottom: 78px; right: 14px; } .support-fab .sf-main span { display: none; } .support-fab .sf-main { padding: 12px 14px; } }

@media (max-width: 760px) { .rung { min-width: 78px; } .rung .req { display: none; } }


/* ===================== admin feature pack ===================== */
.switch { position: relative; display: inline-block; width: 42px; height: 22px; vertical-align: middle; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch > span { position: absolute; inset: 0; border-radius: 22px; background: #2a3b42; border: 1px solid #165063; transition: .2s; }
.switch > span::before { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #9bb0b2; transition: .2s; }
.switch input:checked + span { background: #03e1ef33; border-color: #03e1ef; }
.switch input:checked + span::before { transform: translateX(20px); background: #03e1ef; box-shadow: 0 0 8px #03e1ef; }
.ctl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ctl { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 12px; border: 1px solid #03e1ef38; background: #061522aa; font-weight: 700; font-size: .8rem; cursor: pointer; }
@media (max-width: 640px) { .ctl-grid { grid-template-columns: repeat(2, 1fr); } }
.nav-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: #ff6b78; color: #fff; font-size: .62rem; font-weight: 900; font-style: normal; }
.bell-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #165063; background: #0c2a3a; color: #f4f8f8; cursor: pointer; font-size: 1rem; }
.bell-btn:hover { border-color: #03e1ef; color: #03e1ef; }
.bell-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #ff6b78; color: #fff; font-size: .62rem; display: grid; place-items: center; box-shadow: 0 0 0 2px #030a0e; animation: stagePulse2 1.8s ease-in-out infinite; }
.bell-menu { min-width: 270px; }
.bell-menu .bell-head { padding: 10px 14px 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #9bb0b2; }
.bell-menu a { display: flex !important; align-items: center; gap: 10px; }
.bell-menu a b { margin-left: auto; min-width: 22px; text-align: center; padding: 1px 6px; border-radius: 10px; background: #0f344b; color: #9bb0b2; font-size: .72rem; }
.bell-menu a b.on { background: #ff6b78; color: #fff; }
.bell-menu .bell-all { justify-content: center; border-top: 1px solid #03e1ef38; color: #03e1ef !important; font-weight: 700; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #ffffff10; }
.feed li.unseen { background: #03e1ef0d; }
.feed .ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #165063; color: #03e1ef; background: #061522; }
.feed li > div { flex: 1; min-width: 0; }
.ann-wrap { margin-bottom: 14px; display: grid; gap: 8px; }
.ann-banner { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 40px 12px 14px; border-radius: 14px; border: 1px solid #03e1ef66; background: #03e1ef14; color: #f4f8f8; text-align: left; }
.ann-banner > i { margin-top: 3px; color: #03e1ef; }
.ann-banner span { opacity: .9; }
.ann-banner.tone-success { border-color: #38d99666; background: #38d99614; } .ann-banner.tone-success > i { color: #38d996; }
.ann-banner.tone-warning { border-color: #ffd16666; background: #ffd16614; } .ann-banner.tone-warning > i { color: #ffd166; }
.ann-banner.tone-danger { border-color: #ff6b7866; background: #ff6b7814; } .ann-banner.tone-danger > i { color: #ff6b78; }
.ann-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: #9bb0b2; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.ann-pop { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; background: #000a; }
.ann-pop[hidden] { display: none; }
.ann-pop-card { position: relative; width: min(460px, 100%); padding: 28px 24px 22px; border-radius: 18px; text-align: center; background: linear-gradient(145deg, #0d3146f5, #061522f8); border: 1px solid #03e1ef; box-shadow: 0 0 40px #03e1ef44, 0 30px 60px #000c; color: #f4f8f8; }
.ann-pop-card .ann-ic { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; border: 2px solid #03e1ef; color: #03e1ef; font-size: 1.5rem; }
.ann-pop-card.tone-warning, .ann-pop-card.tone-warning .ann-ic { border-color: #ffd166; color: #ffd166; }
.ann-pop-card.tone-danger, .ann-pop-card.tone-danger .ann-ic { border-color: #ff6b78; color: #ff6b78; }
.ann-pop-card.tone-success, .ann-pop-card.tone-success .ann-ic { border-color: #38d996; color: #38d996; }
.ann-pop-card h3 { margin: 0 0 8px; color: #f4f8f8; } .ann-pop-card p { color: #cfe3e4; margin: 0 0 16px; }
.auth-tag { text-align: center; margin: -6px 0 14px; color: #03e1ef; font-weight: 700; letter-spacing: .08em; font-size: .85rem; }
.brand-row { display: flex; gap: 16px; align-items: center; }
.brand-prev { width: 96px; height: 96px; object-fit: contain; border-radius: 14px; background: #000; border: 1px solid #165063; flex: none; }
.brand-prev.small { width: 48px; height: 48px; }

/* member notification bell */
.bell-menu a.unseen { background: #03e1ef14; }
.bell-menu .bell-txt { display: flex; flex-direction: column; min-width: 0; }
.bell-menu .bell-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; }
.bell-menu .bell-txt small { color: #9bb0b2; font-size: .68rem; }
.bell-menu a i { color: #03e1ef; width: 18px; text-align: center; }


/* ===================== Typography: option B (Space Grotesk headings + numbers, Nunito Sans text) ===================== */
/* 4. rendering polish */
html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; }
p, .note, .form-hint, .small { line-height: 1.6; }
.table { font-size: .9rem; }
.table thead th, .st-label, .tile .l, .kicker, .nav-section, .six-caps > div, .calc-out span, .bell-head, .stage-badges > div { letter-spacing: .1em; }
input, select, textarea, button, .btn { font-family: inherit; }
/* headings */
h1, h2, h3, h4, h5, h6, .page-title h1, .section-title h2, .hero h1, .card-head h3, .neon-card .card-head h3,
.hero .kicker, .section-title .kicker, .site-nav .links a, .btn, .badge, .status-pill, .tabs a, .nav li a, .nav-section,
.six-card b, .rung b, .medal + b, .auth-card h1, .stage-badges > div, .stage-note, .notice-7 b, .ann-pop-card h3, .bt-card b, .rank-pill, .sidebar-user .uid {
  font-family: var(--font-head);
}
h1, h2, h3, .page-title h1, .section-title h2, .hero h1, .auth-card h1 { letter-spacing: -.02em; }
.hero h1 { letter-spacing: -.03em; line-height: 1; }
/* 2. numbers: Space Grotesk with aligned (tabular) digits */
.st-value, .num, td.num, .table .num, .vp-pkg .amt, .calc-amt b, .calc-out em, .rung .pay, .six-caps b, .bell-count, .nav-count,
.wallet-pill b, .vp-ticker, .ref-box input, .bt-card small, .eb-body b, .count-up, [data-count-to], .cw-tile-price, .cw-row b, .leg .lv, .mono, .badge-count {
  font-family: var(--font-head); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "kern" 1;
}
.st-value { letter-spacing: -.01em; }
.mono { letter-spacing: .02em; }

/* six income boxes (dashboard) */
.inc6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1300px) { .inc6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .inc6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.inc6-box { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px 12px; border-radius: 16px; text-decoration: none; color: #f4f8f8; min-width: 0;
  border: 1px solid #03e1ef38; background: linear-gradient(145deg, #0d3146eb, #061522f2); box-shadow: 0 18px 40px #0000004d; transition: transform .2s, border-color .2s, box-shadow .2s; }
.inc6-box:hover { transform: translateY(-3px); border-color: #03e1ef; box-shadow: 0 0 0 1px #03e1ef33, 0 18px 40px #0000004d, 0 0 24px #03e1ef33; color: #f4f8f8; }
.inc6-box .no { position: absolute; top: 0; left: 0; padding: 2px 10px; border-radius: 16px 0 12px 0; background: #03e1ef1f; font: 800 italic .72rem var(--font-head); color: #03e1ef; }
.inc6-box > i { font-size: 1.6rem; color: #03e1ef; filter: drop-shadow(0 0 8px #03e1ef99); margin: 6px 0 4px; }
.inc6-box .lbl { font: 700 .74rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: #9bb0b2; }
.inc6-box .val { font: 700 1.35rem var(--font-head); font-variant-numeric: tabular-nums; } .inc6-box .val small { font-size: .62rem; color: #9bb0b2; font-weight: 500; }
.inc6-box .tdy { font-size: .74rem; color: #9bb0b2; margin-top: 2px; } .inc6-box .tdy b { color: #38d996; } .inc6-box .tdy i { font-size: .62rem; margin-left: 2px; color: #03e1ef; }
.inc-head { display: flex; gap: 16px; align-items: center; }
.inc-head .big-ic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; border: 1px solid #03e1ef; color: #03e1ef; font-size: 1.7rem; background: #061522; box-shadow: 0 0 22px #03e1ef44; }
.inc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.inc-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 30px; border: 1px solid #165063; background: #0c2a3a; color: #cfe3e4; font: 600 .8rem var(--font-head); text-decoration: none; }
.inc-tabs a.on { background: linear-gradient(135deg, #2ee6f2, #0aa7b8); color: #04141a; border-color: #03e1ef; }

/* 2X progress meters (dashboard bottom) */
.cap-meters { display: grid; gap: 16px; }
.cap-meter { padding: 22px 22px 18px; border-radius: 18px; border: 1px solid #03e1ef38; background: linear-gradient(145deg, #0d3146eb, #061522f2); box-shadow: 0 18px 40px #0000004d; }
.cap-meter .cm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cap-meter h3 { margin: 0; font-size: 1.15rem; color: #f4f8f8; }
.cap-meter .cm-sub { margin-top: 2px; font-size: .82rem; color: #9bb0b2; }
.cap-meter .cm-pct { flex: none; padding: 8px 14px; border-radius: 12px; background: #03e1ef1f; border: 1px solid #03e1ef44; color: #03e1ef; font: 700 .95rem var(--font-head); font-variant-numeric: tabular-nums; }
.cap-meter .cm-bar { height: 14px; margin: 18px 0 12px; border-radius: 14px; background: #ffffff12; overflow: hidden; }
.cap-meter .cm-bar > div { height: 100%; min-width: 14px; border-radius: 14px; background: linear-gradient(90deg, #0a6cff, #03e1ef, #7cf9f7); box-shadow: 0 0 14px #03e1ef88; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.cap-meter .cm-foot { display: flex; justify-content: space-between; gap: 12px; }
.cap-meter .cm-foot span { display: block; font-size: .78rem; color: #9bb0b2; }
.cap-meter .cm-foot b { display: block; margin-top: 4px; font: 700 1.05rem var(--font-head); font-variant-numeric: tabular-nums; color: #f4f8f8; }
.cap-meter .cm-foot .r { text-align: right; }
.cap-meter .cm-note { margin-top: 12px; padding: 8px 12px; border-radius: 10px; font-size: .82rem; background: #38d9961a; color: #b9f5d8; }
.cap-meter .cm-note.muted { background: #03e1ef12; color: #bff8f9; }
.cap-meter.done { border-color: #38d99688; } .cap-meter.done .cm-pct { background: #38d9961f; border-color: #38d99666; color: #38d996; }
.cap-meter.done .cm-bar > div { background: linear-gradient(90deg, #16a34a, #38d996); box-shadow: 0 0 14px #38d99688; }

/* audit fixes 2026-10-21 */
.main { min-width: 0; }
.cw-tape { max-width: 100%; overflow: hidden; }
.cw-panel { visibility: hidden; transition: right .25s, visibility 0s linear .25s; }
.cw-panel.open { visibility: visible; transition: right .25s, visibility 0s; }
.ladder + details, details.mt-2 { position: relative; z-index: 2; }

/* referral link locks the binary side */
.pos-locked { cursor: default; }
.pos-locked span { background: linear-gradient(135deg,#2ee6f2,#0aa7b8); color: #04141a; border-color: transparent; box-shadow: 0 0 16px rgba(3,225,239,.45); }

.kyc-switch { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; border: 1px solid #03e1ef38; background: #061522aa; }
a.status-pill { text-decoration: none; }

/* running income card */
.run-card { border-color: #03e1ef66; }
.run-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1300px) { .run-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .run-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.run-item { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 14px; border: 1px solid #165063; background: #061522aa; text-decoration: none; color: #f4f8f8; min-width: 0; }
.run-item i { color: #9bb0b2; font-size: 1.1rem; } .run-item.on i { color: #03e1ef; }
.run-item .lbl { font: 700 .68rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: #9bb0b2; }
.run-item b { font: 700 1.25rem var(--font-head); font-variant-numeric: tabular-nums; } .run-item.on b { color: #03e1ef; }
.run-item small { font-size: .68rem; color: #9bb0b2; }
.run-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, #03e1ef1f, #03e1ef08); border: 1px solid #03e1ef55; }
.run-total span { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; }
.run-total b { font: 700 1.5rem var(--font-head); color: #03e1ef; font-variant-numeric: tabular-nums; } .run-total b small { font-size: .7rem; color: #9bb0b2; }

/* binary tree info button */
.bt-wrapc { position: relative; display: inline-block; }
.bt-info { position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #03e1ef; background: #061522; color: #03e1ef; font-size: .8rem; cursor: pointer; display: grid; place-items: center; z-index: 2; box-shadow: 0 0 8px #03e1ef66; }
.bt-info:hover { background: #03e1ef; color: #04141a; }

.row-changed td { background: #03e1ef0d; }

/* binary tree: compact sizing (fits a phone screen without side-scroll) */
.bt-wrap > .bt-node { min-width: 560px; }
.bt-card { min-width: 84px; max-width: 136px; padding: 6px 4px; font-size: .74rem; }
.bt-card small { font-size: .64rem; }
@media (max-width: 640px) {
  .bt-wrap { padding: 4px 0 2px; }
  .bt-wrap > .bt-node { min-width: 0; }
  .bt-kids { gap: 3px; margin-top: 10px; }
  .bt-kids::before { top: -6px; }
  .bt-wrap.live .bt-node::before { height: 10px; margin-bottom: -10px; }
  .bt-wrapc { display: block; width: 100%; max-width: 170px; margin: 0 auto; }
  .bt-card { width: 100%; min-width: 0; max-width: 170px; margin: 0 auto; padding: 4px 1px; gap: 0; border-radius: 8px; font-size: .56rem; overflow: hidden; }
  .bt-card i { font-size: .72rem; }
  .bt-card b { font-size: .52rem; letter-spacing: 0; white-space: nowrap; }
  .bt-card span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bt-card small { font-size: .46rem; white-space: nowrap; }
  .bt-info { width: 16px; height: 16px; font-size: .55rem; top: -6px; left: -3px; box-shadow: none; }
  .bt-card.new::after { font-size: .42rem; padding: 0 4px; top: -6px; right: -2px; }
  /* 3rd & 4th rows: id only */
  .bt-kids .bt-kids .bt-card span, .bt-kids .bt-kids .bt-card small { display: none; }
}

/* dashboard action tiles (Add fund / Invest now) */
.stat-tile.action { color: inherit; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.stat-tile.action:hover { transform: translateY(-2px); box-shadow: 0 0 18px rgba(3,225,239,.35); border-color: #03e1ef; }
.stat-tile.action .st-value { font-size: 1.25rem; }
.stat-tile.action .st-value i { font-size: .9rem; margin-left: 4px; }

/* hero headline smaller (client request) */
.hero h1 { font-size: clamp(1.3rem, 2.8vw, 2.2rem); }
@media (max-width: 640px) { .hero h1 { font-size: 1.2rem; line-height: 1.15; } }

/* filters: compact grid on every page; IDs never wrap in tables */
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; align-items: end; margin-bottom: 14px; }
.filters .form-group { margin: 0; min-width: 0; }
.filters input, .filters select { width: 100%; min-width: 0; height: 40px; padding: 6px 10px; font-size: .85rem; }
.filters .form-group:first-child { grid-column: span 2; }
.filters .btn { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 640px) {
  .filters { grid-template-columns: 1fr 1fr; gap: 6px; }
  .filters input, .filters select { height: 36px; font-size: .8rem; padding: 4px 8px; }
  .filters .btn { height: 36px; font-size: .8rem; }
  .table td, .table th { padding: 8px 8px; font-size: .78rem; }
}
.table td.mono, .table .mono, .table td:first-child { white-space: nowrap; }
.table .dt { white-space: nowrap; }
.table .dt small { display: block; opacity: .7; font-size: .72rem; }
