@custom-variant dark (&:is(.dark *)); :root { /* NEXSONIUM Dark Theme - Premium App Store Design */ --font-size: 16px; /* Core Dark Palette */ --background: #0A0A0F; --surface: #111118; --card: #1A1A2E; --elevated: #222233; /* Gradient Accents */ --gradient-start: #7C3AED; --gradient-end: #06B6D4; /* Text Colors */ --foreground: #FFFFFF; --foreground-muted: #A0A0B0; --foreground-subtle: #6B6B7F; /* Primary/Accent */ --primary: #7C3AED; --primary-foreground: #FFFFFF; --accent: #06B6D4; --accent-foreground: #FFFFFF; /* Interactive States */ --card-foreground: #FFFFFF; --popover: #1A1A2E; --popover-foreground: #FFFFFF; --secondary: #2A2A3E; --secondary-foreground: #FFFFFF; --muted: #2A2A3E; --muted-foreground: #A0A0B0; /* Borders & Input */ --border: rgba(124, 58, 237, 0.2); --border-subtle: rgba(255, 255, 255, 0.1); --input: rgba(255, 255, 255, 0.05); --input-background: #1A1A2E; --switch-background: #2A2A3E; --ring: #7C3AED; /* Destructive */ --destructive: #EF4444; --destructive-foreground: #FFFFFF; /* Glassmorphism Effects */ --glass-bg: rgba(26, 26, 46, 0.7); --glass-border: rgba(255, 255, 255, 0.1); --glass-blur: 20px; /* Neon Glow Effects */ --glow-violet: 0 0 20px rgba(124, 58, 237, 0.5); --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.5); --glow-intense: 0 0 30px rgba(124, 58, 237, 0.8), 0 0 60px rgba(6, 182, 212, 0.4); /* Charts */ --chart-1: #7C3AED; --chart-2: #06B6D4; --chart-3: #10B981; --chart-4: #F59E0B; --chart-5: #EF4444; /* Typography */ --font-weight-medium: 500; --font-weight-normal: 400; --font-weight-semibold: 600; --font-weight-bold: 700; /* Border Radius */ --radius: 1rem; /* Sidebar (Admin Panel) */ --sidebar: #111118; --sidebar-foreground: #FFFFFF; --sidebar-primary: #7C3AED; --sidebar-primary-foreground: #FFFFFF; --sidebar-accent: #2A2A3E; --sidebar-accent-foreground: #FFFFFF; --sidebar-border: rgba(255, 255, 255, 0.1); --sidebar-ring: #7C3AED; } .dark { /* Dark mode uses same palette */ --background: #0A0A0F; --foreground: #FFFFFF; --card: #1A1A2E; --card-foreground: #FFFFFF; --popover: #1A1A2E; --popover-foreground: #FFFFFF; --primary: #7C3AED; --primary-foreground: #FFFFFF; --secondary: #2A2A3E; --secondary-foreground: #FFFFFF; --muted: #2A2A3E; --muted-foreground: #A0A0B0; --accent: #06B6D4; --accent-foreground: #FFFFFF; --destructive: #EF4444; --destructive-foreground: #FFFFFF; --border: rgba(124, 58, 237, 0.2); --input: rgba(255, 255, 255, 0.05); --ring: #7C3AED; --font-weight-medium: 500; --font-weight-normal: 400; --chart-1: #7C3AED; --chart-2: #06B6D4; --chart-3: #10B981; --chart-4: #F59E0B; --chart-5: #EF4444; --sidebar: #111118; --sidebar-foreground: #FFFFFF; --sidebar-primary: #7C3AED; --sidebar-primary-foreground: #FFFFFF; --sidebar-accent: #2A2A3E; --sidebar-accent-foreground: #FFFFFF; --sidebar-border: rgba(255, 255, 255, 0.1); --sidebar-ring: #7C3AED; } @theme inline { /* Core Colors */ --color-background: var(--background); --color-surface: var(--surface); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-elevated: var(--elevated); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); /* Gradients */ --color-gradient-start: var(--gradient-start); --color-gradient-end: var(--gradient-end); /* Primary/Accent */ --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); /* Interactive */ --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); /* Borders & Input */ --color-border: var(--border); --color-border-subtle: var(--border-subtle); --color-input: var(--input); --color-input-background: var(--input-background); --color-switch-background: var(--switch-background); --color-ring: var(--ring); /* Charts */ --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 */ --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); --radius-2xl: calc(var(--radius) + 8px); /* Sidebar */ --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; } /** * Default typography styles for HTML elements (h1-h4, p, label, button, input). * These are in @layer base, so Tailwind utility classes (like text-sm, text-lg) automatically override them. */ html { font-size: var(--font-size); } h1 { font-size: var(--text-2xl); font-weight: var(--font-weight-medium); line-height: 1.5; } h2 { font-size: var(--text-xl); font-weight: var(--font-weight-medium); line-height: 1.5; } h3 { font-size: var(--text-lg); font-weight: var(--font-weight-medium); line-height: 1.5; } h4 { font-size: var(--text-base); font-weight: var(--font-weight-medium); line-height: 1.5; } label { font-size: var(--text-base); font-weight: var(--font-weight-medium); line-height: 1.5; } button { font-size: var(--text-base); font-weight: var(--font-weight-medium); line-height: 1.5; } input { font-size: var(--text-base); font-weight: var(--font-weight-normal); line-height: 1.5; } } /* Background Animations */ @keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } } @keyframes float-delayed { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-40px, 30px) scale(1.05); } 66% { transform: translate(25px, -25px) scale(0.95); } } @keyframes float-slow { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(20px, -20px) rotate(5deg); } } @keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } } @keyframes gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } .animate-float { animation: float 20s ease-in-out infinite; } .animate-float-delayed { animation: float-delayed 25s ease-in-out infinite; animation-delay: 2s; } .animate-float-slow { animation: float-slow 30s ease-in-out infinite; animation-delay: 4s; } .animate-twinkle { animation: twinkle 3s ease-in-out infinite; } .animate-gradient { background-size: 200% 200%; animation: gradient 15s ease infinite; }