:root {
  --bg: #c8efd8;
  --bg2: #f3fff8;
  --jade: #0f7a45;
  --jade2: #0b6338;
  --line: rgba(15, 70, 42, 0.12);
  --text: #143528;
  --muted: #4a6b5a;
  --gold: #e8943a;
  --gold2: #d07a28;
  --mint: #22c55e;
  --danger: #ea5455;
  --ok: #0f7a45;
  --ink: #ffffff;
  --radius: 22px;
  --font: "Sora", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(255, 255, 255, 0.85), transparent 52%),
    linear-gradient(180deg, #d8f6e6 0%, var(--bg) 38%, #bfead0 100%);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.wrap-fluid {
  width: calc(100% - 48px);
  max-width: 1720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .wrap-fluid {
    width: calc(100% - 24px);
  }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 56px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--jade), var(--jade2));
  color: #fff;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(160deg, var(--jade), var(--jade2));
  color: #fff;
  font-weight: 650;
  transition: filter .15s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: #fff;
  color: var(--jade);
  border: 1px solid rgba(15, 122, 69, 0.18);
}

.btn-mint {
  background: linear-gradient(160deg, #22c55e, #16a34a);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 56px 0 56px;
}

.landing .hero {
  width: 100%;
  padding: 28px 0;
}

.hero-logo img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  mix-blend-mode: normal;
}

.kicker {
  color: var(--jade);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
}

h1,
h2,
.display {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: .95;
  margin: 12px 0 16px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.55;
}

.cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 80, 50, 0.08);
  backdrop-filter: blur(16px);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 48px;
}

.stats-band .stat {
  background: rgba(255, 255, 255, .72);
  border-radius: 16px;
  padding: 20px 18px;
}

.stat {
  background: rgba(255, 255, 255, .72);
  border-radius: 16px;
  padding: 16px 18px;
}

.stat b {
  display: block;
  font-size: 28px;
  margin-top: 6px;
  color: var(--jade);
  font-family: var(--display);
}

.details {
  display: grid;
  gap: 18px;
  padding-bottom: 56px;
}

.details h2 {
  font-size: 32px;
  margin: 8px 0 6px;
}

.details .lede {
  margin-bottom: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-grid article p {
  margin-top: 8px;
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  position: relative;
  z-index: 1;
}

.site-foot .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
}

.site-foot h4 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jade);
}

.site-foot a,
.site-foot p {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.site-foot a:hover {
  color: var(--text);
}

.site-foot .copy {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(340px, 88%);
  margin: 0 auto;
}

.auth-logo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.form-logo {
  display: none;
  width: 160px;
  margin: 0 auto 12px;
}

.form-logo img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 72px;
}

.card {
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-art {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  background:
    radial-gradient(500px 300px at 50% 30%, rgba(255, 255, 255, .55), transparent),
    linear-gradient(180deg, #d8f6e6, #bfead0);
  border-right: 1px solid var(--line);
}

.auth-art h2 {
  font-size: 40px;
  margin: 0;
  max-width: 14ch;
}

.auth-art .muted {
  max-width: 36ch;
}

.auth-form {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.form {
  width: min(420px, 100%);
  padding: 28px;
}

.form h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.field {
  display: block;
  margin: 14px 0;
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field select,
input.in,
select.in,
textarea.in {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
}

.field input:focus,
.field select:focus,
input.in:focus,
select.in:focus,
textarea.in:focus {
  border-color: var(--jade);
}

.autofill-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-danger {
  background: #fff;
  color: var(--danger);
  border: 1px solid rgba(234, 84, 85, 0.28);
}

.admin-title {
  margin: 18px 0 6px;
  font-size: 32px;
}

.admin-kicker {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--jade);
  font-weight: 600;
}

.admin-sec-title {
  font-family: var(--display);
  font-size: 24px;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-sec-sub {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 600;
}

.admin-section {
  margin-bottom: 36px;
}

/* =========================================================
   ADMIN DASHBOARD TAILORED SUITE
   ========================================================= */
body.admin-body {
  background: #edf5f0;
  color: #122b1e;
  letter-spacing: -0.01em;
}

/* =========================================================
   ADMIN TERMINAL SUITE & SIDEBAR DRAWER
   ========================================================= */
.admin-terminal-body {
  background: #f0f7f3;
  color: #143528;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font);
  overflow-x: hidden;
}

.admin-terminal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  width: 100%;
}

/* 1. ADMIN SIDEBAR */
.admin-sidebar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(15, 122, 69, 0.14);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 14px;
  border-bottom: 1px solid rgba(15, 122, 69, 0.1);
  position: relative;
}

.admin-sidebar-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
}

.admin-brand-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: #0b4d2c;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.admin-brand-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f7a45;
  text-transform: uppercase;
}

/* Sidebar Navigation Menu */
.admin-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #2d5540;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-sizing: border-box;
}

.admin-nav-item:hover {
  background: rgba(15, 122, 69, 0.06);
  color: #0b4d2c;
  transform: translateX(3px);
}

.admin-nav-item.active {
  background: linear-gradient(135deg, #0b4d2c 0%, #0f7a45 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 122, 69, 0.25);
}

.admin-nav-item.active .admin-nav-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.admin-nav-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.admin-nav-badge {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(15, 122, 69, 0.1);
  color: #0f7a45;
  font-weight: 700;
}

/* Sidebar Footer Controls */
.admin-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 122, 69, 0.1);
}

.admin-side-payout-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(15, 122, 69, 0.2);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.admin-side-payout-btn.open {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.admin-side-payout-btn.closed {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.admin-side-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(15, 122, 69, 0.18);
  background: #ffffff;
  color: #1a3b2b;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.admin-side-action-btn:hover {
  background: rgba(15, 122, 69, 0.08);
  color: #0b4d2c;
  border-color: #0f7a45;
}

.admin-side-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(234, 84, 85, 0.25);
  background: #ffffff;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-side-logout-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

/* 2. ADMIN MAIN AREA */
.admin-main-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.admin-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 122, 69, 0.12);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-top-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b4d2c;
  background: rgba(15, 122, 69, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 122, 69, 0.18);
}

.admin-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-content-inner {
  padding: 24px 28px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Tab Panels */
.admin-view-panel {
  display: none;
  animation: adminFadeIn 0.22s ease-out forwards;
}

.admin-view-panel.active {
  display: block;
}

@keyframes adminFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-sec {
  margin-bottom: 24px;
}

.admin-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-sec-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: #0b4d2c;
  margin: 0;
  letter-spacing: -0.02em;
}

.admin-sec-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a6b5a;
  margin: 2px 0 0;
  font-weight: 700;
}

/* HOME 5 KPI Cards */
.kpi-row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.kpi-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.admin-card {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(15, 70, 42, 0.04);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 70, 42, 0.08);
}

.admin-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: #0f7a45;
}

.admin-card.gold::before {
  background: #d97706;
}

.admin-card.mint::before {
  background: #16a34a;
}

.admin-card .kpi-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #557766;
  margin: 0 0 4px;
}

.admin-card .kpi-val {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  color: #0b4d2c;
  margin: 0;
  line-height: 1.15;
}

.admin-card .kpi-sub {
  font-size: 11px;
  color: #729181;
  margin: 3px 0 0;
}

.admin-card .kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef7f2;
  border: 1px solid rgba(15, 122, 69, 0.12);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* CODE VAULT Split Box */
.vault-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.vault-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.12);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 70, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vault-panel h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f7a45;
  margin: 0 0 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.slot-input {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 70, 42, 0.16);
  background: #fbfdfc;
  color: #122b1e;
  width: 100%;
}

.slot-input:focus {
  border-color: #0f7a45;
  background: #ffffff;
  outline: none;
}

.send-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.send-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #557766;
  margin-bottom: 4px;
}

.send-field input,
.send-field select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 70, 42, 0.16);
  background: #fbfdfc;
  font-size: 13px;
}

.send-field input:focus {
  border-color: #0f7a45;
  background: #ffffff;
  outline: none;
}

.qty-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-flex input {
  width: 80px;
}

/* Tables & Controls */
.admin-table-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 70, 42, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table thead {
  background: #f4f8f5;
  border-bottom: 1px solid rgba(15, 70, 42, 0.1);
}

.admin-table th {
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #527563;
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 14px;
  border-top: 1px solid rgba(15, 70, 42, 0.06);
  color: #1a3b2b;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: #f9fcf9;
}

/* Filters & Search */
.ctrl-tabs {
  display: inline-flex;
  background: #e7f2eb;
  padding: 3px;
  border-radius: 8px;
  gap: 3px;
}

.ctrl-tab {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4a6b5a;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ctrl-tab.active {
  background: #ffffff;
  color: #0b4d2c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.ctrl-search {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 70, 42, 0.16);
  background: #ffffff;
  font-size: 12px;
  width: 220px;
}

.ctrl-search:focus {
  border-color: #0f7a45;
  outline: none;
}

/* Status Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tag-active,
.tag-available,
.tag-approved {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.tag-assigned,
.tag-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.tag-expired,
.tag-used,
.tag-rejected {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn-admin-del {
  background: #ffffff;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-admin-del:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.btn-admin-action {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
}

.btn-admin-approve {
  background: #16a34a;
  color: #ffffff;
}

.btn-admin-approve:hover {
  background: #15803d;
}

.btn-admin-reject {
  background: #ef4444;
  color: #ffffff;
}

.btn-admin-reject:hover {
  background: #dc2626;
}

@media (max-width: 900px) {

  .kpi-row-1,
  .kpi-row-2,
  .vault-container {
    grid-template-columns: 1fr;
  }
}

.pwd-masked {
  -webkit-text-security: disc !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: var(--text) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.err {
  display: none;
}

.err.show {
  display: block;
  padding: 10px 14px;
  background: rgba(234, 84, 85, .08);
  border: 1px solid rgba(234, 84, 85, .25);
  border-radius: 12px;
  color: var(--danger);
  font-size: 13px;
  margin-bottom: 6px;
}

.center {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.center a {
  color: var(--jade);
}

/* Sponsor pre-fill notice */
.sponsor-notice {
  font-size: 12px;
  color: var(--jade);
  background: rgba(15, 122, 69, .07);
  border: 1px solid rgba(15, 122, 69, .15);
  border-radius: 10px;
  padding: 7px 12px;
  margin-top: 6px;
  display: none;
}

.sponsor-notice.show {
  display: block;
}

/* Wallet total row */
.wallet-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0 0 14px;
  box-shadow: 0 4px 16px rgba(20, 80, 50, .06);
}

.wallet-total .wt-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wallet-total .wt-val {
  font-family: var(--display);
  font-size: 28px;
  color: var(--jade);
  font-weight: 600;
}

/* Fee preview */
.fee-preview {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  min-height: 14px;
  transition: color .2s;
}

.fee-preview.ready {
  color: var(--jade);
}

