/*
 * app_server/static/css/theme.css
 * Global design system — shared across all pages.
 * Color palette:
 *   #090907  background
 *   #1e1e1e  card/surface
 *   #2d2d2d  border
 *   #dd8c00  primary accent (gold)
 */

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:          #090907;
  --surface:     #1e1e1e;
  --surface-2:   #252525;
  --border:      #2d2d2d;
  --gold:        #dd8c00;
  --gold-light:  #f5a823;
  --gold-glow:   rgba(221, 140, 0, 0.22);
  --gold-subtle: rgba(221, 140, 0, 0.08);
  --text:        #e8e8e6;
  --text-dim:    #888880;
  --green:       #22c55e;
  --radius:      14px;
  --radius-lg:   20px;
}

/* ── Base ────────────────────────────────────────────────────────── */
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--gold-light); }

img, svg { display: block; }

/* ── Ambient background glow ────────────────────────────────────── */
.glow {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.glow-top {
  width: 700px; height: 700px;
  top: -300px; left: 50%; transform: translateX(-50%);
  opacity: .5;
}
.glow-bottom {
  width: 500px; height: 500px;
  bottom: -250px; right: -80px;
  opacity: .22;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 11px;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 28px rgba(221,140,0,.25);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(221,140,0,.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: rgba(221,140,0,.6);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
