@font-face { font-family: 'Bebas'; src: url('../fonts/bebas-neue-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --night: #070b24;
  --night-2: #0f1640;
  --night-3: #1a2360;
  --ink: #f6f3ea;
  --muted: #aab0d6;
  --gold: #f5c451;
  --gold-2: #ffdf8a;
  --red: #e63946;
  --green: #2a9d8f;
  --line: rgba(255, 255, 255, 0.12);
  --glow-top: #5064ff;
  --glow-bottom: #e63946;
  --beam-a: #ffdf8a;
  --beam-b: #7896ff;
  --beam-c: #e63946;
  --display: 'Bebas', 'Impact', 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; }

.avatar {
  position: relative;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--display);
  color: #fff;
  background: var(--c, var(--night-3));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 10px 30px rgba(0, 0, 0, 0.45);
  flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar span { line-height: 1; transform: translateY(6%); }

.gold-text {
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold-2) 45%, white) 0%, var(--gold-2) 35%, var(--gold) 60%, color-mix(in srgb, var(--gold) 72%, black) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