/* Payout alert on wallet */
.payout-alert {
  display: none;
  padding: 8px 12px;
  background: rgba(234, 84, 85, .07);
  border: 1px solid rgba(234, 84, 85, .2);
  border-radius: 10px;
  font-size: 12px;
  color: var(--danger);
  margin-top: 8px;
}

.payout-alert.show {
  display: block;
}

/* Trade-in blocked state */
.tradein-blocked-notice {
  display: none;
  padding: 12px 16px;
  background: rgba(234, 84, 85, .07);
  border: 1px solid rgba(234, 84, 85, .2);
  border-radius: 14px;
  font-size: 13px;
  color: var(--danger);
  margin-bottom: 12px;
}

.tradein-blocked-notice.show {
  display: block;
}

.tradein-blocked fieldset {
  opacity: .45;
  pointer-events: none;
}

/* Wallet card cap-bar animation */
.bar>i {
  transition: width .8s cubic-bezier(.22, 1, .36, 1);
}

/* Admin ban button */
.btn-admin-ban {
  background: #fff;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-admin-ban:hover {
  background: #b45309;
  color: #fff;
  border-color: #b45309;
}

.btn-admin-unban {
  background: #fff;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-admin-unban:hover {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}

/* System wallet totals bar */
.wallet-totals-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.wt-card {
  background: #fff;
  border: 1px solid rgba(15, 122, 69, .12);
  border-radius: 12px;
  padding: 12px 16px;
}

.wt-card .wt-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #557766;
  margin: 0 0 3px;
}

.wt-card .wt-card-val {
  font-family: var(--display);
  font-size: 20px;
  color: #0b4d2c;
  margin: 0;
}

@media (max-width: 900px) {
  .wallet-totals-bar {
    grid-template-columns: 1fr;
  }
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(200, 239, 216, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.wallets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.wallet {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.wallet::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--jade);
}

.wallet.ref::before {
  background: var(--gold);
}

.wallet.cycle::before {
  background: var(--mint);
}

.wallet .label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wallet .bal {
  font-family: var(--display);
  font-size: 34px;
  margin: 10px 0 6px;
}

.row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.row input.in,
.row select.in {
  flex: 1;
}

.split {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 14px;
}

.chart {
  overflow: hidden;
}

.chart-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

#tvchart {
  height: 430px;
}

.side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(15, 122, 69, .12);
  overflow: hidden;
  margin-top: 12px;
}

.bar>i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--jade), var(--gold));
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 48px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}

.banner {
  display: none;
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200000;
  min-width: 320px;
  max-width: min(92vw, 540px);
  padding: 14px 22px;
  border-radius: 16px;
  border: 1.5px solid #ef4444;
  background: #ffffff;
  color: #991b1b;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(239, 68, 68, 0.2);
  text-align: center;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  animation: bannerToastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bannerToastIn {
  from { opacity: 0; transform: translate(-50%, -20px) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.banner.show {
  display: block;
}

.banner.ok {
  border-color: #10b981;
  background: #f0fdf4;
  color: #065f46;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(16, 185, 129, 0.25);
}

.pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.pill.open {
  color: var(--ok);
  border-color: rgba(155, 231, 196, .4);
}

.pill.closed {
  color: var(--danger);
  border-color: rgba(240, 160, 160, .35);
}

/* =========================================================
   INFINITE TRADING TERMINAL SUITE (MATCHING REFERENCE LAYOUT)
   ========================================================= */

body.dash-terminal-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 60% -10%, rgba(255, 255, 255, 0.85), transparent 60%),
    linear-gradient(180deg, #d8f6e6 0%, var(--bg) 38%, #bfead0 100%);
  color: var(--text);
  overflow-x: hidden;
}

.dash-terminal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* 1. FULL-HEIGHT LEFT SIDEBAR */
.dash-sidebar {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(15, 122, 69, 0.14);
  padding: 16px 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 2px 0 16px rgba(15, 70, 42, 0.03);
}

.dash-sidebar-brand {
  padding: 4px 6px 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 122, 69, 0.1);
}

.dash-sidebar-brand .brand-logo {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.dash-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Sidebar Accordion Cards */
.side-nav-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 70, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-nav-card:hover {
  border-color: rgba(15, 122, 69, 0.32);
  box-shadow: 0 6px 20px rgba(15, 70, 42, 0.08);
}

.side-nav-header {
  background: linear-gradient(135deg, #0b4d2c 0%, #0f7a45 100%);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.side-nav-header:hover {
  filter: brightness(1.08);
}

.side-nav-header .side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.side-nav-header .accordion-caret {
  font-size: 10px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  opacity: 0.9;
}

.side-nav-card.collapsed .accordion-caret {
  transform: rotate(-90deg);
}

.side-nav-body {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border-top: 1px solid rgba(15, 122, 69, 0.08);
  transition: all 0.25s ease;
}

.side-nav-card.collapsed .side-nav-body {
  display: none;
}

.side-nav-btn,
.side-sub-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #143528;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.side-sub-btn {
  padding-left: 16px;
  font-size: 12px;
  color: #4a6b5a;
}

.side-nav-btn:hover,
.side-sub-btn:hover {
  background: rgba(15, 122, 69, 0.08);
  color: #0b4d2c;
  transform: translateX(3px);
}

.side-info-card {
  background: rgba(15, 122, 69, 0.05);
  border: 1px solid rgba(15, 122, 69, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 4px 0 2px;
  font-size: 11px;
  color: #3b5b4a;
  line-height: 1.45;
}

/* Wallet Withdrawal CTA button */
.side-cta-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #ffffff;
  color: #0f7a45 !important;
  border: 1.5px solid #0f7a45 !important;
  box-shadow: 0 4px 14px rgba(15, 70, 42, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
}

.side-cta-btn:hover {
  background: #0f7a45;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 70, 42, 0.2);
}

.side-cta-btn .side-cta-icon {
  font-size: 16px;
}

/* Referral link box */
.side-ref-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(15, 70, 42, 0.04);
}

/* 2. MAIN RIGHT DASHBOARD AREA */
.dash-main-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

/* Top Navigation Bar */
.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 122, 69, 0.12);
  position: sticky;
  top: 0;
  z-index: 40;
}

.dash-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 122, 69, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 70, 42, 0.04);
}

.user-avatar-icon {
  font-size: 16px;
}

.user-badge-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-badge-name {
  font-size: 12px;
  font-weight: 700;
  color: #0b4d2c;
}

.user-badge-status {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.user-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  display: inline-block;
}

.user-status-dot.inactive {
  background: #ea5455;
  box-shadow: 0 0 0 2px rgba(234, 84, 85, 0.25);
}

.dash-logout-btn {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #143528;
  border: 1px solid rgba(15, 122, 69, 0.18);
  background: #ffffff;
  transition: all 0.15s ease;
}

.dash-logout-btn:hover {
  background: rgba(234, 84, 85, 0.08);
  color: #dc2626;
  border-color: #dc2626;
}

.dash-logout-btn .logout-icon {
  font-size: 14px;
}

/* Inner Content Area */
.dash-content-inner {
  padding: 20px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dash-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
}

.dash-sec-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b4d2c;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-title-dot {
  color: #22c55e;
  font-size: 14px;
}

.dash-title-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

/* =========================================================
   ROW 1: 3 METRIC CARDS (TOTAL ~48%, BINARY ~26%, PPT ~26%)
   ========================================================= */
.metrics-row-1 {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 14px;
}

/* HERO TOTAL BALANCE CARD */
.m-card-hero {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(15, 122, 69, 0.22);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 22px rgba(15, 70, 42, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 120px;
}

.m-card-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 70, 42, 0.09);
  border-color: rgba(15, 122, 69, 0.38);
}

.m-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.m-hero-icon-stack {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 122, 69, 0.12), rgba(34, 197, 94, 0.2));
  border: 1px solid rgba(15, 122, 69, 0.18);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.m-hero-content {
  display: flex;
  flex-direction: column;
}

.m-hero-val {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: #0b4d2c;
  margin: 2px 0 2px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.m-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  min-width: 120px;
}

.m-corner-icon {
  font-size: 18px;
}

.sparkline-svg {
  width: 130px;
  height: 40px;
}

/* STANDARD METRIC CARDS */
.m-card-std {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 122, 69, 0.14);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(15, 70, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 120px;
}

.m-card-std:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 70, 42, 0.08);
  border-color: rgba(15, 122, 69, 0.3);
}

.m-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #557766;
}

.m-badge-icon {
  font-size: 14px;
  opacity: 0.85;
}

.m-pill-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.24);
}

.m-val {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: #0b4d2c;
  margin: 2px 0 2px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.m-sub {
  font-size: 11.5px;
  color: #628573;
  font-weight: 500;
}

/* PPT CARD WITH CIRCULAR PROGRESS DIAL */
.m-card-ppt {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.m-card-split-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex: 1;
}

.ppt-dial-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ppt-dial-svg {
  width: 50px;
  height: 50px;
  transform: rotate(-90deg);
}

.ppt-dial-bg {
  fill: none;
  stroke: rgba(15, 122, 69, 0.12);
  stroke-width: 4;
}

.ppt-dial-bar {
  fill: none;
  stroke: #22c55e;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.ppt-dial-text {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  color: #0b4d2c;
}

/* =========================================================
   ROW 2: 4 METRIC CARDS
   ========================================================= */
.metrics-row-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.m-card-center-spark {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.sparkline-mini-svg {
  width: 54px;
  height: 20px;
  flex-shrink: 0;
}

.m-card-bottom-line {
  height: 3px;
  border-radius: 99px;
  margin-top: 8px;
  width: 36px;
}

.line-emerald {
  background: #16a34a;
}

.line-purple {
  background: #8b5cf6;
}

.line-gold {
  background: #e8943a;
}

.line-yellow {
  background: #eab308;
}

/* =========================================================
   ROW 3: BINARY CAP FULL-WIDTH CARD
   ========================================================= */
.binary-cap-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 6px 20px rgba(15, 70, 42, 0.04);
}

.cap-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cap-main-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #557766;
}

.cap-val-display {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: #0b4d2c;
  margin-top: 2px;
  display: block;
}

.cap-right-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cap-track-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(15, 122, 69, 0.1);
  overflow: hidden;
  margin-top: 10px;
}

.cap-track-bar>i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0f7a45 0%, #22c55e 50%, #e8943a 100%);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   ROW 4: TRADING VIEW LIVE CHART CARD
   ========================================================= */
.trading-chart-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 70, 42, 0.05);
}

