/* ════════════════════════════════════════════════════════════
   base.css — Design tokens, reset, background, layout
   SXDWallet · 2026
════════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Colors */
  --g:         #00C853;
  --g2:        #00E676;
  --g-dim:     rgba(0,200,83,.15);
  --g-glow:    rgba(0,200,83,.08);
  --dark:      #0A0F0D;
  --d2:        #111A14;
  --d3:        #182118;
  --card:      #1A2B1E;
  --c2:        #1F3324;
  --border:    rgba(0,200,83,.15);
  --text:      #E8F5E9;
  --muted:     #6B9E74;
  --gold:      #FFD600;
  --red:       #FF5252;
  --blue:      #40C4FF;

  /* Typography */
  --font:      'Syne', -apple-system, sans-serif;
  --body-font: 'DM Sans', -apple-system, sans-serif;

  /* Layout */
  --max-w:     480px;
  --px:        20px;
  --radius:    20px;
  --radius-sm: 12px;

  /* Effects */
  --shadow-card: 0 4px 24px rgba(0,0,0,.4);
  --shadow-glow: 0 0 40px rgba(0,200,83,.15);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--dark);
  font-family: var(--body-font);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a    { color: var(--g); text-decoration: none; }
img  { max-width: 100%; }
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ── Background layers ───────────────────────────────────── */
.bg-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.bg-gradient {
  background:
    radial-gradient(ellipse at 20% 10%, #0a2e14 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, #0d1f10 0%, transparent 55%),
    var(--dark);
}
.bg-grid {
  background-image:
    linear-gradient(rgba(0,200,83,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,83,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.orb-1 { width:400px; height:400px; background:rgba(0,200,83,.06);  top:-100px;   left:-100px;  }
.orb-2 { width:300px; height:300px; background:rgba(0,200,83,.04);  bottom:-80px; right:-80px;  }
.orb-3 { width:200px; height:200px; background:rgba(255,214,0,.03); top:40%;      right:10%;    }

/* ── Page layout ─────────────────────────────────────────── */
.page {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
}
.container {
  width: 100%;
  max-width: var(--max-w);
  padding: 0 var(--px);
}
main {
  flex: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 0 60px;
}

/* ── Shared section divider ──────────────────────────────── */
.section-divider {
  display: flex; align-items: center; gap: 10px;
  width: 100%; margin: 32px 0 16px;
}
.section-divider span {
  font-size: 11px; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap;
}
.divider-line { flex: 1; height: 1px; background: var(--border); }

/* ── Shared button ───────────────────────────────────────── */
.btn {
  display: inline-block; padding: 15px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  border: none; border-radius: 50px; cursor: pointer;
  transition: all .2s; text-align: center;
}
.btn-primary  { background: var(--g);   color: #000; }
.btn-primary:hover  { background: var(--g2); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--g); color: var(--g); }

/* ── Shared card ─────────────────────────────────────────── */
.card {
  width: 100%; background: var(--card);
  border-radius: var(--radius); border: 1px solid var(--border);
  padding: 18px 20px; margin-bottom: 12px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-9px); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0   rgba(0,200,83,.3); }
  50%     { box-shadow: 0 0 0 18px rgba(0,200,83,0);  }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}