@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --bg:          #0e0e0e;
  --surface:     #161616;
  --surface-2:   #1c1c1c;
  --surface-3:   #222222;
  --border:      #222222;
  --border-light:#2e2e2e;
  --accent:      #F5820A;
  --accent-dim:  rgba(245, 130, 10, 0.12);
  --accent-hover:#d4700a;
  --text:        #e8e8e8;
  --text-muted:  #888888;
  --text-faint:  #555555;
  --danger:      #e53e3e;
  --success:     #4ade80;
  --radius:      3px;
  --radius-md:   6px;
  --font-head:   'Bebas Neue', sans-serif;
  --font-body:   'Montserrat', sans-serif;
  --header-h:    56px;
  --sidebar-w:   380px;
  --transition:  0.15s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { display: block; max-width: 100%; }

/* ─── Animations ─────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-up {
  animation: fadeUp 0.4s ease both;
}

.fade-in {
  animation: fadeIn 0.25s ease both;
}

/* Staggered children */
.stagger > *:nth-child(1)  { animation: fadeUp 0.4s 0.04s ease both; }
.stagger > *:nth-child(2)  { animation: fadeUp 0.4s 0.08s ease both; }
.stagger > *:nth-child(3)  { animation: fadeUp 0.4s 0.12s ease both; }
.stagger > *:nth-child(4)  { animation: fadeUp 0.4s 0.16s ease both; }
.stagger > *:nth-child(5)  { animation: fadeUp 0.4s 0.20s ease both; }
.stagger > *:nth-child(6)  { animation: fadeUp 0.4s 0.24s ease both; }
.stagger > *:nth-child(7)  { animation: fadeUp 0.4s 0.28s ease both; }
.stagger > *:nth-child(8)  { animation: fadeUp 0.4s 0.32s ease both; }
.stagger > *:nth-child(9)  { animation: fadeUp 0.4s 0.36s ease both; }
.stagger > *:nth-child(n+10) { animation: fadeUp 0.4s 0.40s ease both; }

/* ─── Scrollbar ─────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* ─── Utility ───────────────────────────────────────── */

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