.chart-top-bar {
  background: linear-gradient(135deg, #0b4d2c 0%, #0f7a45 100%);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
}

/* Hamburger Button & Drawer Controls */
.dash-burger-btn {
  display: none;
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.2);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(15, 70, 42, 0.06);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.dash-burger-btn:hover {
  background: rgba(15, 122, 69, 0.08);
  border-color: var(--jade);
}

.dash-burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0b4d2c;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.dash-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-top-brand {
  display: none;
  align-items: center;
}

.dash-top-brand .top-brand-logo {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.dash-sidebar-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(15, 122, 69, 0.2);
  background: #ffffff;
  color: #0b4d2c;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.dash-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 40, 25, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.dash-sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* RESPONSIVE LAYOUT BREAKPOINTS */
@media (max-width: 1240px) {
  .metrics-row-1 {
    grid-template-columns: 1fr 1fr;
  }

  .m-card-hero {
    grid-column: span 2;
  }

  .metrics-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE VIEW (<= 900px) */
@media (max-width: 900px) {
  body.sidebar-drawer-open {
    overflow: hidden;
  }

  .dash-terminal-layout {
    grid-template-columns: 1fr;
    display: block;
  }

  .dash-burger-btn {
    display: flex;
  }

  .dash-top-brand {
    display: flex;
  }

  .dash-top-tag {
    display: none;
  }

  .dash-sidebar-close {
    display: grid;
  }

  .dash-sidebar-backdrop {
    display: block;
  }

  /* Off-canvas Sliding Drawer Sidebar */
  .dash-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(310px, 86vw);
    height: 100vh;
    z-index: 99;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 6px 0 32px rgba(10, 40, 25, 0.25);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(15, 122, 69, 0.2);
    padding: 18px 14px 24px;
    overflow-y: auto;
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  /* Compact Mobile Top Bar */
  .dash-top-bar {
    padding: 10px 14px;
    gap: 8px;
  }

  .dash-top-right {
    gap: 6px;
  }

  .user-badge {
    padding: 4px 10px;
    gap: 6px;
  }

  .user-badge-name {
    font-size: 11px;
  }

  .dash-logout-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  /* Compact Content Inner Area */
  .dash-content-inner {
    padding: 12px 12px 36px;
    gap: 12px;
  }

  /* ROW 1: MOBILE OPTIMIZED (Hero Card + 2-Column Binary & PPT Grid) */
  .metrics-row-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .m-card-hero {
    grid-column: 1 / -1;
    padding: 14px 16px;
    min-height: auto;
  }

  .m-hero-val {
    font-size: 26px;
  }

  .m-hero-icon-stack {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .sparkline-svg {
    width: 90px;
    height: 30px;
  }

  .m-card-binary,
  .m-card-ppt {
    padding: 12px 12px;
    min-height: 100px;
  }

  .m-card-std .m-val {
    font-size: 19px;
  }

  .m-card-std .m-label {
    font-size: 9.5px;
  }

  .m-card-std .m-sub {
    font-size: 10px;
  }

  .ppt-dial-wrap {
    width: 40px;
    height: 40px;
  }

  .ppt-dial-svg {
    width: 40px;
    height: 40px;
  }

  .ppt-dial-text {
    font-size: 9px;
  }

  /* ROW 2: MOBILE OPTIMIZED (2x2 Grid) */
  .metrics-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .m-card-inppt,
  .m-card-trade-dep,
  .m-card-trade-profit,
  .m-card-trade-ref {
    padding: 12px 12px;
    min-height: 100px;
  }

  /* Binary Cap Mobile Card */
  .binary-cap-card {
    padding: 12px 14px;
  }

  .cap-val-display {
    font-size: 19px;
  }

  .cap-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .cap-right-side {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  /* Trading Chart Mobile */
  #tvchart {
    height: 350px !important;
  }

  .chart-top-bar {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Admin Terminal Layout Mobile */
  .admin-terminal-layout {
    grid-template-columns: 1fr;
    display: block;
  }

  .admin-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(310px, 86vw);
    height: 100vh;
    z-index: 99;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 6px 0 32px rgba(10, 40, 25, 0.25);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(15, 122, 69, 0.2);
    padding: 18px 14px 24px;
    overflow-y: auto;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-top-bar {
    padding: 10px 14px;
    gap: 8px;
  }

  .admin-top-right {
    gap: 6px;
  }

  .admin-content-inner {
    padding: 14px 12px 40px;
    gap: 14px;
  }

  .kpi-row-1,
  .kpi-row-2,
  .vault-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .user-badge-status {
    display: none;
  }
}

/* Genealogy Tree visualizer */
.genealogy-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  overflow-x: auto;
}

.tree-node {
  background: #ffffff;
  border: 2px solid var(--jade);
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 4px 14px rgba(15, 70, 42, 0.08);
}

.tree-node.empty {
  border: 2px dashed rgba(15, 122, 69, 0.3);
  background: #fafdfb;
  color: #8fa89b;
}

.tree-node-name {
  font-size: 13px;
  font-weight: 700;
  color: #0b4d2c;
  margin: 0 0 3px;
}

.tree-node-counts {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  font-size: 11px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(15, 122, 69, 0.1);
  color: #557766;
}

.tree-connector {
  width: 2px;
  height: 20px;
  background: var(--jade);
}

.tree-branches {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  width: 100%;
}

.tree-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--jade);
}

@media (max-width: 960px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }

  .metrics-7-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .metrics-7-grid {
    grid-template-columns: 1fr;
  }

  .m7-val {
    font-size: 20px;
  }

  .tree-branches {
    gap: 16px;
  }

  .tree-node {
    min-width: 110px;
    padding: 8px;
  }
}

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .wallets {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-row-1,
  .wallet-totals-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 0 36px;
  }

  .hero .lede {
    margin: 0 auto;
  }

  .hero .cta {
    justify-content: center;
  }

  .hero-logo {
    margin: 0 auto 16px;
    max-width: 340px;
  }

  .hero-logo img {
    margin: 0 auto;
    max-width: 100%;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-art {
    display: none;
  }

  .form-logo {
    display: block;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .two {
    grid-template-columns: 1fr;
  }

  .wallets {
    grid-template-columns: 1fr;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .codes {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    margin: 8px 0 24px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .site-foot .foot-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hl {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .kpi-row-1,
  .kpi-row-2,
  .vault-container,
  .wallet-totals-bar {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  .wallet .bal {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .top {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .admin-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .admin-header .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .wallet-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .wallet-total>div:last-child {
    text-align: left;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stats-band .stat,
  .stat {
    padding: 12px 14px;
  }

  .stat b {
    font-size: 22px;
  }

  #tvchart {
    height: 320px;
  }

  .form {
    padding: 20px;
  }

  .plan-modal {
    padding: 10px;
  }

  .plan-modal-sheet {
    max-height: 92vh;
    border-radius: 18px;
  }

  .plan-modal-head {
    padding: 16px 16px 8px;
  }

  .plan-modal-head h2 {
    font-size: 22px;
  }

  .plan-tabs {
    padding: 0 12px 10px;
  }

  .plan-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .plan-modal-body {
    padding: 6px 16px 18px;
  }

  .admin-sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ctrl-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ctrl-search {
    width: 100%;
  }
}

/* Landing motion */
.landing {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.landing>.wrap {
  flex: 1;
  display: flex;
  align-items: center;
}

.landing .cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 212, 200, 0.18), transparent 68%);
  z-index: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.landing .cursor-glow.on {
  opacity: 1;
}

.landing .orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.landing .wrap,
.landing .foot,
.landing .ticker,
.landing .land-foot {
  position: relative;
  z-index: 1;
}

.land-foot {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.plan-modal[hidden] {
  display: none;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 53, 40, 0.35);
  backdrop-filter: blur(8px);
}

.plan-modal-sheet {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(20, 80, 50, 0.16);
  overflow: hidden;
}

.plan-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 10px;
}

.plan-modal-head h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.plan-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.plan-close:hover {
  background: rgba(15, 122, 69, .08);
}

.plan-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 18px 12px;
}

.plan-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.plan-tab.on {
  color: #fff;
  background: linear-gradient(160deg, var(--jade), var(--jade2));
}

.plan-modal-body {
  overflow: auto;
  padding: 8px 22px 24px;
}

.plan-pane {
  display: none;
}

.plan-pane.on {
  display: block;
}

.plan-pane h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 8px 0 14px;
}

.plan-modal .hl,
.plan-modal .stats-band,
.plan-modal .steps {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.plan-modal .stats-band {
  margin: 8px 0 0;
}

body.modal-open {
  overflow: hidden;
}


.orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .35;
  animation: drift 18s ease-in-out infinite;
}

.orbs span:nth-child(1) {
  width: 280px;
  height: 280px;
  background: #8fd4c8;
  top: 8%;
  left: -6%;
}

.orbs span:nth-child(2) {
  width: 220px;
  height: 220px;
  background: #e8c27a;
  top: 62%;
  right: -4%;
  animation-duration: 22s;
  animation-delay: -4s;
}

.orbs span:nth-child(3) {
  width: 160px;
  height: 160px;
  background: #5eaea3;
  bottom: 8%;
  left: 40%;
  animation-duration: 16s;
  animation-delay: -8s;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(143, 212, 200, 0.04);
  margin: 0;
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 12px 0;
  animation: marquee 28s linear infinite;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jade);
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  animation-delay: .08s;
}

.reveal.d2 {
  animation-delay: .18s;
}

.reveal.d3 {
  animation-delay: .28s;
}

.reveal.d4 {
  animation-delay: .4s;
}

.reveal.d5 {
  animation-delay: .52s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  animation: none;
  filter: drop-shadow(0 12px 28px rgba(15, 122, 69, 0.12));
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.landing .btn:hover {
  box-shadow: none;
  transform: none;
}

.landing .card:hover {
  transform: none;
}

.landing .stat {
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  border: 1px solid transparent;
  cursor: default;
}

.landing .stat:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: rgba(143, 212, 200, .08);
}

.landing .card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.landing .card:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 212, 200, .4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.landing .card.in {
  animation: rise .8s cubic-bezier(.22, 1, .36, 1) both;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(143, 212, 200, .7);
  animation: ping 1.8s infinite;
  vertical-align: middle;
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (prefers-reduced-motion: reduce) {

  .orbs span,
  .ticker-track,
  .hero-logo img,
  .reveal,
  .landing .card.in,
  .pulse-dot {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Activation System, Code Seller Desk & Batch Minting Styles
   ========================================================================== */
.activation-panel {
  background: #ffffff;
  border: 2px solid var(--jade);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(15, 122, 69, 0.08);
}

.badge-tag.tag-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-tag.tag-expired {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-tag.tag-available {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-tag.tag-assigned {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-tag.tag-used {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

/* ==========================================================================
   USER DASHBOARD FOOTER COMPONENT (FLOATING & TRANSPARENT)
   ========================================================================== */
.dash-footer {
  margin-top: 28px;
  margin-bottom: 8px;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(15, 122, 69, 0.15);
  box-shadow: none;
  padding: 20px 4px 10px;
}

.dash-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dash-footer-logo {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.dash-footer-logo:hover {
  opacity: 1;
}

.dash-footer-copy {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.dash-footer-copy strong {
  color: #0b4d2c;
  font-weight: 700;
}

.dash-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-footer-links button {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.dash-footer-links button:hover {
  color: #0b4d2c;
  text-decoration: underline;
  transform: translateY(-1px);
}

.dash-footer-sep {
  color: rgba(15, 122, 69, 0.25);
  font-size: 12px;
  user-select: none;
}

@media (max-width: 768px) {
  .dash-footer {
    margin-top: 20px;
    padding: 16px 2px 8px;
  }

  .dash-footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dash-footer-left {
    gap: 10px;
  }

  .dash-footer-logo {
    height: 26px;
  }

  .dash-footer-copy {
    font-size: 11.5px;
  }

  .dash-footer-links button {
    font-size: 11.5px;
  }
}

/* ==========================================================================
   Payout Account Binding & Provider Badges
   ========================================================================== */
.payout-method-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 122, 69, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 122, 69, 0.06);
  padding: 4px;
}

.payout-method-icon-box img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.badge-tag.tag-gcash {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  font-weight: 700;
}

.badge-tag.tag-maya {
  background: #f3e8ff;
  color: #9333ea;
  border: 1px solid #e9d5ff;
  font-weight: 700;
}

.badge-tag.tag-gotyme {
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #a5f3fc;
  font-weight: 700;
}

.badge-tag.tag-maribank {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  font-weight: 700;
}

.badge-tag.tag-ub {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fef08a;
  font-weight: 700;
}

.badge-tag.tag-cat-binary {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}

.badge-tag.tag-cat-traderef {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
  font-weight: 700;
}

.badge-tag.tag-cat-cycle {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  font-weight: 700;
}

.btn-admin-copy {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.2);
  color: #0b4d2c;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.btn-admin-copy:hover {
  background: rgba(15, 122, 69, 0.08);
  border-color: var(--jade);
  color: var(--jade);
}

.admin-wd-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.admin-wd-summary-card {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(15, 70, 42, 0.03);
}

.admin-wd-summary-card .title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

.admin-wd-summary-card .val {
  font-size: 18px;
  font-weight: 800;
  color: #0b4d2c;
  margin: 0;
}

.admin-wd-summary-card .sub {
  font-size: 10.5px;
  color: var(--muted);
  margin: 2px 0 0;
}

@media (max-width: 900px) {
  .admin-wd-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Payout Method Tile Picker */
.payout-method-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .payout-method-picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

.payout-method-tile {
  background: #f8faf9;
  border: 1.5px solid rgba(15, 122, 69, 0.16);
  border-radius: 12px;
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-height: 82px;
}

.payout-method-tile:hover {
  background: #ffffff;
  border-color: var(--jade);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 122, 69, 0.1);
}

.payout-method-tile.active {
  background: #ffffff;
  border-color: #0b4d2c;
  border-width: 2px;
  box-shadow: 0 6px 18px rgba(11, 77, 44, 0.18);
}

.payout-method-tile .tile-icon {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payout-method-tile .tile-icon img {
  max-width: 72px;
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.payout-method-tile .tile-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #122b1e;
  text-align: center;
  line-height: 1.15;
}

.payout-method-tile.active .tile-name {
  color: #0b4d2c;
  font-weight: 800;
}

/* =========================================================
   WITHDRAWAL WALLET CARDS & RESPONSIVE GRID
   ========================================================= */
.wd-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 760px) {
  .wd-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.wd-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 122, 69, 0.15);
  padding: 16px 16px 14px;
  box-shadow: 0 4px 16px rgba(15, 122, 69, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.wd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 122, 69, 0.08);
}

/* Card Themes */
.wd-card.theme-binary {
  border-top: 4px solid var(--jade);
  background: linear-gradient(180deg, rgba(15, 122, 69, 0.035) 0%, #ffffff 45%);
}

.wd-card.theme-ref {
  border-top: 4px solid var(--gold);
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.045) 0%, #ffffff 45%);
}

.wd-card.theme-cycle {
  border-top: 4px solid var(--mint);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.045) 0%, #ffffff 45%);
}

/* Card Header */
.wd-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.wd-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wd-icon-pill {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.icon-binary {
  background: rgba(15, 122, 69, 0.12);
  color: var(--jade);
}

.icon-ref {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
}

.icon-cycle {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.wd-card-label {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  color: #122b1e;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.wd-card-sub {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}

.wd-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-binary {
  background: rgba(15, 122, 69, 0.1);
  color: var(--jade);
  border: 1px solid rgba(15, 122, 69, 0.18);
}

.badge-ref {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.badge-cycle {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Balance Box */
.wd-card-bal-box {
  background: #fbfdfc;
  border: 1px solid rgba(15, 122, 69, 0.09);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.wd-card-bal-title {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}

.wd-card-bal {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: #0b4d2c;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Form & Input Elements */
.wd-card-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.wd-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #c9d5ce;
  border-radius: 10px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.wd-input-wrapper:focus-within {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(15, 122, 69, 0.12);
}

.wd-curr-symbol {
  padding-left: 10px;
  font-weight: 800;
  color: #0b4d2c;
  font-size: 14px;
  user-select: none;
}

.wd-input-field.in {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 8px 6px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #122b1e !important;
  outline: none !important;
  width: 100% !important;
  min-width: 0 !important;
  box-shadow: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.wd-max-pill {
  background: rgba(15, 122, 69, 0.1);
  color: var(--jade);
  border: 1px solid rgba(15, 122, 69, 0.2);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  margin-right: 6px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.wd-max-pill:hover {
  background: var(--jade);
  color: #ffffff;
  border-color: var(--jade);
}

.wd-max-pill:active {
  transform: scale(0.95);
}

.wd-min-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--muted);
  padding: 0 2px;
}

.wd-fee-rate-tag {
  font-size: 10px;
  color: #557062;
  font-weight: 600;
}

/* Submit Cashout Button */
.wd-btn-cashout {
  width: 100%;
  padding: 9.5px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: 0.02em;
}

.btn-theme-binary {
  background: linear-gradient(135deg, #0f7a45 0%, #09522e 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 122, 69, 0.2);
}

.btn-theme-binary:hover {
  box-shadow: 0 5px 15px rgba(15, 122, 69, 0.32);
  transform: translateY(-1px);
}

.btn-theme-ref {
  background: linear-gradient(135deg, #d97706 0%, #a15204 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.22);
}

.btn-theme-ref:hover {
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.btn-theme-cycle {
  background: linear-gradient(135deg, #059669 0%, #046244 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.22);
}

.btn-theme-cycle:hover {
  box-shadow: 0 5px 15px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.wd-btn-cashout:active {
  transform: translateY(1px) scale(0.985);
}

.wd-btn-cashout .btn-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.wd-btn-cashout:hover .btn-arrow {
  transform: translateX(2px);
}

/* Fee breakdown & alerts */
.wd-fee-preview {
  display: none;
  font-size: 11px;
  color: #0b4d2c;
  background: #ebf7f0;
  border: 1px solid #bce4cd;
  border-radius: 8px;
  padding: 6px 8px;
  text-align: center;
  line-height: 1.35;
}

.wd-fee-preview.ready {
  display: block;
}

.wd-payout-alert {
  display: none;
  font-size: 11px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 700;
}

.wd-payout-alert.show {
  display: block;
}

/* ==========================================================================
   INTERACTIVE LANDING PAGE STYLES & ANIMATIONS
   ========================================================================== */

/* Background Orbs */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orbs .orb-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.45), rgba(15, 122, 69, 0.15));
  animation-duration: 16s;
}

.orbs .orb-2 {
  width: 600px;
  height: 600px;
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, rgba(232, 148, 58, 0.28), rgba(245, 158, 11, 0.08));
  animation-duration: 22s;
}

.orbs .orb-3 {
  width: 480px;
  height: 480px;
  bottom: 5%;
  left: 15%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), rgba(200, 239, 216, 0.1));
  animation-duration: 20s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 45px) scale(1.08); }
  100% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.16) 0%, rgba(232, 148, 58, 0.06) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.cursor-glow.on {
  opacity: 1;
}

/* Top Live Ticker */
.ticker {
  background: linear-gradient(90deg, #094727 0%, #0f7a45 50%, #094727 100%);
  color: #ebfbee;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: tickerScroll 38s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sticky Glassmorphic Navbar */
.land-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(216, 246, 230, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 122, 69, 0.12);
  transition: all 0.25s ease;
}

.land-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 70, 42, 0.08);
  border-bottom-color: rgba(15, 122, 69, 0.18);
}

.land-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.land-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.land-brand-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.land-brand-logo:hover {
  transform: scale(1.03);
}

.land-nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.land-nav-menu .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #214d38;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
  padding: 6px 2px;
}

.land-nav-menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--jade);
  transition: width 0.2s ease;
  border-radius: 2px;
}

.land-nav-menu .nav-link:hover {
  color: var(--jade);
}

.land-nav-menu .nav-link:hover::after {
  width: 100%;
}

.land-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.land-btn-plan {
  font-size: 12.5px !important;
  padding: 7px 14px !important;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #16a34a 0%, #0f7a45 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(15, 122, 69, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-glow:hover {
  box-shadow: 0 6px 20px rgba(15, 122, 69, 0.38);
  filter: brightness(1.06);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Hero Section */
.land-hero-section {
  position: relative;
  z-index: 2;
  padding: 24px 0 20px;
}

.hero-logo-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  max-width: 460px;
  width: 100%;
  animation: hero3dFloatRotate 7.5s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-logo-card.interacting {
  animation: none !important;
}

.hero-logo-card:hover {
  box-shadow: none;
}

@keyframes hero3dFloatRotate {
  0% {
    transform: perspective(1200px) rotateY(-18deg) rotateX(8deg) translateY(0px) scale3d(1, 1, 1);
  }
  30% {
    transform: perspective(1200px) rotateY(-6deg) rotateX(12deg) translateY(-8px) scale3d(1.02, 1.02, 1.02);
  }
  70% {
    transform: perspective(1200px) rotateY(16deg) rotateX(5deg) translateY(-14px) scale3d(1.02, 1.02, 1.02);
  }
  100% {
    transform: perspective(1200px) rotateY(18deg) rotateX(-6deg) translateY(-4px) scale3d(1, 1, 1);
  }
}

.hero-glow-ring {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 92%);
  height: min(420px, 92%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 148, 58, 0.32) 0%, rgba(34, 197, 94, 0.22) 42%, transparent 72%);
  filter: blur(36px);
  z-index: -1;
  opacity: 0.85;
  animation: pulseLogoGlow 5.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseLogoGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.95;
  }
}

.hero-main-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateZ(42px);
  filter: drop-shadow(0 20px 32px rgba(15, 70, 42, 0.24)) drop-shadow(0 6px 16px rgba(232, 148, 58, 0.32));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo-card:hover .hero-main-img {
  filter: drop-shadow(0 28px 44px rgba(15, 70, 42, 0.3)) drop-shadow(0 8px 24px rgba(232, 148, 58, 0.48));
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 122, 69, 0.14);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #143528;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.badge-top {
  top: -12px;
  right: -8px;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-bottom {
  bottom: -12px;
  left: -8px;
  animation: floatBadge 5s ease-in-out infinite alternate-reverse;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pulse-gold {
  background: #e8943a;
  box-shadow: 0 0 0 0 rgba(232, 148, 58, 0.6);
  animation: pulseDotGold 2s infinite;
}

.pulse-green {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulseDotGreen 2s infinite;
}

@keyframes pulseDotGold {
  0% { box-shadow: 0 0 0 0 rgba(232, 148, 58, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(232, 148, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 148, 58, 0); }
}

@keyframes pulseDotGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 122, 69, 0.08);
  border: 1px solid rgba(15, 122, 69, 0.18);
  color: var(--jade);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  display: inline-block;
  animation: pulseDotGreen 1.8s infinite;
}

.hero-title {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.08;
  margin: 12px 0 16px;
  color: #123023;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #0b6338 0%, #15803d 40%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-lg {
  padding: 13px 24px !important;
  font-size: 15px !important;
  border-radius: 999px;
  gap: 8px;
}

.btn-arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Stat Bands with Interactive Tooltips */
.stat-interactive {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.stat-interactive:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 70, 42, 0.12);
  border-color: rgba(15, 122, 69, 0.3);
}

.stat-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

/* Live Activity Bar */
.live-activity-bar {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.live-stream-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.live-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  animation: pulseDotRed 1.6s infinite;
}

@keyframes pulseDotRed {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.live-stream-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #143528;
  font-weight: 600;
  flex: 1;
}

.stream-msg {
  transition: opacity 0.3s ease;
}

.stream-time {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.live-stream-stats {
  font-size: 12px;
  color: #214d38;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Common Section Layout */
.section-pad {
  padding: 56px 0;
  position: relative;
  z-index: 2;
}

.sec-header {
  margin-bottom: 36px;
}

.sec-title {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 6px 0 10px;
  color: #113123;
}

.sec-lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

.text-center { text-align: center; }
.justify-center { justify-content: center; }
.w-100 { width: 100%; }
.text-green { color: #0f7a45 !important; }
.text-gold { color: #d97706 !important; }
.font-bold { font-weight: 800 !important; }

/* Dual Track Grid */
.dual-track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.track-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 70, 42, 0.12);
}

.track-card-featured {
  border: 2px solid rgba(232, 148, 58, 0.4);
  background: radial-gradient(circle at top right, rgba(254, 243, 199, 0.35), rgba(255, 255, 255, 0.85));
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: 18px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.28);
}

.track-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.track-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-binary {
  background: linear-gradient(135deg, rgba(15, 122, 69, 0.15), rgba(34, 197, 94, 0.25));
  color: var(--jade);
}

.icon-tradein {
  background: linear-gradient(135deg, rgba(232, 148, 58, 0.18), rgba(245, 158, 11, 0.28));
  color: #d97706;
}

.track-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-jade { color: var(--jade); }
.tag-gold { color: #d97706; }

.track-title {
  font-size: 22px;
  margin: 2px 0 0;
  color: #123023;
}

.track-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.track-metrics {
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 122, 69, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(15, 122, 69, 0.08);
}

.metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-label {
  color: var(--muted);
}

.metric-val {
  font-weight: 700;
  color: #143528;
}

/* Interactive Calculator Styles */
.calc-master-panel {
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 48px rgba(15, 70, 42, 0.1);
}

.calc-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.calc-nav-tabs {
  display: flex;
  background: #e8f7ee;
  border: 1px solid rgba(15, 122, 69, 0.12);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.calc-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #3b614e;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.calc-tab-btn.active {
  background: #ffffff;
  color: var(--jade);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.calc-pane {
  display: none;
}

.calc-pane.active {
  display: block;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 14px;
  font-weight: 700;
  color: #123023;
}

.calc-value-pill {
  background: linear-gradient(135deg, rgba(15, 122, 69, 0.12), rgba(34, 197, 94, 0.2));
  color: var(--jade);
  font-weight: 800;
  font-size: 15px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 122, 69, 0.18);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* Custom Range Slider */
.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #d1fae5;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #0f7a45);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 122, 69, 0.4);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-gold {
  background: #fef3c7;
}

.range-gold::-webkit-slider-thumb {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

.calc-range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 0 2px;
}

/* Quick Presets */
.calc-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tiny-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.preset-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-preset {
  border: 1px solid rgba(15, 122, 69, 0.16);
  background: #f4fbf7;
  color: #1f4f38;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-preset:hover,
.btn-preset.active {
  background: var(--jade);
  color: #fff;
  border-color: var(--jade);
}

/* Result Card */
.result-card-main {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid rgba(15, 122, 69, 0.2);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 70, 42, 0.08);
}

.result-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 122, 69, 0.12);
  margin-bottom: 16px;
}

.result-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--jade);
  text-transform: uppercase;
}

.result-big-number {
  font-size: 36px;
  font-weight: 700;
  color: #0b6338;
  font-family: var(--display);
  line-height: 1.1;
  margin-top: 4px;
}

.roi-badge-circle {
  background: linear-gradient(135deg, #e8943a, #d07a28);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(232, 148, 58, 0.3);
}

.roi-pct {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.roi-sub {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-top: 3px;
}

.result-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.res-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 122, 69, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.res-lbl {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.res-val {
  display: block;
  font-size: 16px;
  margin: 2px 0 1px;
  color: #123023;
}

.res-note {
  font-size: 10px;
  color: #557967;
}

/* Timeline Steps */
.cycle-timeline {
  background: #f7fdf9;
  border: 1px solid rgba(15, 122, 69, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.timeline-title {
  font-size: 11px;
  font-weight: 700;
  color: #214d38;
  margin-bottom: 10px;
}

.timeline-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.t-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(15, 122, 69, 0.25);
}

.t-final .t-dot {
  background: linear-gradient(135deg, #e8943a, #d97706);
}

.t-day {
  font-size: 10px;
  font-weight: 700;
  color: #143528;
  margin-top: 3px;
}

.t-amt {
  font-size: 10px;
  color: var(--jade);
  font-weight: 700;
  font-family: ui-monospace, monospace;
}

.t-line {
  flex: 1;
  height: 2px;
  background: #bbf7d0;
  margin: 0 4px;
  margin-bottom: 20px;
}

.calc-action-bar {
  margin-top: 4px;
}

/* Cap Meter */
.cap-meter-wrap {
  margin: 16px 0 20px;
}

.cap-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #214d38;
  margin-bottom: 6px;
}

.cap-meter-track {
  height: 10px;
  background: #e2f5ea;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(15, 122, 69, 0.12);
}

.cap-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #e8943a);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Interactive Binary Tree Demo */
.tree-demo-card {
  padding: 32px 28px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.98) 70%);
  border: 1.5px solid rgba(15, 122, 69, 0.16);
  box-shadow: 0 16px 44px rgba(15, 70, 42, 0.08);
}

.tree-controls-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 660px;
  margin: 0 auto 28px;
}

.tree-stat-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 16px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 70, 42, 0.05);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tree-stat-pill.pill-gold {
  border-color: rgba(232, 148, 58, 0.35);
  background: linear-gradient(180deg, #fffdfa, #fff8ee);
}

.tree-stat-pill.pill-earnings {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(180deg, #f7fdf9, #ecfdf3);
}

.tree-pill-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tree-pill-val {
  display: block;
  font-size: 22px;
  color: #123023;
  font-family: var(--display);
  line-height: 1.15;
  margin-top: 3px;
}

.tree-visual-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 24px;
  position: relative;
}

.tree-visual-container .tree-node {
  background: #ffffff;
  border: 2px solid var(--jade);
  border-radius: 18px;
  padding: 12px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 122, 69, 0.12);
  transition: all 0.2s ease;
  min-width: 130px;
}

.node-you {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border-color: var(--jade);
}

.node-you .node-avatar {
  font-size: 24px;
  line-height: 1;
}

.node-you .node-title {
  font-size: 13px;
  font-weight: 800;
  color: #123023;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.node-you .node-sub {
  font-size: 11px;
  color: var(--jade);
  background: rgba(15, 122, 69, 0.1);
  padding: 2px 10px;
  border-radius: 99px;
  font-weight: 700;
  margin-top: 4px;
  display: inline-block;
}

.tree-branch-lines {
  position: relative;
  width: 280px;
  height: 36px;
  margin: 0 auto;
  display: block;
}

.line-stem {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 18px;
  background: var(--jade);
  transform: translateX(-50%);
}

.line-left {
  position: absolute;
  top: 18px;
  left: 0;
  right: 50%;
  height: 2px;
  background: var(--jade);
  border-top-left-radius: 4px;
}

.line-left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 18px;
  background: var(--jade);
}

.line-right {
  position: absolute;
  top: 18px;
  left: 50%;
  right: 0;
  height: 2px;
  background: var(--jade);
  border-top-right-radius: 4px;
}

.line-right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 18px;
  background: var(--jade);
}

.tree-children-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 16px;
  position: relative;
}

