@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&display=swap');

:root {
  --bg-0:        oklch(0.13 0.015 260);
  --bg-1:        oklch(0.17 0.018 260);
  --bg-2:        oklch(0.22 0.02  260);
  --bg-3:        oklch(0.27 0.022 260);
  --line:        oklch(0.32 0.02 260 / .5);
  --text:        oklch(0.96 0.005  90);
  --text-dim:    oklch(0.72 0.01  260);
  --text-muted:  oklch(0.55 0.012 260);
  --accent:      oklch(0.78 0.15   70);
  --accent-soft: oklch(0.78 0.15   70 / .15);
  --gold:        oklch(0.85 0.13   90);
  --red:         oklch(0.65 0.20   25);
  --green:       oklch(0.75 0.15  145);
  --shadow-card:   0 12px 32px -8px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.4);
  --shadow-poster: 0 20px 50px -10px rgba(0,0,0,.7), 0 4px 12px rgba(0,0,0,.5);
  --nav-w: 72px;
  --nav-w-open: 220px;
  --transition: .22s ease;
}

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

html, body {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Scrollbar */
.thin-scroll::-webkit-scrollbar { width: 4px; height: 4px; }
.thin-scroll::-webkit-scrollbar-track { background: transparent; }
.thin-scroll::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 99px; }
.no-scroll { scrollbar-width: none; }
.no-scroll::-webkit-scrollbar { display: none; }

.display { font-family: 'Fraunces', serif; font-weight: 700; letter-spacing: -.02em; }
.mono    { font-family: ui-monospace, monospace; }

/* Focus ring */
*:focus { outline: none; }
.focusable.is-focused {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes skel {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fade-in { animation: fadeIn .3s ease both; }
.skel {
  background: linear-gradient(90deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-1) 100%);
  background-size: 200% 100%;
  animation: skel 1.5s linear infinite;
  border-radius: 8px;
}
