/* ============================================================
   InfiniteGrow Club — Main Design System
   Colors: Navy #0A0F2C | Gold #F5C518 | Emerald #00C48C
   Font: Poppins (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;600;700;800&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark theme (default) */
  --navy:          #0A0F2C;
  --navy-mid:      #111836;
  --navy-light:    #1a2448;
  --navy-card:     #1e2b52;
  --gold:          #F5C518;
  --gold-dark:     #d4a60d;
  --gold-soft:     rgba(245,197,24,0.12);
  --gold-border:   rgba(245,197,24,0.3);
  --emerald:       #00C48C;
  --emerald-d:     #00a576;
  --red:           #FF4B6B;
  --text:          #E2E8F0;
  --text-dim:      #64748b;
  --text-muted:    #8896B3;
  --border:        rgba(255,255,255,0.08);
  --glass:         rgba(255,255,255,0.05);
  --shadow:        0 8px 32px rgba(0,0,0,0.4);
  --radius:        14px;
  --radius-sm:     8px;
  --transition:    all 0.25s cubic-bezier(0.4,0,0.2,1);

  /* Surface colors (used by panel/sidebar) */
  --bg-body:       #0A0F2C;
  --bg-sidebar:    #111836;
  --bg-card:       rgba(255,255,255,0.05);
  --bg-topbar:     rgba(10,15,44,0.92);
  --input-bg:      rgba(255,255,255,0.06);
}

/* ── Light Theme Override ──────────────────────────────────── */
[data-theme="light"] {
  --navy:          #f0f4ff;
  --navy-mid:      #ffffff;
  --navy-light:    #e8edf8;
  --navy-card:     #dde4f5;
  --text:          #1a2038;
  --text-muted:    #5a6782;
  --text-dim:      #94a3b8;
  --border:        rgba(0,0,0,0.1);
  --glass:         rgba(255,255,255,0.9);
  --shadow:        0 8px 32px rgba(0,0,0,0.12);

  --bg-body:       #f0f4ff;
  --bg-sidebar:    #ffffff;
  --bg-card:       rgba(255,255,255,0.9);
  --bg-topbar:     rgba(255,255,255,0.95);
  --input-bg:      #f0f4ff;
}