.tree-branch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.node-child {
  border-color: rgba(15, 122, 69, 0.25);
  width: 100%;
  max-width: 210px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-child .node-avatar {
  font-size: 20px;
  line-height: 1;
}

.node-child .node-title {
  font-size: 12px;
  font-weight: 800;
  color: #123023;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.node-child .node-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: #edf6f1;
  padding: 3px 10px;
  border-radius: 8px;
  margin-top: 6px;
  display: inline-block;
}

.node-pulse {
  animation: nodePulse 0.35s ease;
}

@keyframes nodePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); border-color: var(--jade); box-shadow: 0 0 20px rgba(15, 122, 69, 0.35); }
  100% { transform: scale(1); }
}

.tree-btn-wrap {
  width: 100%;
  max-width: 210px;
}

.tree-btn-wrap .btn {
  width: 100% !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--jade) !important;
  background: #ffffff !important;
  color: var(--jade) !important;
  box-shadow: 0 4px 12px rgba(15, 122, 69, 0.08);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tree-btn-wrap .btn:hover {
  background: var(--jade) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 122, 69, 0.22);
}

.tree-btn-wrap .btn:active {
  transform: translateY(0) scale(0.97);
}

.tree-center-match-zone {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
  width: max-content;
}

.pair-match-burst {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border-radius: 18px;
  padding: 10px 20px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.pair-match-burst.pop {
  opacity: 1;
  transform: scale(1.1);
  animation: burstShake 0.4s ease;
}

@keyframes burstShake {
  0% { transform: scale(0.6) rotate(0deg); }
  30% { transform: scale(1.2) rotate(-5deg); }
  60% { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

.burst-icon { font-size: 18px; }
.burst-text { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; }
.burst-val { font-size: 16px; font-weight: 800; }

.tree-footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  margin-top: 16px;
  border-top: 1px dashed rgba(15, 122, 69, 0.2);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.tree-info-text {
  font-size: 12px;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* Steps Journey Grid */
.steps-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-journey-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 70, 42, 0.1);
}

.step-card-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 32px;
  font-weight: 900;
  color: rgba(15, 122, 69, 0.12);
  font-family: var(--display);
}

.step-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.step-journey-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: #123023;
}

