/* ==========================================================================
   SOTA — Stake Online Training Academy · Neon theme
   ========================================================================== */
:root {
  --bg-0: #0b0018;
  --bg-1: #1a0033;
  --bg-2: #3b0a8a;
  --panel: rgba(20, 0, 50, .65);
  --panel-solid: #150030;
  --violet: #8b5cf6;
  --violet-2: #a855f7;
  --violet-deep: #5b21b6;
  --gold: #f5c542;
  --gold-2: #ffd97a;
  --text: #ffffff;
  --muted: #b9a7e6;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f43f5e;
  --info: #38bdf8;
  --radius: 18px;
  --glow: 0 0 12px rgba(168, 85, 247, .55), 0 0 32px rgba(139, 92, 246, .35);
  --glow-strong: 0 0 16px rgba(168, 85, 247, .85), 0 0 48px rgba(139, 92, 246, .55);
  --glow-gold: 0 0 12px rgba(245, 197, 66, .6), 0 0 32px rgba(245, 197, 66, .3);
  --sidebar-w: 268px;
  --topbar-h: 72px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 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, #c4b5fd 0%, #a855f7 45%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-gold {
  background: linear-gradient(135deg, #fff2b3 0%, #f5c542 50%, #d99a00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.neon-text { text-shadow: 0 0 8px rgba(168,85,247,.9), 0 0 24px rgba(139,92,246,.6); }
.neon-text-gold { text-shadow: 0 0 8px rgba(245,197,66,.8), 0 0 24px rgba(245,197,66,.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(168,85,247,.45), 0 0 28px rgba(139,92,246,.25); }
  50% { box-shadow: 0 0 18px rgba(168,85,247,.85), 0 0 48px rgba(139,92,246,.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(26,0,51,.92), rgba(11,0,24,.96));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-right: 1px solid rgba(168,85,247,.35);
  box-shadow: 4px 0 30px rgba(59,10,138,.35);
  overflow-y: auto; transition: transform .3s ease;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(168,85,247,.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(168,85,247,.7)); }
.sidebar-user { margin: 6px 16px 12px; padding: 12px 14px; border-radius: 14px; background: rgba(139,92,246,.12); border: 1px solid rgba(168,85,247,.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(185,167,230,.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: #e9e3ff; 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(139,92,246,.15); border-color: rgba(168,85,247,.35); color: #fff; }
.nav li a.active { background: linear-gradient(90deg, rgba(139,92,246,.35), rgba(139,92,246,.05)); border-color: rgba(168,85,247,.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(11,0,24,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168,85,247,.3);
}
.topbar .burger { display: none; background: none; border: 1px solid rgba(168,85,247,.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(139,92,246,.15); border: 1px solid rgba(168,85,247,.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(168,85,247,.5); box-shadow: var(--glow); }
.dropdown.open .dd-menu { display: flex; }
.dropdown .dd-menu a { padding: 9px 12px; border-radius: 10px; color: #e9e3ff; font-size: .88rem; }
.dropdown .dd-menu a:hover { background: rgba(139,92,246,.2); color: #fff; }

.content { padding: 26px 24px 40px; flex: 1; }
.footer { padding: 18px 24px; border-top: 1px solid rgba(168,85,247,.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(168,85,247,.45); box-shadow: 0 0 12px rgba(168,85,247,.25), 0 10px 30px rgba(0,0,0,.35);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.neon-card:hover { border-color: rgba(168,85,247,.8); box-shadow: var(--glow); }
.neon-card.lift:hover { transform: translateY(-3px); }
.neon-card.gold { border-color: rgba(245,197,66,.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(168,85,247,.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(168,85,247,.45) 0, transparent 50%), radial-gradient(at 80% 0%, rgba(245,197,66,.25) 0, transparent 45%), radial-gradient(at 70% 90%, rgba(91,33,182,.6) 0, transparent 55%), var(--panel); }
.mesh-2 { background: radial-gradient(at 0% 100%, rgba(139,92,246,.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(245,197,66,.35) 0, transparent 50%), radial-gradient(at 0% 80%, rgba(168,85,247,.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(139,92,246,.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(168,85,247,.45); box-shadow: 0 0 12px rgba(168,85,247,.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(168,85,247,.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, #b8860b, var(--gold)); box-shadow: var(--glow-gold); color: #1a0033; }
.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(245,197,66,.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(196,181,253,.5); box-shadow: var(--glow); }
.btn-neon:hover { color: #fff; box-shadow: var(--glow-strong); transform: translateY(-1px); }
.btn-gold { color: #1a0033; background: linear-gradient(135deg, #d99a00, var(--gold), #ffe08a); border-color: rgba(255,230,150,.6); box-shadow: var(--glow-gold); }
.btn-gold:hover { color: #1a0033; box-shadow: 0 0 18px rgba(245,197,66,.9), 0 0 48px rgba(245,197,66,.45); transform: translateY(-1px); }
.btn-outline { color: var(--violet-2); background: transparent; border-color: var(--violet-2); }
.btn-outline:hover { background: rgba(139,92,246,.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[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(11,0,24,.7); border: 1px solid rgba(168,85,247,.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(168,85,247,.2), var(--glow); }
.form-control::placeholder, input::placeholder, textarea::placeholder { color: rgba(185,167,230,.6); }
.form-control[readonly], input[readonly] { background: rgba(59,10,138,.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(11,0,24,.7); border: 1px dashed rgba(245,197,66,.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(168,85,247,.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(59,10,138,.45); border-bottom: 1px solid rgba(168,85,247,.5); white-space: nowrap; }
.table tbody td { padding: 11px 14px; border-bottom: 1px solid rgba(168,85,247,.15); color: #eae4ff; vertical-align: middle; }
.table tbody tr { transition: background .2s, box-shadow .2s; }
.table tbody tr:hover { background: rgba(139,92,246,.14); box-shadow: inset 0 0 20px rgba(168,85,247,.15); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tfoot td { padding: 12px 14px; font-weight: 700; color: var(--gold); background: rgba(59,10,138,.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: #d8ccff; border-color: rgba(168,85,247,.7); background: rgba(139,92,246,.18); box-shadow: 0 0 8px rgba(168,85,247,.4); }
.badge-gold { color: var(--gold); border-color: rgba(245,197,66,.7); background: rgba(245,197,66,.12); box-shadow: 0 0 8px rgba(245,197,66,.4); }
.badge-muted { color: var(--muted); border-color: rgba(185,167,230,.4); background: rgba(185,167,230,.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(11,0,24,.8); border: 1px solid rgba(168,85,247,.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(168,85,247,.8); transition: width .6s ease; }
.progress.gold .bar { background: linear-gradient(90deg, #b8860b, var(--gold)); box-shadow: 0 0 12px rgba(245,197,66,.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(168,85,247,.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(168,85,247,.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(59,10,138,.55), rgba(11,0,24,.85)); border: 1px solid rgba(168,85,247,.6); box-shadow: var(--glow), inset 0 0 40px rgba(139,92,246,.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(168,85,247,.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(245,197,66,.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, #e9d5ff 0%, #a855f7 50%, #6d28d9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(168,85,247,.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(139,92,246,.2); border: 1px solid rgba(168,85,247,.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(168,85,247,.2); font-size: .86rem; color: #ece6ff; }
.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(168,85,247,.7); box-shadow: 0 0 8px rgba(168,85,247,.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: #1a0033; }
.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(139,92,246,.12); font-size: .86rem; }
.note.gold { border-left-color: var(--gold); background: rgba(245,197,66,.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: #1a0033; border: 2px solid rgba(168,85,247,.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(26,0,51,.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: #6d28d9; }

/* ---------- 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(168,85,247,.7); }
.tree li::after { right: auto; left: 50%; border-left: 2px solid rgba(168,85,247,.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(168,85,247,.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(168,85,247,.7); width: 0; height: 24px; }
.tree .node { display: inline-block; min-width: 118px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(91,33,182,.7), rgba(59,10,138,.9)); border: 1px solid rgba(168,85,247,.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(11,0,24,.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(20,0,50,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(168,85,247,.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(168,85,247,.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(11,0,24,.7); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(168,85,247,.3); }
.site-nav img { height: 56px; filter: drop-shadow(0 0 8px rgba(168,85,247,.7)); }
.site-nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav .links a { color: #e9e3ff; 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(168,85,247,.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(168,85,247,.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(168,85,247,.6); background: rgba(139,92,246,.12); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: #e9e3ff; }
.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, #c4b5fd, #8b5cf6 50%, #5b21b6); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(139,92,246,.6)); }
.hero .plug { display: inline-block; font-size: 1rem; letter-spacing: 6px; text-transform: uppercase; color: #e9e3ff; padding: 6px 0; border-top: 1px solid rgba(168,85,247,.5); border-bottom: 1px solid rgba(168,85,247,.5); margin: 10px 0 24px; }
.hero .feat { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(168,85,247,.55); background: rgba(20,0,50,.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(168,85,247,.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(168,85,247,.55); background: rgba(20,0,50,.6); }
.hero .stack div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(168,85,247,.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(168,85,247,.8); background: linear-gradient(160deg, rgba(59,10,138,.6), rgba(11,0,24,.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: #1a0033; 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(168,85,247,.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(168,85,247,.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(168,85,247,.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: #eae4ff; 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: #1a0033; font-weight: 800; font-size: 1.1rem; box-shadow: var(--glow); border: 2px solid rgba(168,85,247,.6); min-width: 170px; text-align: center; }
.channel small { display: block; font-weight: 500; font-size: .72rem; color: #4c1d95; }
.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(168,85,247,.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(168,85,247,.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, #fff2b3, #f5c542 60%, #b8860b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(245,197,66,.5)); }

.site-footer { padding: 40px 6% 26px; border-top: 1px solid rgba(168,85,247,.3); background: rgba(11,0,24,.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(168,85,247,.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: #1a0033; 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(168,85,247,.6); background: rgba(20,0,50,.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(168,85,247,.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(11,0,24,.96); border-bottom: 1px solid rgba(168,85,247,.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(168,85,247,.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(168,85,247,.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); } }