[data-theme="light"] body                { background: var(--bg-body); color: var(--text); }
[data-theme="light"] .sidebar            { background: var(--bg-sidebar); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .sidebar-nav a      { color: var(--text-muted); }
[data-theme="light"] .sidebar-nav a:hover{ background: rgba(245,197,24,0.08); color: var(--text); }
[data-theme="light"] .sidebar-nav a.active { color: var(--gold-dark); background: rgba(245,197,24,0.12); border-color: var(--gold-dark); }
[data-theme="light"] .topbar             { background: var(--bg-topbar); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .topbar-title h1    { color: var(--text); }
[data-theme="light"] .topbar-title p     { color: var(--text-muted); }
[data-theme="light"] .card               { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
[data-theme="light"] .card:hover         { border-color: rgba(212,166,13,0.3); }
[data-theme="light"] .stat-card          { background: #ffffff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .binary-widget      { background: #ffffff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .form-control       { background: var(--input-bg); border-color: rgba(0,0,0,0.15); color: var(--text); }
[data-theme="light"] .form-control:focus { border-color: var(--gold-dark); }
[data-theme="light"] .form-label         { color: var(--text); }
[data-theme="light"] table               { color: var(--text); }
[data-theme="light"] thead tr            { background: rgba(0,0,0,0.04); }
[data-theme="light"] tbody tr:hover      { background: rgba(0,0,0,0.03); }
[data-theme="light"] td, [data-theme="light"] th { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .nav-section        { color: var(--text-dim); }
[data-theme="light"] .sidebar-user-info .name { color: var(--text); }
[data-theme="light"] .alert-warning      { background: rgba(245,197,24,0.1); border-color: rgba(212,166,13,0.3); color: #7a5c00; }
[data-theme="light"] .alert-info         { background: rgba(99,179,237,0.1); border-color: rgba(99,179,237,0.3); color: #1a5a8a; }
[data-theme="light"] .alert-success      { background: rgba(0,196,140,0.1); border-color: rgba(0,196,140,0.3); color: #006b4e; }
[data-theme="light"] .alert-danger       { background: rgba(255,75,107,0.1); border-color: rgba(255,75,107,0.3); color: #9b1c35; }
[data-theme="light"] .topbar-wallet      { background: rgba(245,197,24,0.1); border-color: rgba(212,166,13,0.3); }
[data-theme="light"] .topbar-wallet .lbl { color: var(--text-muted); }
[data-theme="light"] .carry-info         { background: rgba(0,0,0,0.03); }
[data-theme="light"] .carry-info span    { color: var(--text); }
[data-theme="light"] ::-webkit-scrollbar-track { background: #e8edf8; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #c4cedf; }
[data-theme="light"] .sidebar-footer a   { color: var(--red); }
[data-theme="light"] .mobile-overlay     { background: rgba(0,0,0,0.4); }

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; line-height: 1.3; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-mid); }
::-webkit-scrollbar-thumb { background: var(--navy-card); border-radius: 3px; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 480px; margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ── Glassmorphism Card ───────────────────────────────────── */
.card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { border-color: rgba(245,197,24,0.15); }
.card-sm { padding: 20px; }
.card-gold { border-color: rgba(245,197,24,0.3); }
.card-emerald { border-color: rgba(0,196,140,0.3); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.35); color: var(--navy); }
.btn-emerald {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-d));
  color: var(--navy);
}
.btn-emerald:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,196,140,0.35); color: var(--navy); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Form Elements ────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
.form-label .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); background: rgba(245,197,24,0.05); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: var(--red); }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 5px; }

select.form-control option { background: #fff; color: #000; font-weight: 500; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.badge-success { background: rgba(0,196,140,0.15); color: var(--emerald); border: 1px solid rgba(0,196,140,0.3); }
.badge-warning { background: rgba(245,197,24,0.15); color: var(--gold); border: 1px solid rgba(245,197,24,0.3); }
.badge-danger  { background: rgba(255,75,107,0.15); color: var(--red); border: 1px solid rgba(255,75,107,0.3); }
.badge-secondary { background: rgba(136,150,179,0.15); color: var(--text-muted); border: 1px solid var(--border); }

/* ── Tables ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
thead th {
  background: rgba(245,197,24,0.08);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.03); }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,44,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
body:not(.landing-page) .navbar {
  background: #FFDCF6 !important;
  border-bottom: none;
}
body:not(.landing-page) .navbar .nav-link {
  color: #06000d !important;
  font-weight: 600;
}
body:not(.landing-page) .navbar .nav-link:hover {
  background: rgba(0,0,0,0.05);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}
.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.navbar-brand span { color: var(--gold); }
.navbar-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 16px; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(245,197,24,0.08); }

/* ── Hero (Landing) ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(245,197,24,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 30%, rgba(0,196,140,0.06) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease;
}
.hero h1 .highlight { color: var(--gold); }
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.9s ease; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}
.hero-stat .value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-stat .label { font-size: 0.82rem; color: var(--text-muted); }

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: pulse 6s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: var(--gold); top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--emerald); bottom: -50px; left: 30%; animation-delay: -3s; }

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 52px; }

/* ── How It Works ─────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(245,197,24,0.2); }
.step-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-item .lbl { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Auth Pages ───────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
  position: relative;
  overflow: hidden;
  background: #06000d;
}
.auth-page::before, .auth-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .5;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}
.auth-page::before {
  top: 10%; left: 10%;
  width: 40vw; height: 40vw;
  background: linear-gradient(180deg,#FF009D 0%,#FFFFFF 100%);
}
.auth-page::after {
  bottom: 10%; right: 10%;
  width: 45vw; height: 45vw;
  background: linear-gradient(246.47deg,#FFFFFF 11.81%,#4C0AD0 65.17%);
}
.auth-box {
  background: rgba(20,25,45,0.7);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 50px 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img {
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.auth-logo .logo-icon {

  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.auth-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }

/* ── Popup/Modal ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}
.modal-box {
  background: var(--navy-mid);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 560px;
  text-align: center;
  margin: 40px auto;
  animation: slideDown 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,197,24,0.1);
}
.modal-icon { font-size: 3.5rem; margin-bottom: 16px; }
.modal-box h2 { font-size: 1.6rem; color: var(--gold); margin-bottom: 8px; }
.modal-box p { color: var(--text-muted); margin-bottom: 24px; }
.credentials-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}
.cred-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.cred-row:last-child { border-bottom: none; }
.cred-label { font-size: 0.82rem; color: var(--text-muted); }
.cred-value { font-weight: 600; color: var(--gold); font-family: monospace; font-size: 0.95rem; }
.notice-banner {
  background: linear-gradient(135deg, rgba(245,197,24,0.12), rgba(245,197,24,0.05));
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--gold);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-top: 16px;
}

/* ── Alerts / Flash ───────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(0,196,140,0.12); border: 1px solid rgba(0,196,140,0.25); color: var(--emerald); }
.alert-danger   { background: rgba(255,75,107,0.12); border: 1px solid rgba(255,75,107,0.25); color: var(--red); }
.alert-warning  { background: rgba(245,197,24,0.12); border: 1px solid rgba(245,197,24,0.25); color: var(--gold); }
.alert-info     { background: rgba(99,179,237,0.12); border: 1px solid rgba(99,179,237,0.25); color: #63b3ed; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.12; } 50% { transform: scale(1.05); opacity: 0.16; } }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

/* ── Utility ──────────────────────────────────────────────── */
.text-gold    { color: var(--gold) !important; }
.text-emerald { color: var(--emerald) !important; }
.text-red     { color: var(--red) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.w-100 { width: 100%; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.copy-btn {
  background: none; border: none; color: var(--gold); cursor: pointer;
  font-size: 0.8rem; padding: 2px 8px; border-radius: 4px;
  transition: var(--transition);
}
.copy-btn:hover { background: rgba(245,197,24,0.1); }

/* ── Referral Code Box ────────────────────────────────────── */
.referral-box {
  background: rgba(245,197,24,0.05);
  border: 1.5px dashed rgba(245,197,24,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.referral-code { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--gold); letter-spacing: 2px; }

/* ── Spinner ──────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(245,197,24,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* ── Custom Landing Page Styles from Design ───────────────── */
body.landing-page {
  background: #050505;
}
.landing-page .navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(92vw, 1568px);
  margin: 0;
  padding: 0 34px !important;
  background: rgba(255, 220, 246, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px;
  box-shadow: 0 14px 46px rgba(255, 0, 157, 0.16);
  backdrop-filter: blur(93.5px) !important;
  -webkit-backdrop-filter: blur(93.5px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing-page .navbar.scrolled {
  top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 0 34px !important;
  background: rgba(255, 220, 246, 0.96) !important;
}
.landing-page .navbar-inner {
  height: 70px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing-page .navbar.scrolled .navbar-inner {
  height: 54px !important;
}
.custom-logo {
  height: 60px !important;
  max-width: 150px;
  display: block;
  object-fit: contain;
  transform: none;
  transition: height 0.3s ease;
}
.landing-page .navbar.scrolled .custom-logo {
  height: 44px !important;
}
.landing-page .hero {
  background-image: url('../../bg1.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 150px !important;
}
.landing-page .hero::before {
  display: none;
}
.landing-page .orb {
  display: none;
}
.landing-page .hero .container {
  display: block !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  text-align: left !important;
}
.landing-page .hero-content {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  width: 100%;
}
/* Force text alignment for headings and paragraphs */
.landing-page .hero h1,
.landing-page .hero p.lead,
.landing-page .hero .custom-hero-badge,
.landing-page .hero-content center {
  text-align: left !important;
}
.landing-page .hero p.lead {
  margin-left: 0 !important;
  margin-right: auto !important;
}
.landing-page .hero-cta {
  justify-content: flex-start !important;
  display: flex !important;
  gap: 14px !important;
}
.landing-page .hero-stats {
  margin-top: 24px !important;
}
.custom-nav-link {
  color: #1c1022 !important;
  font-weight: 600;
}
.btn-login {
  background: linear-gradient(90deg, #007AFF 0%, #FF0DA6 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-size: 0.95rem !important;
}
.btn-join-now {
  background: linear-gradient(90deg, rgba(255,220,246,0.92), rgba(255,220,246,0.92)) padding-box, linear-gradient(90deg, #0F74FA 0%, #F112AA 100%) border-box;
  border: 2px solid transparent;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 24px !important; /* Account for 2px border so it matches 10px height visually */
  font-size: 0.95rem !important;
}
.btn-join-now span {
  background: linear-gradient(90deg, #4D95FF 0%, #EF13AB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.btn-start-investing {
  background: linear-gradient(90deg, #007AFF 0%, #FF0DA6 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px !important;
}
.btn-login-dash {
  background: linear-gradient(#070b19, #070b19) padding-box, linear-gradient(90deg, #FEC8EC 0%, #E979FF 53.37%, #DFFA0F 100%) border-box;
  border: 2px solid transparent;
  border-radius: 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-login-dash span {
  background: linear-gradient(90deg, #FFFFFF 0%, #E87BFA 49.52%, #EFFF43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.custom-hero-badge {
  background: #FF14BC !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  display: inline-flex;
}
.custom-hero-title {
  color: #CDCDCD !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 10px 15px; }
  .navbar-inner {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    gap: 15px;
  }
  .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .auth-box { padding: 28px 20px; }
  .hero-stats { gap: 20px; }
  .stats-strip { padding: 24px; }
  .card { padding: 20px; }

  .landing-page .navbar {
    top: 8px;
    width: calc(100% - 18px);
    margin: 0;
    padding: 0 14px !important;
    border-radius: 999px;
  }

  .landing-page .navbar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    height: 58px;
    min-height: 58px;
    width: 100%;
  }

  .landing-page .navbar-nav {
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .landing-page .custom-logo {
    height: 48px !important;
    max-width: 112px;
    object-fit: contain;
  }

  .landing-page .custom-nav-link {
    font-size: 0.72rem;
    line-height: 1.1;
    padding: 4px 6px;
    max-width: 58px;
    white-space: normal;
    text-align: center;
  }

  .landing-page .btn-login,
  .landing-page .btn-join-now {
    padding: 7px 13px !important;
    font-size: 0.78rem !important;
    margin-right: 0 !important;
    border-radius: 999px !important;
  }

  .landing-page .hero {
    min-height: calc(100svh - 56px);
    padding: 110px 0 36px !important;
    background-size: auto 100%;
    background-position: 55% top;
  }

  .landing-page .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5,5,5,0.22) 0%, rgba(5,5,5,0.04) 58%, rgba(5,5,5,0) 100%);
  }

  .landing-page .hero .container {
    padding-left: 26px;
    padding-right: 26px;
    position: relative;
    z-index: 1;
  }
  
  /* Fix Hero text alignment and size on mobile */
  .landing-page .hero h1 { font-size: clamp(1.9rem, 9vw, 2.45rem) !important; line-height: 1.12 !important; }
  .landing-page .hero p.lead { font-size: 0.95rem !important; line-height: 1.5 !important; }
  .landing-page .hero-content,
  .landing-page .hero h1,
  .landing-page .hero p.lead,
  .landing-page .hero .custom-hero-badge {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .landing-page .hero-cta {
    justify-content: flex-start !important;
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-page .hero-cta .btn {
    width: auto;
    min-width: 172px;
    max-width: 100%;
    justify-content: center;
  }
  .landing-page .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    text-align: center;
    gap: 8px !important;
    width: 100%;
  }
  .landing-page .hero-stat {
    flex: 1;
    min-width: 0;
  }
  .landing-page .hero-stat .value {
    font-size: 1.3rem !important;
  }
  .landing-page .hero-stat .label {
    font-size: 0.6rem !important;
    line-height: 1.2;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .landing-page .custom-nav-link {
    display: none;
  }

  .landing-page .custom-logo {
    height: 42px !important;
    max-width: 94px;
  }

  .landing-page .btn-login,
  .landing-page .btn-join-now {
    padding: 7px 10px !important;
    font-size: 0.76rem !important;
  }

  .landing-page .hero {
    padding-top: 100px !important;
    padding-bottom: 30px;
    background-size: auto 100%;
    background-position: 51% top;
  }

  .landing-page .hero .container {
    padding-left: 26px;
    padding-right: 16px;
  }

  .landing-page .custom-hero-badge {
    font-size: 0.66rem !important;
    padding: 7px 10px !important;
    max-width: 100%;
  }

  .landing-page .hero p.lead {
    max-width: 220px;
  }
}

@media (max-width: 360px) {
  .landing-page .navbar {
    width: calc(100% - 12px);
    padding: 0 7px !important;
  }

  .landing-page .navbar-inner {
    gap: 4px;
  }

  .landing-page .custom-logo {
    height: 38px !important;
    max-width: 82px;
  }

  .landing-page .btn-login,
  .landing-page .btn-join-now {
    padding: 6px 9px !important;
    font-size: 0.7rem !important;
  }

  .landing-page .hero {
    background-position: 49% top;
  }

  .landing-page .hero .container {
    padding-left: 24px;
    padding-right: 12px;
  }
}

/* ── FAQ & Terms Section ──────────────────────────────────── */
.faq-terms-section {
  background: var(--navy);
  padding: 80px 20px 100px;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.faq-terms-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-club {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-club h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.about-club h2 span {
  color: var(--gold);
}

.about-club p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-wrapper, .terms-wrapper {
  margin-bottom: 80px;
}

.faq-grid, .terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-card, .terms-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}

.faq-card:hover, .terms-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,197,24,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.faq-card h3, .terms-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.faq-card p, .terms-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Footer fixes ─────────────────────────────────────────── */
.footer-logo {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: inline-block;
}
