@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Syne:wght@400;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #06080d;
  --bg2: #0a0e16;
  --surface: #0f1320;
  --surface2: #161b2e;
  --surface3: #1c2340;
  --border: #1e2642;
  --border2: #2a3458;
  --accent: #3b82f6;
  --accent2: #8b5cf6;
  --text: #e2e8f0;
  --text2: #94a3b8;
  --muted: #475569;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --orange: #f97316;
  --cyan: #06b6d4;
}

[data-theme="model"] {
  --bg: #0a0a0f; --bg2: #0e0e18; --surface: #14141f; --surface2: #1c1c2e;
  --surface3: #242440; --border: #2a2a40; --border2: #3a3a58;
  --accent: #c084fc; --accent2: #f472b6;
}

[data-theme="user"] {
  --bg: #0a0f0a; --bg2: #0e160e; --surface: #111a11; --surface2: #1a2a1a;
  --surface3: #243a24; --border: #2a402a; --border2: #3a583a;
  --accent: #4ade80; --accent2: #22d3ee;
}

[data-theme="admin"] {
  --bg: #06080d; --bg2: #0a0e16; --surface: #0f1320; --surface2: #161b2e;
  --surface3: #1c2340; --border: #1e2642; --border2: #2a3458;
  --accent: #3b82f6; --accent2: #8b5cf6;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono { font-family: 'DM Mono', monospace; }
.syne { font-family: 'Syne', sans-serif; }

.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 24px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,.4); }
  50% { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}

@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
