File size: 3,950 Bytes
9580dce | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | @import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
:root {
/* Base surface palette — deep navy / charcoal */
--surface-0: #080c18;
--surface-1: #0d1224;
--surface-2: #111827;
--surface-3: #1a2035;
--surface-4: #232d45;
/* Text */
--text-primary: rgba(255, 255, 255, 0.87);
--text-secondary: rgba(255, 255, 255, 0.55);
--text-muted: rgba(255, 255, 255, 0.35);
/* Category accent colors */
--color-chess: #f59e0b;
--color-reading: #10b981;
--color-feynman: #06b6d4;
--color-logic: #8b5cf6;
--color-critical-thinking: #f43f5e;
--color-quests: #f97316;
--color-coding: #3b82f6;
/* Glow variants (for active/unlock states) */
--glow-chess: rgba(245, 158, 11, 0.35);
--glow-reading: rgba(16, 185, 129, 0.35);
--glow-feynman: rgba(6, 182, 212, 0.35);
--glow-logic: rgba(139, 92, 246, 0.35);
--glow-critical-thinking: rgba(244, 63, 94, 0.35);
--glow-quests: rgba(249, 115, 22, 0.35);
--glow-coding: rgba(59, 130, 246, 0.35);
/* Fonts */
--font-sans: var(--font-inter, ui-sans-serif, system-ui, sans-serif);
--font-mono: var(--font-jetbrains-mono, ui-monospace, "JetBrains Mono", monospace);
/* shadcn color vars (dark mode base) */
--background: var(--surface-0);
--foreground: var(--text-primary);
--card: var(--surface-2);
--card-foreground: var(--text-primary);
--popover: var(--surface-2);
--popover-foreground: var(--text-primary);
--primary: #6366f1;
--primary-foreground: #ffffff;
--secondary: var(--surface-3);
--secondary-foreground: var(--text-primary);
--muted: var(--surface-3);
--muted-foreground: var(--text-secondary);
--accent: var(--surface-4);
--accent-foreground: var(--text-primary);
--destructive: #ef4444;
--border: rgba(255, 255, 255, 0.08);
--input: rgba(255, 255, 255, 0.06);
--ring: rgba(99, 102, 241, 0.5);
--radius: 0.5rem;
/* Sidebar */
--sidebar: var(--surface-1);
--sidebar-foreground: var(--text-primary);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: var(--surface-3);
--sidebar-accent-foreground: var(--text-primary);
--sidebar-border: rgba(255, 255, 255, 0.06);
--sidebar-ring: var(--ring);
}
* {
border-color: var(--border);
box-sizing: border-box;
}
body {
background-color: var(--surface-0);
color: var(--text-primary);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Glassmorphism card utility */
.glass {
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-md {
background: rgba(255, 255, 255, 0.06);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Monospace stat display */
.stat {
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
letter-spacing: -0.02em;
}
/* Subtle gradient backgrounds for category sections */
.bg-chess { background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, transparent 60%); }
.bg-reading { background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, transparent 60%); }
.bg-feynman { background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, transparent 60%); }
.bg-logic { background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, transparent 60%); }
.bg-critical-thinking { background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, transparent 60%); }
.bg-quests { background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, transparent 60%); }
/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }
|