@import "tailwindcss"; @import "tw-animate-css"; @custom-variant dark (&:is(.dark *)); :root { --background: oklch(0.98 0.02 280); --foreground: oklch(0.25 0.05 280); --card: oklch(1 0 0); --card-foreground: oklch(0.25 0.05 280); --popover: oklch(1 0 0); --popover-foreground: oklch(0.25 0.05 280); --primary: oklch(0.65 0.25 320); --primary-foreground: oklch(1 0 0); --secondary: oklch(0.75 0.2 200); --secondary-foreground: oklch(0.25 0.05 280); --muted: oklch(0.95 0.02 280); --muted-foreground: oklch(0.5 0.05 280); --accent: oklch(0.85 0.15 60); --accent-foreground: oklch(0.25 0.05 280); --destructive: oklch(0.577 0.245 27.325); --destructive-foreground: oklch(1 0 0); --border: oklch(0.9 0.05 280); --input: oklch(0.9 0.05 280); --ring: oklch(0.65 0.25 320); --chart-1: oklch(0.65 0.25 320); --chart-2: oklch(0.75 0.2 200); --chart-3: oklch(0.85 0.15 60); --chart-4: oklch(0.7 0.22 350); --chart-5: oklch(0.6 0.18 180); --radius: 1rem; --sidebar: oklch(0.98 0.02 280); --sidebar-foreground: oklch(0.25 0.05 280); --sidebar-primary: oklch(0.65 0.25 320); --sidebar-primary-foreground: oklch(1 0 0); --sidebar-accent: oklch(0.95 0.02 280); --sidebar-accent-foreground: oklch(0.25 0.05 280); --sidebar-border: oklch(0.9 0.05 280); --sidebar-ring: oklch(0.65 0.25 320); } @theme inline { --font-sans: "Geist", "Geist Fallback"; --font-mono: "Geist Mono", "Geist Mono Fallback"; --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --color-chart-1: var(--chart-1); --color-chart-2: var(--chart-2); --color-chart-3: var(--chart-3); --color-chart-4: var(--chart-4); --color-chart-5: var(--chart-5); --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); --color-sidebar: var(--sidebar); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar-primary: var(--sidebar-primary); --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); --color-sidebar-accent: var(--sidebar-accent); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); --color-sidebar-border: var(--sidebar-border); --color-sidebar-ring: var(--sidebar-ring); } @layer base { * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; position: relative; } /* Made rainbow gradient stronger with higher opacity */ body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 135deg, rgba(255, 0, 0, 0.25) 0%, rgba(255, 154, 0, 0.25) 10%, rgba(208, 222, 33, 0.25) 20%, rgba(79, 220, 74, 0.25) 30%, rgba(63, 218, 216, 0.25) 40%, rgba(47, 201, 226, 0.25) 50%, rgba(28, 127, 238, 0.25) 60%, rgba(95, 21, 242, 0.25) 70%, rgba(186, 12, 248, 0.25) 80%, rgba(251, 7, 217, 0.25) 90%, rgba(255, 0, 0, 0.25) 100% ); background-size: 400% 400%; animation: rainbow-flow 15s ease infinite; pointer-events: none; z-index: -1; } } @keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(0); } 50% { opacity: 1; transform: scale(1); } } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } } @keyframes rainbow { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } } @keyframes rainbow-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Updated sparkle animation to shoot outward */ @keyframes cursor-spark { 0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); } 100% { opacity: 0; transform: translate(calc(var(--vx) * 30px), calc(var(--vy) * 30px)) scale(0.3) rotate(360deg); } } /* Updated animation duration from 0.8s to 1.5s in component */ /* New rainbow star animation that lasts longer and shoots outward */ @keyframes cursor-rainbow-star { 0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); } 100% { opacity: 0; transform: translate(calc(var(--vx) * 50px), calc(var(--vy) * 50px)) scale(0.2) rotate(720deg); } } /* New arc animation that shoots outward */ @keyframes cursor-arc { 0% { opacity: 0.9; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--vx) * 40px), calc(var(--vy) * 40px)) scale(0.5); } } @keyframes cursor-rainbow { 0% { opacity: 0.8; transform: scale(0); } 100% { opacity: 0; transform: scale(2); } } .sparkle { animation: sparkle 1.5s ease-in-out infinite; } .float { animation: float 3s ease-in-out infinite; } .rainbow-text { background: linear-gradient( 90deg, oklch(0.65 0.25 320), oklch(0.75 0.2 200), oklch(0.85 0.15 60), oklch(0.7 0.22 350), oklch(0.6 0.18 180) ); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow 3s linear infinite; }