.step-journey-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}

.step-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--jade);
  background: rgba(15, 122, 69, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Gateways Section */
.gateways-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.gateway-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 122, 69, 0.12);
  border-radius: 18px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gateway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 70, 42, 0.1);
  border-color: rgba(15, 122, 69, 0.28);
}

.gw-logo {
  height: 42px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.gw-name {
  font-size: 13px;
  font-weight: 700;
  color: #143528;
}

.gw-badge {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.fee-tier-panel {
  padding: 20px 24px;
  border-radius: 18px;
}

.fee-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.fee-col {
  padding: 8px 12px;
}

.fee-range {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.fee-pct {
  display: block;
  font-size: 22px;
  margin: 4px 0 2px;
  font-family: var(--display);
}

.fee-sub {
  display: block;
  font-size: 11px;
  color: #4a6b5a;
}

/* Searchable FAQ Accordion */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.faq-search-box {
  position: relative;
  margin-bottom: 24px;
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--muted);
}

#faqSearchInput {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(15, 122, 69, 0.18);
  border-radius: 999px;
  font-size: 14px;
  color: #143528;
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#faqSearchInput:focus {
  border-color: var(--jade);
  box-shadow: 0 6px 20px rgba(15, 122, 69, 0.16);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  background: #ffffff;
  border-color: rgba(15, 122, 69, 0.28);
  box-shadow: 0 8px 24px rgba(15, 70, 42, 0.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #143528;
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--jade);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Bottom Banner */
.cta-banner-card {
  padding: 48px 32px;
  border-radius: 28px;
  background: radial-gradient(circle at center, #f0fdf4 0%, #d8f6e6 100%);
  border: 1.5px solid rgba(15, 122, 69, 0.2);
  box-shadow: 0 20px 50px rgba(15, 70, 42, 0.12);
}

/* Floating Shortcuts */
.floating-shortcuts {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 85;
}

.floating-shortcut-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #16a34a, #0f7a45);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(15, 122, 69, 0.35);
  transition: all 0.2s ease;
}

.floating-shortcut-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 26px rgba(15, 122, 69, 0.45);
  color: #ffffff;
}

.floating-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--jade);
  font-size: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-end;
}

