/* EarnTok shared design tokens. Theme lock: DARK. One functional accent: lime. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* surfaces (off-black, layered) */
  --bg:        #08080c;
  --bg-1:      #0e0e15;
  --bg-2:      #16161f;
  --line:      #23232f;
  --line-soft: #1b1b25;

  /* text */
  --fg:        #f4f4f7;
  --fg-dim:    #a6a6b4;
  --fg-faint:  #6a6a78;

  /* single functional accent + money signal */
  --acc:       #c6ff4d;   /* lime: money + energy */
  --acc-deep:  #9fe000;
  --acc-ink:   #0a1400;   /* text on lime */
  --cyan:      #38e8ff;   /* used ONLY inside the brand gradient + post theme glows */
  --magenta:   #ff4d9d;
  --amber:     #ffb648;

  --good:      #4ade80;
  --danger:    #ff5a5a;

  /* shape system: soft. one radius scale. interactive = pill */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --maxw: 1200px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---- buttons (pill, tactile press) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px;
  padding: 13px 22px;
  transition: transform 0.12s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary {
  background: var(--acc); color: var(--acc-ink);
  box-shadow: 0 8px 30px -10px rgba(198, 255, 77, 0.55);
}
.btn-primary:hover { background: #d4ff6e; box-shadow: 0 10px 38px -10px rgba(198, 255, 77, 0.7); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--fg);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #34343f; }

.btn-block { width: 100%; }

/* ---- brand wordmark ---- */
.brand {
  font-weight: 900; letter-spacing: -0.03em; font-size: 22px;
  display: inline-flex; align-items: center; gap: 2px;
}
.brand .earn { color: var(--fg); }
.brand .tok {
  background: linear-gradient(100deg, var(--acc), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* monogram avatar (no broken images) */
.avatar {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #07120a;
  flex: none;
}

.token-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-weight: 700;
  color: var(--acc);
}

::selection { background: var(--acc); color: var(--acc-ink); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
