@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-main: #060606;
  --bg-sidebar: #090909;
  --panel-bg: #0e0d0b;
  --panel-card: #13120f;
  --panel-hover: #181713;
  --line-gold: rgba(226, 183, 65, 0.22);
  --line-subtle: rgba(255, 255, 255, 0.08);
  --gold-primary: #e6b744;
  --gold-light: #fff0ad;
  --gold-dark: #8c6008;
  --gold-glow: rgba(230, 183, 68, 0.25);
  --text-primary: #f8edc8;
  --text-secondary: #9e9171;
  --text-muted: #6e644c;
  --accent-green: #4ade80;
  --accent-red: #f87171;
  --accent-blue: #60a5fa;
  --accent-purple: #c084fc;
  --sidebar-w: 270px;
  --topbar-h: 74px;
  --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(1100px 600px at 85% -10%, rgba(230, 183, 68, 0.12), transparent 70%),
    radial-gradient(800px 500px at 5% 50%, rgba(140, 96, 8, 0.08), transparent 70%),
    radial-gradient(900px 600px at 50% 100%, rgba(230, 183, 68, 0.05), transparent 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* =========================================================
   LAYOUT SHELL
   ========================================================= */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* =========================================================
   SIDEBAR (Laptop & Desktop)
   ========================================================= */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #090909 0%, #0c0b09 60%, #140f04 100%);
  border-right: 1px solid var(--line-gold);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(226, 183, 65, 0.15);
  border-radius: 4px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 22px;
  border-bottom: 1px solid rgba(226, 183, 65, 0.15);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
  color: #171000;
  background: linear-gradient(135deg, #fff2a8 0%, #d89f1d 50%, #754e00 100%);
  box-shadow: 0 0 25px rgba(230, 183, 68, 0.25), inset 0 1px 1px #fff;
  overflow: hidden;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(230,183,68,0.3));
}

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

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff2ad;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.btn-web3-connect {
  background: linear-gradient(135deg, rgba(230,183,68,0.15), rgba(255,255,255,0.04));
  border: 1px solid rgba(230,183,68,0.4);
  color: #fff2ad;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-web3-connect:hover {
  background: rgba(230,183,68,0.25);
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px rgba(230,183,68,0.3);
}

.btn-web3-connect.connected {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.4);
  color: #6ee7b7;
}

.member-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  margin: 16px 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 183, 68, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(226, 183, 65, 0.18);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #1a1200;
  background: linear-gradient(135deg, #ffea9f 0%, #c48e17 100%);
  border: 2px solid rgba(255, 240, 173, 0.6);
  box-shadow: 0 0 14px rgba(230, 183, 68, 0.2);
  flex-shrink: 0;
}

.avatar.small {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.member-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff1b4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-info span {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-info span i, .live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.nav-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 18px 8px 8px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #aa9c7a;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  position: relative;
}

.nav-link:hover {
  background: rgba(230, 183, 68, 0.08);
  color: #fff1b4;
  transform: translateX(3px);
}

.nav-link.active {
  background: linear-gradient(90deg, rgba(230, 183, 68, 0.2) 0%, rgba(230, 183, 68, 0.04) 100%);
  border-color: rgba(230, 183, 68, 0.35);
  color: #fff5c5;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--gold-primary);
}

.nav-icon {
  width: 26px;
  text-align: center;
  font-size: 18px;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link b {
  margin-left: auto;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
}

.nav-link.active b {
  color: var(--gold-primary);
  background: rgba(230, 183, 68, 0.15);
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 18px;
}

.support-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 183, 68, 0.22);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(145deg, #161309 0%, #0d0c0a 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support-icon {
  font-size: 20px;
  color: var(--gold-light);
}

.support-card strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.support-card small {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.support-card button {
  margin-top: 8px;
  border: 1px solid rgba(230, 183, 68, 0.35);
  background: linear-gradient(135deg, #261d07 0%, #151105 100%);
  color: #ffe694;
  border-radius: 10px;
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
}

.support-card button:hover {
  background: linear-gradient(135deg, #443206 0%, #201905 100%);
  color: #fff;
}

.logout-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px 4px;
  color: #8c7d5c;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.logout-link:hover {
  color: var(--accent-red);
}

/* =========================================================
   MAIN CONTENT & TOPBAR
   ========================================================= */
.main-content {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  border-bottom: 1px solid rgba(230, 183, 68, 0.15);
  background: rgba(6, 6, 6, 0.85);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 30;
}

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #12100a;
  border: 1px solid rgba(230, 183, 68, 0.25);
  color: var(--gold-light);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.eyebrow.gold {
  color: var(--gold-primary);
}

.topbar h1 {
  font-size: 21px;
  font-weight: 800;
  margin: 2px 0 0;
  color: #fff;
}

.topbar h1 span {
  color: var(--gold-light);
}

.topbar h1 em {
  font-style: normal;
  color: var(--gold-primary);
  font-size: 16px;
  margin-left: 4px;
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(230, 183, 68, 0.18);
  background: #11100d;
  color: #d8be72;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: all 0.2s;
  position: relative;
}

.icon-btn:hover {
  background: #1e190d;
  border-color: rgba(230, 183, 68, 0.4);
  color: #fff;
}

.icon-btn.notification i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  top: 9px;
  right: 9px;
  box-shadow: 0 0 6px var(--accent-red);
}

.top-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(226, 183, 65, 0.15);
  margin-left: 6px;
}

.top-user strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff1b4;
}

.top-user span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold-primary);
}

/* =========================================================
   PAGE CONTAINER & HEADERS
   ========================================================= */