.floating-top-btn.show {
  display: flex;
}

.floating-top-btn:hover {
  background: var(--jade);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   MODERN FINTECH MICRO-INTERACTIONS & ANIMATION SYSTEM
   ========================================================================== */

/* 1. Kinetic Canvas Layer */
.kinetic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* 2. 3D Interactive Card & Stat Tilt with Dynamic Light Sheen */
.card,
.stat,
.track-card,
.step-journey-card,
.gateway-card {
  --card-rx: 0deg;
  --card-ry: 0deg;
  --card-scale: 1;
  --mouse-x: -500px;
  --mouse-y: -500px;
  --sheen-opacity: 0;
  position: relative;
  border-radius: var(--radius, 22px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.28s ease, border-color 0.2s ease;
  overflow: hidden;
}

/* Hover state enhancement */
.card:hover,
.stat:hover,
.track-card:hover,
.step-journey-card:hover,
.gateway-card:hover {
  box-shadow: 0 20px 48px rgba(15, 70, 42, 0.14), 0 0 0 1px rgba(34, 197, 94, 0.22);
}

/* Dynamic Light Sheen Effect following cursor */
.card::after,
.stat::after,
.track-card::after,
.step-journey-card::after,
.gateway-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle 340px at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 255, 255, 0.38),
    rgba(34, 197, 94, 0.12) 32%,
    transparent 72%
  );
  opacity: var(--sheen-opacity, 0);
  transition: opacity 0.25s ease;
  mix-blend-mode: overlay;
  z-index: 5;
}

/* 3. Scroll-Triggered Reveal Animations (Intersection Observer) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Active 3D tilt perspective for revealed cards */
.card.reveal.in,
.stat.reveal.in,
.track-card.reveal.in,
.step-journey-card.reveal.in,
.gateway-card.reveal.in {
  transform: perspective(1000px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg)) scale3d(var(--card-scale, 1), var(--card-scale, 1), var(--card-scale, 1));
}

/* Staggered Delay Utilities */
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.19s; }
.d4 { transition-delay: 0.26s; }
.d5 { transition-delay: 0.33s; }

/* Staggered Child Grid Delays */
.grid3 > *:nth-child(1),
.stats-band > *:nth-child(1),
.dual-track-grid > *:nth-child(1),
.steps-journey-grid > *:nth-child(1) { transition-delay: 0.06s; }

.grid3 > *:nth-child(2),
.stats-band > *:nth-child(2),
.dual-track-grid > *:nth-child(2),
.steps-journey-grid > *:nth-child(2) { transition-delay: 0.14s; }

.grid3 > *:nth-child(3),
.stats-band > *:nth-child(3),
.steps-journey-grid > *:nth-child(3) { transition-delay: 0.22s; }

.grid3 > *:nth-child(4),
.stats-band > *:nth-child(4) { transition-delay: 0.30s; }

.gateways-grid > *:nth-child(1) { transition-delay: 0.05s; }
.gateways-grid > *:nth-child(2) { transition-delay: 0.10s; }
.gateways-grid > *:nth-child(3) { transition-delay: 0.15s; }
.gateways-grid > *:nth-child(4) { transition-delay: 0.20s; }
.gateways-grid > *:nth-child(5) { transition-delay: 0.25s; }

/* 4. Animated KPI Counter Styling */
.kpi-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  will-change: transform;
}

/* Standard Stable Button State */
.btn {
  position: relative;
  transition: filter 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Responsive Queries for Landing Page */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .hero-logo-wrapper {
    order: -1;
  }
  .hero-logo-card {
    max-width: 360px;
  }
  .hero-content .cta {
    justify-content: center;
  }
  .hero-content .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .dual-track-grid {
    grid-template-columns: 1fr;
  }
  .gateways-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-journey-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Navbar & Mobile Drawer */
  .land-nav-wrap {
    padding: 8px 0;
  }
  .land-brand-logo {
    height: 38px;
  }
  .land-nav-actions {
    gap: 6px;
  }
  .land-nav-actions .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .land-nav-menu {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-160%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 89;
  }
  .land-nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-toggle {
    display: flex;
    padding: 6px 4px;
  }
  .land-btn-plan {
    display: none !important;
  }

  /* Hero Mobile Refinement */
  .land-hero-section {
    padding: 10px 0 16px;
  }
  .hero {
    gap: 16px;
    padding: 10px 0 20px;
  }
  .hero-logo-wrapper {
    perspective: none;
    order: -1;
  }
  .hero-logo-card {
    max-width: 190px !important;
    margin: 0 auto;
    animation: none !important;
    transform: none !important;
  }
  .hero-main-img {
    max-width: 180px !important;
    transform: none !important;
    filter: drop-shadow(0 10px 22px rgba(15, 70, 42, 0.18)) !important;
  }
  .hero-glow-ring {
    width: 200px !important;
    height: 200px !important;
  }
  .kicker-pill {
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: 6px;
  }
  .hero-title {
    font-size: 28px !important;
    line-height: 1.14;
    margin: 8px 0 10px;
    letter-spacing: -0.02em;
  }
  .hero-content .lede {
    font-size: 14px !important;
    line-height: 1.5;
    padding: 0 4px;
    max-width: 100%;
  }
  .hero-content .cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 18px;
  }
  .hero-content .cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 14.5px !important;
  }

  /* Stats & Grids */
  .gateways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fee-tier-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stats-band {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 18px 0 24px;
  }
  .stat {
    padding: 12px 10px;
    text-align: center;
  }
  .stat b {
    font-size: 20px;
  }
  .calc-master-panel {
    padding: 20px;
  }
  /* Tree Simulator Mobile Overhaul - Clean, Compact Side-by-Side Tree */
  .tree-demo-card {
    padding: 18px 12px;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 0%, rgba(240, 253, 244, 0.98), #ffffff 80%);
  }
  .tree-controls-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
  }
  .tree-stat-pill {
    padding: 8px 10px !important;
    border-radius: 12px !important;
    min-width: 0 !important;
  }
  .tree-pill-label {
    font-size: 9.5px !important;
  }
  .tree-pill-val {
    font-size: 18px !important;
  }
  .tree-visual-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
  }
  .node-you {
    min-width: 110px !important;
    padding: 7px 14px !important;
    border-radius: 14px !important;
  }
  .node-you .node-avatar {
    font-size: 18px !important;
  }
  .node-you .node-title {
    font-size: 11.5px !important;
  }
  .node-you .node-sub {
    font-size: 9.5px !important;
    padding: 1px 7px !important;
  }
  .tree-branch-lines {
    display: block !important;
    width: calc(50% + 6px) !important;
    max-width: 240px !important;
    height: 24px !important;
    margin: 0 auto !important;
  }
  .line-stem {
    height: 12px !important;
  }
  .line-left {
    top: 12px !important;
    left: 0 !important;
    right: 50% !important;
    height: 2px !important;
  }
  .line-left::after {
    height: 12px !important;
    left: 0 !important;
  }
  .line-right {
    top: 12px !important;
    left: 50% !important;
    right: 0 !important;
    height: 2px !important;
  }
  .line-right::after {
    height: 12px !important;
    right: 0 !important;
  }
  .tree-children-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    position: relative !important;
  }
  .tree-branch-col {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    gap: 8px !important;
  }
  .node-child {
    max-width: 100% !important;
    padding: 10px 6px !important;
    border-radius: 14px !important;
  }
  .node-child .node-avatar {
    font-size: 16px !important;
  }
  .node-child .node-title {
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .node-child .node-sub {
    font-size: 10px !important;
    padding: 2px 7px !important;
    margin-top: 4px !important;
  }
  .tree-btn-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
  .tree-btn-wrap .btn {
    width: 100% !important;
    padding: 8px 4px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(15, 122, 69, 0.08) !important;
  }
  .tree-center-match-zone {
    position: absolute !important;
    top: 35% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 25 !important;
    min-width: 0 !important;
    width: max-content !important;
    pointer-events: none !important;
  }
  .pair-match-burst {
    padding: 6px 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45) !important;
  }
  .burst-icon { font-size: 15px !important; }
  .burst-text { font-size: 9px !important; }
  .burst-val { font-size: 14px !important; }
  .tree-footer-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
  }
  .tree-footer-actions button.btn {
    flex: 1 1 calc(50% - 4px) !important;
    padding: 9px 8px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }
  .tree-info-text {
    font-size: 10.5px !important;
    margin-top: 4px !important;
    line-height: 1.35 !important;
  }

  /* Floating shortcuts */
  .floating-shortcuts {
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }
  .floating-shortcut-btn {
    padding: 7px 12px;
    font-size: 11px;
    box-shadow: 0 4px 14px rgba(15, 122, 69, 0.3);
  }
  .floating-top-btn {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
}