.page {
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 36px 48px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.page-header-title h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-header-title p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffea9e 0%, #d89f1d 60%, #916100 100%);
  color: #171000;
  border: 1px solid rgba(255, 240, 173, 0.6);
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(230, 183, 68, 0.22);
  transition: all 0.22s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 183, 68, 0.35);
  filter: brightness(1.05);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #14120e;
  color: #edd999;
  border: 1px solid rgba(230, 183, 68, 0.25);
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-dark:hover {
  background: #221d12;
  border-color: rgba(230, 183, 68, 0.5);
  color: #fff;
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero {
  min-height: 220px;
  border: 1px solid rgba(230, 183, 68, 0.25);
  border-radius: 24px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, #0d0c0a 0%, #1c1506 50%, #0a0907 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 32px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(230, 183, 68, 0.12), transparent 50%);
  pointer-events: none;
}

.hero h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  margin: 10px 0 12px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero h2 strong {
  background: linear-gradient(90deg, #fff2a8 0%, #e6b744 50%, #ffeaa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-orbit {
  width: 180px;
  height: 160px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.orbit-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(230, 183, 68, 0.3);
  border-radius: 50%;
  animation: spinRing 16s linear infinite;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f7d268;
  top: 10px;
  left: 30px;
  box-shadow: 0 0 16px #f7d268;
}

.hero-coin {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 900;
  color: #1c1300;
  background: linear-gradient(135deg, #fff3ad 0%, #dfa623 50%, #7c5400 100%);
  box-shadow: 0 0 40px rgba(230, 183, 68, 0.35), inset 0 2px 2px #fff;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

/* =========================================================
   SECTIONS & GRIDS
   ========================================================= */
.section {
  margin-top: 32px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

/* =========================================================
   ATM FINANCIAL CARDS (PHYSICAL RATIO 1.586 : 1)
   ========================================================= */
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.atm-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.586 / 1;
  width: 100%;
  border-radius: 20px;
  padding: 22px;
  color: #fff2ad;
  border: 1px solid rgba(255, 235, 148, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.atm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(230, 183, 68, 0.2);
  border-color: rgba(255, 240, 173, 0.6);
}

.card-one {
  background: radial-gradient(circle at 85% 15%, rgba(255, 230, 130, 0.22), transparent 30%),
              linear-gradient(135deg, #0a0907 0%, #2f230b 40%, #af8015 75%, #261b05 100%);
}

.card-two {
  background: radial-gradient(circle at 85% 15%, rgba(255, 240, 160, 0.25), transparent 30%),
              linear-gradient(135deg, #090907 0%, #3d2f0d 40%, #c99f35 75%, #231a06 100%);
}

.card-three {
  background: radial-gradient(circle at 85% 15%, rgba(255, 230, 130, 0.2), transparent 30%),
              linear-gradient(135deg, #090807 0%, #2b210c 40%, #946c14 75%, #19140a 100%);
}

.card-four {
  background: radial-gradient(circle at 85% 15%, rgba(255, 240, 150, 0.22), transparent 30%),
              linear-gradient(135deg, #090807 0%, #36290b 40%, #bc8d22 75%, #1b1508 100%);
}

.atm-shine {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 50%;
  height: 300%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shineCard 7s infinite;
  pointer-events: none;
}

@keyframes shineCard {
  0%, 60% { left: -100%; opacity: 0; }
  70% { opacity: 1; }
  85%, 100% { left: 200%; opacity: 0; }
}

.atm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.atm-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff2ad;
}

.atm-type {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 240, 173, 0.7);
  text-transform: uppercase;
}

.atm-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
  position: relative;
  z-index: 2;
}

.atm-chip-svg {
  width: 44px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3ad 0%, #d8a324 50%, #7a5200 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.atm-contactless {
  font-size: 18px;
  opacity: 0.7;
  transform: rotate(90deg);
  letter-spacing: -4px;
}

.atm-balance-block {
  position: relative;
  z-index: 2;
}

.atm-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 240, 173, 0.75);
  text-transform: uppercase;
}

.atm-amount {
  font-size: 24px;
  font-weight: 800;
  color: #fff6cb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.atm-amount span {
  font-size: 14px;
  opacity: 0.8;
}

.atm-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.atm-number {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #fff1b4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.atm-holder {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 240, 173, 0.8);
  text-transform: uppercase;
  margin-top: 2px;
}

.atm-nx-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  color: #171000;
  background: linear-gradient(135deg, #fff2ad 0%, #d89f1d 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   ACTION GRID & REFERRAL SECTION
   ========================================================= */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  margin-top: 24px;
}

.panel-card {
  border: 1px solid rgba(230, 183, 68, 0.2);
  border-radius: 20px;
  background: linear-gradient(145deg, #100f0c 0%, #090908 100%);
  padding: 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.panel-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 0;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.action-btn {
  border-radius: 16px;
  border: 1px solid rgba(230, 183, 68, 0.2);
  padding: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
  background: #13110d;
}

.action-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 183, 68, 0.45);
}

.action-btn.gold {
  background: linear-gradient(135deg, #251c07 0%, #171205 100%);
  border-color: rgba(230, 183, 68, 0.35);
}

.action-btn.gold:hover {
  background: linear-gradient(135deg, #382a0b 0%, #201907 100%);
}

.action-btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.action-btn.gold .action-btn-icon {
  background: linear-gradient(135deg, #fff0a5 0%, #c48f12 100%);
  color: #171000;
}

.action-btn.dark .action-btn-icon {
  background: #201c13;
  color: var(--gold-primary);
  border: 1px solid rgba(230, 183, 68, 0.2);
}

.action-btn-text b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff1b4;
}

.action-btn-text small {
  display: block;
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.action-btn i {
  margin-left: auto;
  font-style: normal;
  font-size: 16px;
  color: var(--gold-primary);
}

/* =========================================================
   REFERRAL SECTION & ANIMATIONS
   ========================================================= */
.referral-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #131008 0%, #221706 60%, #0c0b09 100%);
  border: 1px solid rgba(230, 183, 68, 0.25);
}

.referral-card::after {
  content: "VAZEER";
  position: absolute;
  right: -20px;
  bottom: -35px;
  font-size: 95px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(230, 183, 68, 0.03);
  pointer-events: none;
}

.referral-copy p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.referral-box {
  margin-top: 18px;
  border: 1px solid rgba(230, 183, 68, 0.3);
  background: rgba(8, 8, 8, 0.8);
  border-radius: 14px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.referral-url {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: #f7e099;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffea9e 0%, #c79213 100%);
  color: #171000;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.btn-copy:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(230, 183, 68, 0.4);
}

.btn-copy.copied {
  background: linear-gradient(135deg, #86efac 0%, #22c55e 100%);
  color: #052e16;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  animation: bounceCopied 0.4s ease;
}

@keyframes bounceCopied {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.referral-share-pills {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 183, 68, 0.15);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.share-pill:hover {
  background: rgba(230, 183, 68, 0.15);
  color: #fff;
  border-color: rgba(230, 183, 68, 0.35);
}

/* =========================================================
   INCOME ENGINE TILES
   ========================================================= */
.income-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.income-tile {
  min-height: 155px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(230, 183, 68, 0.18);
  background: linear-gradient(145deg, #11100d 0%, #090908 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s ease;
}

.income-tile:hover {
  border-color: rgba(230, 183, 68, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.income-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0a5 0%, #b8830b 100%);
  color: #171000;
  font-size: 18px;
  font-weight: 800;
}

.income-tile.loss .income-icon {
  background: linear-gradient(135deg, #fca5a5 0%, #b91c1c 100%);
}

.income-tile.royalty .income-icon {
  background: linear-gradient(135deg, #e9d5ff 0%, #8b5cf6 100%);
}

.income-tile small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 12px;
}

.income-tile strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff2b2;
  font-family: var(--font-mono);
  margin: 4px 0;
}

.badge-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
}

.badge-trend.positive {
  color: var(--accent-green);
}

.badge-trend.negative {
  color: var(--accent-red);
}

/* =========================================================
   LOWER SECTION: MEMBERSHIP & NETWORK PULSE
   ========================================================= */
.lower-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.rank-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #171000;
  background: linear-gradient(135deg, #fff2ad 0%, #d89f1d 100%);
  padding: 6px 14px;
  border-radius: 20px;
}

.progress-bar-wrap {
  margin: 20px 0 16px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #fff1b4;
  margin-bottom: 8px;
}

.progress-bar {
  height: 10px;
  border-radius: 99px;
  background: #18150e;
  overflow: hidden;
  border: 1px solid rgba(230, 183, 68, 0.2);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #aa7508 0%, #fff0a5 50%, #c99318 100%);
  box-shadow: 0 0 12px rgba(230, 183, 68, 0.4);
}

.rank-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.rank-stat-box {
  background: #080807;
  border: 1px solid rgba(230, 183, 68, 0.15);
  border-radius: 12px;
  padding: 14px;
}

.rank-stat-box small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.rank-stat-box strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff1b4;
  font-family: var(--font-mono);
  margin-top: 4px;
}

.network-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 20px;
}

.network-stat-col {
  padding-right: 14px;
  border-right: 1px solid rgba(230, 183, 68, 0.15);
}

.network-stat-col:last-child {
  border-right: none;
}

.network-stat-col span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.network-stat-col strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff2b5;
  font-family: var(--font-mono);
  margin: 4px 0;
}

.network-stat-col small {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
}

.sponsor-card {
  border-top: 1px solid rgba(230, 183, 68, 0.15);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sponsor-card small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sponsor-card strong {
  display: block;
  font-size: 14px;
  color: #fff1b4;
}

/* =========================================================
   TRANSACTIONS & BUSINESS HISTORY TABLE
   ========================================================= */
.tx-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: 10px;
  background: #11100d;
  border: 1px solid rgba(230, 183, 68, 0.15);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.filter-tab:hover {
  background: #1f1a10;
  color: #fff;
}

.filter-tab.active {
  background: linear-gradient(135deg, rgba(230, 183, 68, 0.25), rgba(230, 183, 68, 0.08));
  border-color: rgba(230, 183, 68, 0.5);
  color: #fff2b2;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(230, 183, 68, 0.18);
  background: #090908;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  background: #12100a;
  border-bottom: 1px solid rgba(230, 183, 68, 0.15);
}

.custom-table td {
  padding: 16px 18px;
  font-size: 13.5px;
  color: #ddd2b4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.custom-table tr:hover td {
  background: rgba(230, 183, 68, 0.03);
}

.tx-cell-title {
  font-weight: 700;
  color: #fff1b4;
}

.tx-cell-sub {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 2px;
}

.amount-plus {
  font-weight: 800;
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.amount-minus {
  font-weight: 800;
  color: var(--accent-red);
  font-family: var(--font-mono);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-status.success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-status.pending {
  color: #fde047;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.badge-status.failed {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* =========================================================
   AUTH PAGES (LOGIN, REGISTER, FORGOT PASSWORD)
   ========================================================= */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  position: relative;
  background-color: #060606;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  border: 1px solid rgba(230, 183, 68, 0.25);
  background: linear-gradient(145deg, #11100d 0%, #080807 100%);
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(230, 183, 68, 0.08);
  position: relative;
  z-index: 2;
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header .brand-mark {
  margin: 0 auto 16px;
  width: 52px;
  height: 52px;
  font-size: 28px;
}

.auth-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.auth-header p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: #090908;
  border: 1px solid rgba(230, 183, 68, 0.25);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff2ad;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(230, 183, 68, 0.2);
  background: #0e0d0a;
}

.form-input::placeholder {
  color: #5d543f;
}

.input-icon-right {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.input-icon-right:hover {
  color: var(--gold-primary);
}

.sponsor-valid-badge {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
}

.auth-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #ffea9e 0%, #d89f1d 50%, #8f6000 100%);
  color: #171000;
  border: 1px solid rgba(255, 240, 173, 0.6);
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(230, 183, 68, 0.25);
  transition: all 0.22s;
  margin-top: 8px;
}

.auth-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 183, 68, 0.38);
  filter: brightness(1.06);
}

.auth-footer-links {
  margin-top: 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.auth-footer-links a {
  color: var(--gold-primary);
  font-weight: 700;
  margin-left: 4px;
}

.auth-footer-links a:hover {
  text-decoration: underline;
}

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, #181409 0%, #0c0b08 100%);
  border: 1px solid rgba(230, 183, 68, 0.4);
  color: #fff2b5;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 183, 68, 0.25);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1), toastFadeOut 0.4s 2.6s forwards;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastFadeOut {
  to { opacity: 0; transform: translateY(-10px) scale(0.95); pointer-events: none; }
}

/* =========================================================
   MODALS
   ========================================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 90;
  place-items: center;
  padding: 20px;
}

.modal-overlay.show {
  display: grid;
}

.modal-content {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, #13110c 0%, #0a0907 100%);
  border: 1px solid rgba(230, 183, 68, 0.3);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  margin-top: 48px;
  padding: 24px 0 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  border-top: 1px solid rgba(230, 183, 68, 0.1);
}

footer span {
  color: var(--gold-primary);
  margin: 0 6px;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================================= */
@media (max-width: 1280px) {
  .wallet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .income-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 45;
  }
  .sidebar-overlay.show {
    display: block;
  }
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  .mobile-toggle {
    display: flex;
  }
  .topbar {
    padding: 0 16px;
    height: 64px;
  }
  .top-left {
    gap: 10px;
  }
  .top-left .eyebrow {
    font-size: 9.5px;
  }
  .topbar h1 {
    font-size: 16px;
  }
  .page {
    padding: 16px 14px 28px;
  }
  .hero {
    padding: 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 6px 0 8px;
  }
  .hero p {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .hero-orbit {
    display: none;
  }
  .action-grid, .lower-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .topbar h1 {
    font-size: 16px;
  }
  .top-user {
    padding: 4px 8px;
  }
  .top-user strong, .top-user span {
    display: none;
  }
  .top-actions {
    gap: 8px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .atm-card {
    aspect-ratio: auto;
    min-height: 175px;
    padding: 16px 18px;
    border-radius: 16px;
  }
  .atm-brand {
    font-size: 13px;
  }
  .atm-type {
    font-size: 9px;
  }
  .atm-amount {
    font-size: 24px;
    margin: 4px 0 2px;
  }
  .atm-amount span {
    font-size: 13px;
  }
  .atm-number {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .income-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .panel-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .action-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .action-btn {
    padding: 12px 14px;
  }
  .referral-box {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .referral-url {
    font-size: 11px;
    padding: 10px 12px;
    word-break: break-all;
  }
  .btn-copy {
    width: 100%;
    justify-content: center;
  }
  .referral-share-pills {
    flex-wrap: wrap;
    gap: 8px;
  }
  .share-pill {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    font-size: 11.5px;
    padding: 8px 12px;
  }
  .rank-stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .page-header-title h2 {
    font-size: 22px;
  }
  .auth-card {
    padding: 24px 16px;
  }
  .custom-table th, .custom-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .income-grid {
    grid-template-columns: 1fr;
  }
  .atm-amount {
    font-size: 22px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .section-head h3 {
    font-size: 18px;
  }
  .btn-gold, .btn-dark {
    padding: 9px 16px;
    font-size: 12.5px;
  }
}

/* =========================================================
   LUXURY ANIMATED AUTHENTICATION SHOWCASE (SPLIT SCREEN)
   ========================================================= */
.auth-page-body {
  min-height: 100vh;
  background-color: #040404;
  background-image:
    radial-gradient(1200px 700px at 15% 15%, rgba(230, 183, 68, 0.18), transparent 60%),
    radial-gradient(900px 600px at 85% 85%, rgba(216, 159, 29, 0.12), transparent 60%),
    radial-gradient(700px 500px at 50% 50%, rgba(20, 15, 5, 0.9), transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 30px 20px;
}

/* Animated Ambient Glow Spheres */
.auth-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(230, 183, 68, 0.25), transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 115, 11, 0.2), transparent 70%);
  bottom: -120px;
  right: -120px;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* Background Grid Gridlines */
.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(230, 183, 68, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(230, 183, 68, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Split-Screen Wrapper */
.auth-split-layout {
  width: 100%;
  max-width: 1200px;
  min-height: 680px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(17, 16, 13, 0.85) 0%, rgba(8, 8, 7, 0.95) 100%);
  border: 1px solid rgba(230, 183, 68, 0.3);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(230, 183, 68, 0.12),
    inset 0 1px 1px rgba(255, 240, 173, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Left Showcase Side */
.auth-showcase {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: linear-gradient(145deg, rgba(26, 21, 10, 0.6) 0%, rgba(10, 9, 7, 0.8) 100%);
  border-right: 1px solid rgba(230, 183, 68, 0.18);
  overflow: hidden;
}

.auth-showcase::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(230, 183, 68, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.auth-showcase-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-showcase-content {
  margin: 32px 0;
  position: relative;
  z-index: 2;
}

.auth-showcase-content h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

.auth-showcase-content h2 span {
  background: linear-gradient(90deg, #fff2a8 0%, #e6b744 50%, #ffd978 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-showcase-content p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-top: 14px;
  line-height: 1.65;
  max-width: 440px;
}

/* 3D Floating Showcase Card Component */
.auth-card-stage {
  position: relative;
  margin: 28px 0 20px;
  perspective: 1000px;
}

.auth-floating-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.586 / 1;
  border-radius: 20px;
  padding: 22px;
  background: radial-gradient(circle at 85% 15%, rgba(255, 235, 140, 0.25), transparent 30%),
              linear-gradient(135deg, #090907 0%, #3a2c0c 40%, #c99f35 75%, #201705 100%);
  border: 1px solid rgba(255, 240, 173, 0.45);
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(230, 183, 68, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  animation: floatCard 6s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}

@keyframes floatCard {
  0% { transform: translateY(0) rotateX(4deg) rotateY(-4deg); }
  100% { transform: translateY(-12px) rotateX(-2deg) rotateY(4deg); }
}

/* Floating Live Earnings Badge */
.floating-chip-badge {
  position: absolute;
  top: -14px;
  right: -10px;
  background: rgba(14, 13, 10, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(74, 222, 128, 0.2);
  animation: pulseFloat 4s ease-in-out infinite alternate;
}

@keyframes pulseFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.floating-chip-badge strong {
  font-size: 13px;
  font-weight: 800;
  color: #86efac;
  font-family: var(--font-mono);
}

.floating-chip-badge span {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-weight: 700;
}

/* Showcase Feature Points */
.showcase-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.showcase-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #fff1b4;
  font-weight: 600;
}

.showcase-feat-item i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(230, 183, 68, 0.15);
  color: var(--gold-primary);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  flex-shrink: 0;
}

/* Right Auth Form Side */
.auth-form-side {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: rgba(10, 9, 8, 0.9);
}

.auth-form-header {
  margin-bottom: 28px;
}

.auth-form-header h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.auth-form-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.auth-input-group {
  margin-bottom: 18px;
}

.auth-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.auth-input-field {
  width: 100%;
  background: #080807;
  border: 1px solid rgba(230, 183, 68, 0.28);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff2b5;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.22s ease;
}

.auth-input-field:focus {
  border-color: var(--gold-primary);
  background: #100f0c;
  box-shadow: 0 0 0 4px rgba(230, 183, 68, 0.18), 0 0 20px rgba(230, 183, 68, 0.15);
}

.auth-btn-main {
  width: 100%;
  background: linear-gradient(135deg, #ffea9e 0%, #d89f1d 50%, #8c5e00 100%);
  color: #171000;
  border: 1px solid rgba(255, 240, 173, 0.6);
  padding: 15px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 25px rgba(230, 183, 68, 0.3);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.auth-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(230, 183, 68, 0.45);
  filter: brightness(1.06);
}

/* Password Strength Indicator */
.pass-strength-bar {
  height: 4px;
  border-radius: 4px;
  background: #1c180e;
  margin-top: 8px;
  overflow: hidden;
}

.pass-strength-bar span {
  display: block;
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
}

.pass-strength-bar.weak span { width: 33%; background: var(--accent-red); }
.pass-strength-bar.medium span { width: 66%; background: #facc15; }
.pass-strength-bar.strong span { width: 100%; background: var(--accent-green); }

/* =========================================================
   PRECISION 100VH NON-SCROLL FULLSCREEN AUTH PAGES
   ========================================================= */
.auth-fullscreen-body {
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background-color: #040404;
  background-image:
    radial-gradient(1000px 600px at 15% 15%, rgba(230, 183, 68, 0.16), transparent 60%),
    radial-gradient(800px 500px at 85% 85%, rgba(216, 159, 29, 0.12), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(15, 12, 5, 0.9), transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
  box-sizing: border-box;
}

.auth-split-fullscreen {
  width: 100%;
  max-width: 1140px;
  height: calc(100vh - 32px);
  max-height: 720px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(17, 16, 13, 0.9) 0%, rgba(8, 8, 7, 0.96) 100%);
  border: 1px solid rgba(230, 183, 68, 0.3);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(230, 183, 68, 0.12),
    inset 0 1px 1px rgba(255, 240, 173, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.auth-showcase-compact {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(26, 21, 10, 0.6) 0%, rgba(10, 9, 7, 0.8) 100%);
  border-right: 1px solid rgba(230, 183, 68, 0.18);
  overflow: hidden;
}

.auth-form-compact {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(10, 9, 8, 0.9);
  overflow: hidden;
}

.auth-form-compact .auth-form-header {
  margin-bottom: 20px;
}

.auth-form-compact .auth-form-header h3 {
  font-size: 24px;
}

.auth-form-compact .auth-input-group {
  margin-bottom: 14px;
}

.auth-form-compact .auth-input-field {
  padding: 11px 15px;
  font-size: 13.5px;
  border-radius: 12px;
}

.auth-form-compact .auth-btn-main {
  padding: 12px;
  font-size: 14.5px;
  border-radius: 12px;
  margin-top: 6px;
}

/* Mobile Non-Scroll Fullscreen Card */
@media (max-width: 1024px) {
  .auth-split-fullscreen {
    grid-template-columns: 1fr;
    max-width: 460px;
    height: calc(100vh - 24px);
    max-height: 680px;
  }
  .auth-showcase-compact {
    display: none;
  }
  .auth-form-compact {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .auth-fullscreen-body {
    padding: 10px;
  }
  .auth-split-fullscreen {
    height: calc(100vh - 20px);
    max-height: 100%;
    border-radius: 18px;
  }
  .auth-form-compact {
    padding: 22px 18px;
  }
  .auth-form-compact .auth-form-header h3 {
    font-size: 20px;
  }
  .auth-form-compact .auth-input-group {
    margin-bottom: 10px;
  }
  .auth-form-compact .auth-input-field {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* =========================================================
   GENEALOGY VISUAL TREE SYSTEM
   ========================================================= */
.genealogy-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 30px 15px;
  background: linear-gradient(145deg, #0d0c09 0%, #060605 100%);
  border: 1px solid rgba(230, 183, 68, 0.22);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.genealogy-wrapper::-webkit-scrollbar {
  height: 6px;
}
.genealogy-wrapper::-webkit-scrollbar-thumb {
  background: rgba(230, 183, 68, 0.3);
  border-radius: 6px;
}

.tree-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 800px;
  position: relative;
}

.tree-level {
  display: flex;
  justify-content: center;
  gap: 28px;
  position: relative;
  margin-bottom: 42px;
}

.tree-level:last-child {
  margin-bottom: 0;
}

.tree-level::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 183, 68, 0.5), transparent);
}

.tree-node {
  background: linear-gradient(135deg, #18150e 0%, #0e0c08 100%);
  border: 1px solid rgba(230, 183, 68, 0.3);
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 170px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(230, 183, 68, 0.08);
  position: relative;
  transition: all 0.25s ease;
  cursor: pointer;
}

.tree-node:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(230, 183, 68, 0.6);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(230, 183, 68, 0.25);
}

.tree-node.root {
  border-color: rgba(230, 183, 68, 0.65);
  background: linear-gradient(135deg, #2a2009 0%, #120e05 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(230, 183, 68, 0.2);
}

.tree-node-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #171000;
  background: linear-gradient(135deg, #ffea9e 0%, #c99318 100%);
  border: 2px solid rgba(255, 240, 173, 0.6);
  box-shadow: 0 4px 12px rgba(230, 183, 68, 0.25);
}

.tree-node-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff1b4;
  white-space: nowrap;
}

.tree-node-id {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--gold-primary);
  margin-top: 2px;
}

.tree-node-meta {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.tree-node-meta span {
  color: var(--text-muted);
}

.tree-node-meta b {
  color: var(--accent-green);
  font-family: var(--font-mono);
}

/* Branch connector lines */
.tree-connector-down {
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, rgba(230, 183, 68, 0.6), rgba(230, 183, 68, 0.2));
  transform: translateX(-50%);
}

.tree-connector-up {
  position: absolute;
  top: -24px;
  left: 50%;
  width: 2px;
  height: 24px;
  background: linear-gradient(0deg, rgba(230, 183, 68, 0.6), rgba(230, 183, 68, 0.2));
  transform: translateX(-50%);
}

/* =========================================================
   MAIN FRONT-END LANDING WEBSITE STYLING
   ========================================================= */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(6, 6, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(230, 183, 68, 0.18);
  z-index: 100;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #cbb98c;
  transition: color 0.2s;
}

.landing-nav-links a:hover {
  color: #fff2ad;
}

.landing-hero {
  padding: 160px 48px 100px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
}

.landing-hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.landing-hero-title span {
  background: linear-gradient(90deg, #fff2ad 0%, #e6b744 50%, #ffd978 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(230, 183, 68, 0.4);
}

.landing-hero-p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 20px 0 32px;
  max-width: 580px;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 10;
}

.landing-stat-card {
  background: linear-gradient(145deg, rgba(25, 22, 16, 0.8) 0%, rgba(10, 9, 7, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(230, 183, 68, 0.25);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 183, 68, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.landing-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 183, 68, 0.1), transparent);
  transition: all 0.6s ease;
}

.landing-stat-card:hover::before {
  left: 100%;
}

.landing-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 183, 68, 0.25);
}

.landing-stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #fff2b5;
  font-family: var(--font-mono);
  text-shadow: 0 0 15px rgba(230, 183, 68, 0.3);
}

.landing-stat-card span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.landing-calc-card {
  background: linear-gradient(135deg, rgba(26, 21, 12, 0.9) 0%, rgba(10, 9, 7, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(230, 183, 68, 0.35);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(230, 183, 68, 0.15);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   DYNAMIC LUXURY BACKGROUND FX (Landing Page & Hero)
   ========================================================= */
.cyber-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.aurora-glow-1 {
  position: fixed;
  top: -15%;
  left: 15%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 183, 68, 0.22) 0%, rgba(200, 140, 20, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  animation: floatOrbA 16s ease-in-out infinite alternate;
}

.aurora-glow-2 {
  position: fixed;
  top: 45%;
  right: -5%;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 110, 10, 0.18) 0%, rgba(240, 190, 80, 0.05) 50%, transparent 70%);
  filter: blur(95px);
  z-index: 1;
  pointer-events: none;
  animation: floatOrbB 20s ease-in-out infinite alternate;
}

.aurora-glow-3 {
  position: fixed;
  bottom: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 183, 68, 0.14) 0%, rgba(130, 80, 0, 0.06) 50%, transparent 70%);
  filter: blur(85px);
  z-index: 1;
  pointer-events: none;
  animation: floatOrbA 18s ease-in-out infinite alternate-reverse;
}

.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(230, 183, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 183, 68, 0.04) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 80%);
  z-index: 1;
  pointer-events: none;
}

/* Light ray effect */
.light-beam {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%) rotate(25deg);
  width: 300px;
  height: 900px;
  background: linear-gradient(180deg, rgba(230, 183, 68, 0.15) 0%, rgba(230, 183, 68, 0.02) 70%, transparent 100%);
  filter: blur(45px);
  z-index: 1;
  pointer-events: none;
  animation: beamPulse 8s ease-in-out infinite alternate;
}

@keyframes floatOrbA {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes floatOrbB {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -50px) scale(1.2); }
  100% { transform: translate(40px, 60px) scale(0.9); }
}

@keyframes beamPulse {
  0% { opacity: 0.4; transform: translateX(-50%) rotate(22deg) scaleX(0.8); }
  50% { opacity: 0.8; transform: translateX(-48%) rotate(26deg) scaleX(1.1); }
  100% { opacity: 0.4; transform: translateX(-52%) rotate(24deg) scaleX(0.9); }
}

/* Mobile Navigation Toggle & Drawer for Landing Page */
.landing-mobile-toggle {
  display: none;
  background: #14120e;
  border: 1px solid rgba(230, 183, 68, 0.3);
  color: var(--gold-primary);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.landing-mobile-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 9, 7, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(230, 183, 68, 0.25);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-150%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.landing-mobile-drawer.show {
  transform: translateY(0);
}

.landing-mobile-drawer a {
  font-size: 16px;
  font-weight: 700;
  color: #f8edc8;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.landing-mobile-drawer a:hover,
.landing-mobile-drawer a:active {
  background: rgba(230, 183, 68, 0.1);
  color: var(--gold-primary);
  border-left-color: var(--gold-primary);
}

@media (max-width: 1024px) {
  .landing-nav {
    padding: 0 20px;
    height: 70px;
  }
  .market-ticker-wrap {
    top: 70px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 110px 20px 50px;
    text-align: center;
    gap: 36px;
  }
  .landing-hero-p {
    margin: 18px auto 28px;
  }
  .landing-hero-actions {
    justify-content: center;
  }
  .landing-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .landing-nav-links {
    display: none;
  }
  .landing-mobile-toggle {
    display: inline-flex;
  }
  .income-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .landing-calc-card > div {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .landing-hero-title {
    font-size: 34px;
  }
  .pkg-grid {
    grid-template-columns: 1fr !important;
  }
  .income-grid {
    grid-template-columns: 1fr !important;
  }
  .trade-proof-grid {
    grid-template-columns: 1fr !important;
  }
  .landing-nav .nav-desktop-actions {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .landing-hero {
    padding: 95px 16px 40px;
  }
  .landing-hero-title {
    font-size: 28px;
    line-height: 1.2;
  }
  .landing-hero-p {
    font-size: 14px;
  }
  .landing-stats-grid {
    grid-template-columns: 1fr;
  }
  .landing-stat-card {
    padding: 18px;
  }
  .landing-stat-card strong {
    font-size: 26px;
  }
  .btn-gold, .btn-dark {
    width: 100%;
    justify-content: center;
  }
  .auth-floating-card {
    padding: 20px 16px !important;
    min-height: auto !important;
  }
  .auth-floating-card .atm-amount {
    font-size: 22px !important;
  }
}

/* =========================================================
   LIVE QUANT DAILY & 4-WEEK ROLLING PROFIT TRACKER STYLES
   ========================================================= */
.profit-master-strip {
  background: linear-gradient(135deg, #15120a 0%, #0d0c09 60%, #1f1807 100%);
  border: 1px solid rgba(230, 183, 68, 0.35);
  border-radius: 20px;
  padding: 22px 26px;
  margin-bottom: 28px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.profit-master-strip::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 250px; height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(74, 222, 128, 0.1), transparent 70%);
  pointer-events: none;
}

.profit-strip-grid {
  display: grid;
  grid-template-columns: 1.2fr 2.8fr;
  gap: 24px;
  align-items: center;
}

.today-profit-box {
  background: #090806;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 16px;
  padding: 18px 22px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(74, 222, 128, 0.05);
}

.today-profit-val {
  font-size: 34px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 2px;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.weekly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.week-card {
  background: #0a0907;
  border: 1px solid rgba(230, 183, 68, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.25s ease;
  position: relative;
}

.week-card:hover {
  border-color: rgba(230, 183, 68, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.week-card.active-week {
  background: linear-gradient(145deg, #18150c 0%, #0d0c08 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(230, 183, 68, 0.15);
}

.week-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.week-val {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff2b5;
  margin: 6px 0 2px;
}

.week-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* =========================================================
   FOREX LIVE MARKET SCREENER EMBED STYLING
   ========================================================= */
.screener-wrap-box {
  background: #090807;
  border: 1px solid rgba(230, 183, 68, 0.28);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  margin-top: 32px;
  position: relative;
}

.tradingview-widget-container {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .profit-strip-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .weekly-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profit-master-strip {
    padding: 18px 16px;
  }
  .today-profit-val {
    font-size: 28px;
  }
  .screener-wrap-box {
    padding: 16px;
  }
  .bot-activation-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* =========================================================
   30$ MONTHLY FOREX AI TRADING BOT ACTIVATION STYLES
   ========================================================= */
.bot-activation-banner {
  background: linear-gradient(135deg, #1b160b 0%, #100f0a 60%, #291e06 100%);
  border: 1px solid rgba(230, 183, 68, 0.4);
  border-radius: 20px;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(230, 183, 68, 0.12);
}

.bot-activation-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(230, 183, 68, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bot-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff2ad 0%, #d89f1d 50%, #785200 100%);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #171000;
  box-shadow: 0 0 25px rgba(230, 183, 68, 0.4), inset 0 1px 1px #fff;
  flex-shrink: 0;
  position: relative;
}

.bot-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 2px solid var(--accent-green);
  animation: pulseGreenRing 2.2s infinite;
}

@keyframes pulseGreenRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.bot-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.bot-status-tag.active {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--accent-green);
}
.bot-status-tag.expired {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* =========================================================
   MASTER MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   ========================================================= */

/* --- Universal Mobile Constraints --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* --- Tablets & Laptops (<= 1024px) --- */
@media (max-width: 1024px) {
  /* Landing Header Navigation */
  .landing-nav-links, .nav-desktop-actions {
    display: none !important;
  }
  .landing-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(230, 183, 68, 0.12);
    border: 1px solid rgba(230, 183, 68, 0.35);
    color: #fff;
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
  }
  .landing-mobile-drawer {
    display: none;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 9, 7, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 166, 35, 0.3);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 24px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }
  .landing-mobile-drawer.show {
    display: flex !important;
  }
  .drawer-link {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drawer-link:hover, .drawer-link:active {
    color: var(--gold-light);
  }

  /* Grids */
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .trade-proof-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-stat-grid-6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .wallet-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .action-grid {
    grid-template-columns: 1fr !important;
  }
  .lower-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Mobile Devices (<= 768px) --- */
@media (max-width: 768px) {
  /* App Shell & Sidebar */
  .sidebar {
    position: fixed !important;
    top: 0;
    left: -300px;
    width: 280px !important;
    height: 100vh !important;
    z-index: 999999 !important;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 10px 0 40px rgba(0,0,0,0.9) !important;
    background: #090806 !important;
    border-right: 1px solid rgba(245, 166, 35, 0.3) !important;
  }
  .sidebar.open {
    left: 0 !important;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 999998;
  }
  .sidebar-overlay.show {
    display: block !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(230, 183, 68, 0.3);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
  }

  /* Main Content & Topbar */
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }
  .topbar {
    padding: 10px 14px !important;
    position: sticky;
    top: 0;
    z-index: 900;
  }
  .topbar h1 {
    font-size: 16px !important;
    margin: 0 !important;
  }
  .top-left .eyebrow {
    font-size: 9px !important;
  }
  .top-user strong, .top-user span {
    display: none;
  }
  .top-user {
    padding: 4px;
    margin-left: 0;
  }
  .top-actions {
    gap: 6px;
  }
  .btn-web3-connect {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  /* Page Padding & Typography */
  .page {
    padding: 16px 12px 48px !important;
  }
  .section-head h3 {
    font-size: 18px !important;
  }
  .hero {
    padding: 24px 18px !important;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .hero h2 {
    font-size: 24px !important;
  }
  .hero-orbit {
    display: none !important;
  }

  /* Landing Hero */
  .landing-hero {
    grid-template-columns: 1fr !important;
    padding: 36px 16px !important;
    text-align: center;
    gap: 24px;
  }
  .landing-hero h1 {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }
  .hero-cta-group {
    justify-content: center !important;
    flex-direction: column !important;
    width: 100%;
  }
  .hero-cta-group .btn-gold,
  .hero-cta-group .btn-dark {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Grids & Packages on Phone */
  .pkg-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-stat-grid-6 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .wallet-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .income-grid {
    grid-template-columns: 1fr !important;
  }
  .weekly-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .calc-preview-grid {
    grid-template-columns: 1fr !important;
  }

  /* Tables Horizontal Scroll */
  .table-responsive, .custom-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }
  .custom-table {
    min-width: 600px !important;
  }

  /* Auth Screens on Mobile */
  .auth-fullscreen-body {
    overflow-y: auto !important;
  }
  .auth-split-fullscreen {
    flex-direction: column !important;
    min-height: 100vh !important;
    height: auto !important;
  }
  .auth-showcase-compact {
    display: none !important;
  }
  .auth-form-compact {
    width: 100% !important;
    max-width: 100% !important;
    padding: 32px 18px !important;
    min-height: 100vh !important;
    justify-content: center !important;
  }
  .auth-input-field {
    font-size: 15px !important;
  }

  /* Modals on Mobile */
  .modal-dialog {
    max-width: 94vw !important;
    margin: 12px auto !important;
    padding: 18px !important;
  }
}

/* --- Small Phones (<= 480px) --- */
@media (max-width: 480px) {
  .weekly-grid {
    grid-template-columns: 1fr !important;
  }
  .today-profit-box {
    padding: 16px !important;
  }
  .today-profit-val {
    font-size: 26px !important;
  }
  .bot-activation-banner {
    padding: 16px !important;
  }
  .bot-icon-circle {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
  .btn-gold, .btn-dark {
    padding: 10px 16px;
    font-size: 12.5px;
  }
}