/* Binary Positioning & Clickable Tree Slot Enhancements */
.clickable-slot {
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.clickable-slot:hover {
  background: #e8f9f0 !important;
  border-color: var(--jade) !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 6px 16px rgba(15, 122, 69, 0.15) !important;
}
.encode-pos-btn, .self-pos-btn {
  transition: all 0.2s ease !important;
}
.encode-pos-btn:hover, .self-pos-btn:hover {
  background: #f4fbf7 !important;
}

/* =========================================================
   INTERACTIVE AUTH SYSTEM (LOGIN & REGISTER)
   ========================================================= */
.auth-page-body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background: 
    radial-gradient(800px 500px at 15% 20%, rgba(34, 197, 94, 0.18), transparent 70%),
    radial-gradient(900px 600px at 85% 75%, rgba(232, 148, 58, 0.14), transparent 70%),
    linear-gradient(160deg, #e4f7ed 0%, #c8efd8 45%, #b2e4c6 100%);
}

.auth-ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(15, 122, 69, 0.18) 0%, rgba(34, 197, 94, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  z-index: 0;
  opacity: 0.8;
}

.auth-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.auth-art {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  background: transparent;
  border-right: 1px solid rgba(15, 122, 69, 0.12);
  position: relative;
}

.auth-logo-interactive {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: drop-shadow(0 12px 28px rgba(15, 122, 69, 0.18));
}
.auth-logo-interactive:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 18px 36px rgba(232, 148, 58, 0.3));
}

.auth-live-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 390px;
  margin-top: 10px;
}

.auth-live-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 11px 16px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(15, 70, 42, 0.05);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.auth-live-badge:hover {
  transform: translateY(-3px) translateX(4px);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 70, 42, 0.1);
  border-color: var(--jade);
}
.auth-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: rgba(15, 122, 69, 0.1);
  flex-shrink: 0;
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 32px 32px 28px;
  box-shadow: 0 20px 50px rgba(15, 70, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.auth-card:hover {
  box-shadow: 0 26px 65px rgba(15, 70, 42, 0.15), 0 4px 10px rgba(0, 0, 0, 0.03);
}

.auth-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(15, 122, 69, 0.06);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 122, 69, 0.1);
}
.auth-switcher-btn {
  text-align: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
}
.auth-switcher-btn.active {
  background: #ffffff;
  color: var(--jade);
  box-shadow: 0 2px 8px rgba(15, 70, 42, 0.12);
}
.auth-switcher-btn:hover:not(.active) {
  color: var(--text);
}

.auth-field-group {
  margin-bottom: 16px;
  position: relative;
}
.auth-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.auth-field-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-field-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 2;
}
.auth-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1.5px solid rgba(15, 70, 42, 0.15);
  background: #ffffff;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-input:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(15, 122, 69, 0.12);
}
.auth-input.is-valid {
  border-color: var(--jade);
}

.auth-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  padding: 4px 6px;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s, transform 0.2s;
  z-index: 2;
}
.auth-toggle-pwd:hover {
  color: var(--jade);
  transform: scale(1.1);
}

.auth-field-status {
  position: absolute;
  right: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--jade);
  display: none;
  z-index: 2;
}
.auth-field-status.show {
  display: inline-block;
}

/* Password Strength Meter */
.pwd-strength-wrap {
  margin-top: 6px;
}
.pwd-strength-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(15, 70, 42, 0.08);
}
.pwd-strength-seg {
  height: 100%;
  border-radius: 2px;
  background: transparent;
  transition: background 0.3s ease;
}
.pwd-strength-text {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

/* Submit button with interactive shimmer */
.auth-submit-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--jade) 0%, var(--jade2) 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 122, 69, 0.24);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.auth-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 122, 69, 0.32);
}
.auth-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}
.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Shake Animation on Error */
@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.auth-card.shake {
  animation: authShake 0.4s ease;
}

/* Quick Fill Chip */
.quick-fill-bar {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.quick-chip-btn {
  background: rgba(15, 122, 69, 0.08);
  border: 1px dashed rgba(15, 122, 69, 0.3);
  color: var(--jade);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-chip-btn:hover {
  background: var(--jade);
  color: #ffffff;
}

@media (max-width: 860px) {
  .auth-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0;
  }
  .auth-art {
    padding: 24px 16px 8px;
    border-right: none;
    border-bottom: none;
    gap: 0;
    width: 100%;
  }
  .auth-logo-interactive img {
    max-width: 155px !important;
  }
  .auth-art-copy {
    display: none !important;
  }
  .auth-art .stats-band {
    display: none !important;
  }
  .auth-live-badges {
    display: none !important;
  }
  .auth-form-wrap {
    padding: 6px 16px 32px;
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
  }
  .auth-card {
    padding: 22px 18px 22px;
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(15, 70, 42, 0.1);
    width: 100%;
  }
  .auth-switcher {
    margin-bottom: 16px;
    padding: 3px;
  }
  .auth-switcher-btn {
    padding: 8px 10px;
    font-size: 13px;
  }
  .auth-card h1 {
    font-size: 22px !important;
    margin: 0 0 4px !important;
  }
  .auth-card p.muted {
    font-size: 12.5px !important;
  }
  .auth-field-group {
    margin-bottom: 13px;
  }
  .auth-field-label {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .auth-input {
    height: 46px;
    font-size: 16px !important; /* Prevents auto-zoom on mobile browsers */
    padding-left: 38px;
  }
  .auth-field-icon {
    font-size: 14px;
    left: 12px;
  }
  .auth-submit-btn {
    padding: 12px 18px;
    font-size: 15px;
    margin-top: 16px !important;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .auth-art {
    padding: 18px 12px 4px;
  }
  .auth-logo-interactive img {
    max-width: 138px !important;
  }
  .auth-form-wrap {
    padding: 2px 12px 24px;
  }
  .auth-card {
    padding: 18px 15px 20px;
    border-radius: 18px;
  }
}

/* =========================================================
   ADMIN REFERRAL LINK STYLES
   ========================================================= */
.admin-side-ref-box {
  margin: 14px 10px 10px;
  padding: 12px;
  background: rgba(15, 122, 69, 0.05);
  border: 1px solid rgba(15, 122, 69, 0.18);
  border-radius: 12px;
}

.admin-ref-banner {
  background: linear-gradient(135deg, rgba(15, 122, 69, 0.07) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(15, 122, 69, 0.22);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(10, 40, 25, 0.03);
}

.admin-ref-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-ref-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f7a45, #0b4d2c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 122, 69, 0.25);
  flex-shrink: 0;
}

.admin-ref-banner-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 280px;
  max-width: 540px;
}

@media (max-width: 768px) {
  .admin-ref-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .admin-ref-banner-right {
    max-width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   INTERACTIVE MULTI-LEVEL GENEALOGY TREE & DRILL-DOWN VISUALIZER
   ========================================================================== */
.genealogy-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  background: #f4faf6;
  border: 1px solid rgba(15, 122, 69, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  flex-wrap: wrap;
}

.genealogy-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}

.tree-bc-crumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.2);
  color: #0b4d2c;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.tree-bc-crumb:hover {
  background: #e8f7ee;
  border-color: var(--jade);
  transform: translateY(-1px);
}

.tree-bc-crumb.active {
  background: var(--jade);
  color: #ffffff;
  border-color: var(--jade);
  cursor: default;
}

.tree-bc-sep {
  color: #8fa89b;
  font-weight: 700;
  font-size: 11px;
}

.genealogy-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.genealogy-search-in {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  width: 180px;
  background: #ffffff;
}
.genealogy-search-in:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 2px rgba(15, 122, 69, 0.15);
}

.genealogy-canvas-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 20px 10px 30px;
  background: radial-gradient(circle at center, #fbfdfc 0%, #f4faf6 100%);
  border: 1px solid rgba(15, 122, 69, 0.15);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 420px;
}

.tree-root-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  margin-bottom: 4px;
  display: inline-block;
}

/* ==========================================================================
   GENEALOGY TREE - EXPANDING MULTI-LEVEL BINARY STRUCTURE
   ========================================================================== */
.tree-root-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.tree-node.root-node {
  border: 2px solid var(--gold);
  background: #fffdfa;
  border-radius: 14px;
  padding: 12px 20px;
  text-align: center;
  min-width: 160px;
  max-width: 240px;
  box-shadow: 0 8px 24px rgba(180, 130, 20, 0.18);
  position: relative;
  z-index: 2;
}

/* Vertical line from Root down */
.tree-connector-main {
  width: 2px;
  height: 24px;
  background: #0f7a45;
  margin: 0 auto;
}

/* Row containing Level 2 (Left Leg & Right Leg) */
.tree-children-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Horizontal line splitting Root to Left and Right */
.tree-children-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #0f7a45;
  z-index: 1;
}

/* Each leg branch (Left or Right) */
.tree-subbranch {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 280px;
  max-width: 440px;
  position: relative;
}

/* Vertical line connecting horizontal bar to child card */
.tree-branch-top-connector {
  width: 2px;
  height: 18px;
  background: #0f7a45;
  margin: 0 auto;
}

/* Child Card (Level 2) */
.tree-node.child-node {
  background: #ffffff;
  border: 2px solid var(--jade);
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  width: 100%;
  max-width: 210px;
  box-shadow: 0 4px 14px rgba(15, 70, 42, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.tree-node.child-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 70, 42, 0.16);
  border-color: #0b4d2c;
}

.tree-node.child-node.active-member {
  border-color: var(--jade);
}

.tree-node.child-node.inactive-member {
  border-color: #94a3b8;
  background: #f8fafc;
}

/* Empty slot at Level 2 */
.tree-node.empty-slot {
  background: #fafffc;
  border: 2px dashed rgba(15, 122, 69, 0.35);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  width: 100%;
  max-width: 210px;
  box-shadow: 0 2px 8px rgba(15, 70, 42, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
}

.tree-node.empty-slot:hover {
  border-color: var(--jade);
  background: #edfbf3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 122, 69, 0.15);
}

/* Vertical line connecting child card down to grandchildren */
.tree-subbranch-down-connector {
  width: 2px;
  height: 20px;
  background: #0f7a45;
  margin: 0 auto;
}

/* Row containing Level 3 (Grandchildren) */
.tree-grandchild-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  width: 100%;
  margin-top: 0;
}

/* Horizontal line splitting child to left and right grandchildren */
.tree-grandchild-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #0f7a45;
  z-index: 1;
}

/* Vertical connector for grandchild branch */
.tree-grandchild-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 120px;
  max-width: 190px;
  position: relative;
}

.tree-grandchild-connector {
  width: 2px;
  height: 16px;
  background: #0f7a45;
  margin: 0 auto;
}

/* Grandchild card (Level 3) */
.tree-grandchild-node {
  background: #ffffff;
  border: 1.5px solid var(--jade);
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
  width: 100%;
  box-shadow: 0 2px 10px rgba(15, 70, 42, 0.08);
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.tree-grandchild-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 70, 42, 0.18);
  border-color: #0b4d2c;
}

.tree-grandchild-node.active-slot {
  border-color: var(--jade);
  background: #ffffff;
}

.tree-grandchild-node.inactive-slot {
  border-color: #94a3b8;
  background: #f8fafc;
}

.tree-grandchild-node.empty-slot {
  border: 1.5px dashed rgba(15, 122, 69, 0.35);
  background: #fafffc;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 6px;
}

.tree-grandchild-node.empty-slot:hover {
  border-color: var(--jade);
  background: #edfbf3;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 122, 69, 0.15);
}

.grandchild-mob {
  font-size: 11.5px;
  font-weight: 700;
  color: #0b4d2c;
  margin: 2px 0 3px;
  line-height: 1.2;
}

.grandchild-stats {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 2px;
}

/* Explore Drilldown button */
.btn-drilldown-node {
  margin-top: 6px;
  background: #f0fbf5;
  border: 1px solid rgba(15, 122, 69, 0.3);
  color: var(--jade);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-drilldown-node:hover {
  background: var(--jade);
  color: #ffffff;
  border-color: var(--jade);
}

/* Level 4 mini slots */
.tree-l4-row {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 6px;
  width: 100%;
}

.tree-l4-node {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.25);
  border-radius: 6px;
  padding: 3px 4px;
  font-size: 8px;
  flex: 1;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.tree-l4-node.empty-slot {
  border: 1px dashed rgba(15, 122, 69, 0.3);
  background: #fafffc;
  color: var(--jade);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   GLASSMORPHIC CONFIRMATION POPUP MODAL
   ========================================================================== */
.modal-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: confirmFadeIn 0.18s ease-out;
}

@keyframes confirmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-confirm-card {
  background: #ffffff;
  border: 1.5px solid rgba(15, 122, 69, 0.3);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: confirmZoomIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes confirmZoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.confirm-head {
  padding: 20px 24px 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(15, 122, 69, 0.12);
  background: linear-gradient(180deg, #f8fcf9 0%, #ffffff 100%);
}

.confirm-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f9f0;
  color: var(--jade);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(15, 122, 69, 0.2);
}

.confirm-icon-circle.danger {
  background: #fef2f2;
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
}

.confirm-icon-circle.warn {
  background: #fffbeb;
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
}

.confirm-title {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 800;
  color: #0b4d2c;
  line-height: 1.3;
}

.confirm-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.confirm-body {
  padding: 18px 24px;
}

.confirm-details-table {
  width: 100%;
  border-collapse: collapse;
  background: #f9fcf9;
  border: 1px solid rgba(15, 122, 69, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.confirm-details-table td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(15, 122, 69, 0.08);
}

.confirm-details-table tr:last-child td {
  border-bottom: none;
}

.confirm-details-table td.label {
  color: var(--muted);
  font-weight: 600;
  width: 40%;
}

.confirm-details-table td.val {
  color: #0b4d2c;
  font-weight: 700;
  text-align: right;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 24px 20px;
  background: #fbfdfc;
  border-top: 1px solid rgba(15, 122, 69, 0.08);
}

.confirm-actions .btn {
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
}

/* ==========================================================================
   TRADE-IN RECEIPT UPLOAD & ADMIN RECEIPT PREVIEW LIGHTBOX
   ========================================================================== */
.receipt-dropzone {
  border: 2px dashed rgba(15, 122, 69, 0.35);
  background: #f8fdf9;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin: 12px 0;
}

.receipt-dropzone:hover,
.receipt-dropzone.dragover {
  border-color: var(--jade);
  background: #effaf3;
  transform: translateY(-1px);
}

.receipt-drop-icon {
  font-size: 32px;
  margin-bottom: 6px;
  display: block;
}

.receipt-drop-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0b4d2c;
  margin: 0 0 3px;
}

.receipt-drop-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
}

.receipt-preview-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.25);
  border-radius: 12px;
  margin-top: 10px;
}

.receipt-preview-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  flex-shrink: 0;
}

.receipt-preview-meta {
  flex: 1;
  min-width: 0;
}

.receipt-preview-filename {
  font-size: 12px;
  font-weight: 700;
  color: #0b4d2c;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.receipt-preview-size {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.receipt-remove-btn {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.receipt-remove-btn:hover {
  background: #fecaca;
}

/* Survio-inspired Action Button */
.receipt-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 122, 69, 0.35);
  background: rgba(15, 122, 69, 0.08);
  color: #0b4d2c;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.receipt-view-btn:hover {
  background: rgba(15, 122, 69, 0.2);
  border-color: var(--jade);
  transform: translateY(-1px);
}

/* Lightbox Modal */
.receipt-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: confirmFadeIn 0.2s ease-out;
}

.receipt-lightbox-card {
  background: rgba(20, 30, 24, 0.97);
  border: 1px solid rgba(15, 122, 69, 0.45);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  animation: confirmZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.receipt-lightbox-head {
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  background: rgba(10, 20, 15, 0.9);
}

.receipt-lightbox-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #09120c;
  min-height: 240px;
  max-height: 72vh;
  position: relative;
}

.receipt-lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  transition: transform 0.25s ease, max-height 0.25s ease;
  user-select: none;
}

.receipt-lightbox-img.zoomed {
  max-height: none;
  max-width: none;
  transform: scale(1.6);
  cursor: zoom-out;
}

.receipt-lightbox-footer {
  padding: 12px 20px;
  background: rgba(10, 20, 15, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   GENEALOGY EXPANDED TREE & NETWORK METRICS
   ========================================================================== */
.tree-depth-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 122, 69, 0.08);
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid rgba(15, 122, 69, 0.18);
}

.depth-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.depth-btn:hover {
  color: var(--jade);
  background: rgba(15, 122, 69, 0.12);
}

.depth-btn.active {
  background: var(--jade);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 122, 69, 0.35);
}

.tree-network-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.tree-stat-card {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.16);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(15, 70, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tree-stat-card .tree-stat-val {
  font-size: 17px;
  font-weight: 800;
  color: #0b4d2c;
  line-height: 1.1;
}

.tree-stat-card .tree-stat-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.unactivated-directs-banner {
  background: linear-gradient(135deg, rgba(235, 153, 30, 0.1) 0%, rgba(243, 112, 33, 0.15) 100%);
  border: 1px solid rgba(243, 112, 33, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   TRADE-IN CYCLE MONITOR & CLAIM SYSTEM
   ========================================================================== */
.tradein-monitor-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fdfa 100%);
  border: 1px solid rgba(15, 122, 69, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(15, 70, 42, 0.04);
  transition: all 0.25s ease;
}

.tradein-monitor-card:hover {
  border-color: rgba(15, 122, 69, 0.35);
  box-shadow: 0 6px 20px rgba(15, 70, 42, 0.08);
}

.tradein-progress-wrap {
  position: relative;
  background: rgba(15, 122, 69, 0.1);
  height: 9px;
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 16px;
}

.tradein-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0b4d2c 0%, #0f7a45 50%, #20c997 100%);
  border-radius: 99px;
  transition: width 0.5s ease-out;
}

.tradein-milestones {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: -12px;
  padding: 0 4px;
}

.milestone-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.milestone-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: transparent;
  transition: all 0.25s ease;
}

.milestone-node.completed .milestone-dot {
  background: var(--jade);
  border-color: var(--jade);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 122, 69, 0.4);
}

.milestone-node.current .milestone-dot {
  border-color: #f59e0b;
  background: #fef3c7;
  color: #b45309;
  animation: pulseDot 1.5s infinite;
}

.milestone-lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
}

.milestone-node.completed .milestone-lbl {
  color: var(--jade);
}

.tradein-claim-btn {
  background: linear-gradient(135deg, #0b4d2c 0%, #0f7a45 100%);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(15, 122, 69, 0.3);
  transition: all 0.25s ease;
  animation: pulseClaim 2s infinite;
}

.tradein-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 122, 69, 0.45);
}

@keyframes pulseClaim {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 6px 20px rgba(15, 122, 69, 0.5); }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.tradein-countdown-pill {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   EARNINGS HISTORY SYSTEM
   ========================================================================== */
.earnings-filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.earnings-filter-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.18);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.earnings-filter-btn:hover {
  border-color: var(--jade);
  color: var(--jade);
}

.earnings-filter-btn.active {
  background: var(--jade);
  color: #ffffff;
  border-color: var(--jade);
  box-shadow: 0 2px 10px rgba(15, 122, 69, 0.3);
}

.earning-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-referral {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-indirect {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.badge-matching {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-tradein-ref {
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-tradein-yield {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.earnings-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.earning-sum-card {
  background: #ffffff;
  border: 1px solid rgba(15, 122, 69, 0.15);
  border-radius: 12px;
  padding: 10px 12px;
}

.earning-sum-card .sum-val {
  font-size: 15px;
  font-weight: 800;
  color: #0b4d2c;
}

.earning-sum-card .sum-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   TRADE-IN SLOTS CAPACITY & 3-DAY PAUSED CLAIM SYSTEM STYLES
   ========================================================================== */

.tradein-slots-card {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.95), rgba(255, 255, 255, 0.98));
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(15, 122, 69, 0.07);
}

.tradein-slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.slots-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #0f7a45;
  color: #ffffff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(15, 122, 69, 0.25);
}

.slots-pill-badge.full {
  background: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.tradein-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 8px;
}

.tradein-slot-card {
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
}

.tradein-slot-card.slot-active {
  background: #ffffff;
  border: 1.5px solid rgba(15, 122, 69, 0.4);
  box-shadow: 0 2px 8px rgba(15, 122, 69, 0.08);
}

.tradein-slot-card.slot-pending {
  background: #fffdf5;
  border: 1.5px dashed #f59e0b;
}

.tradein-slot-card.slot-claimable {
  background: #f0fdf4;
  border: 2px solid #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  animation: pulse-border 1.8s infinite;
}

.tradein-slot-card.slot-empty {
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px dashed rgba(15, 122, 69, 0.25);
  color: var(--muted);
}

.tradein-slot-card .slot-num {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0b4d2c;
  margin-bottom: 2px;
}

.tradein-slot-card.slot-empty .slot-num {
  color: var(--muted);
}

.tradein-slot-card .slot-capital {
  font-size: 12.5px;
  font-weight: 800;
  color: #0b4d2c;
  margin: 0;
}

.tradein-slot-card .slot-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  margin-top: 3px;
}

.slot-badge-active {
  background: rgba(15, 122, 69, 0.12);
  color: #0f7a45;
}

.slot-badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.slot-badge-claim {
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
}

.slot-badge-free {
  background: #f3f4f6;
  color: #6b7280;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tradein-claim-btn-glowing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  animation: pulse-btn 2s infinite;
}

.tradein-claim-btn-glowing:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

@keyframes pulse-btn {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.tradein-paused-alert {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11.5px;
  color: #991b1b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  line-height: 1.4;
}

.encode-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.encode-mode-btn {
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  background: #f9fafb;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.encode-mode-btn.active {
  border-color: var(--jade);
  background: #f0fbf5;
  color: #0b4d2c;
  box-shadow: 0 2px 8px rgba(15, 122, 69, 0.12);
}