@import "tailwindcss";

@custom-variant dark (&:is(.dark *));

:root {
  --border: oklch(0.93 0 0);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.13 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.13 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.13 0 0);
  --primary: oklch(0.18 0 0);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.96 0 0);
  --secondary-foreground: oklch(0.18 0 0);
  --muted: oklch(0.96 0 0);
  --muted-foreground: oklch(0.55 0 0);
  --accent: oklch(0.96 0 0);
  --accent-foreground: oklch(0.18 0 0);
  --destructive: oklch(0.56 0.03 25);
  --input: oklch(0.93 0 0);
  --ring: oklch(0.70 0 0);
  --chart-1: oklch(0.6 0 0);
  --chart-2: oklch(0.8 0 0);
  --chart-3: oklch(0.4 0 0);
  --chart-4: oklch(0.9 0 0);
  --chart-5: oklch(0.7 0 0);
  --sidebar: oklch(0.98 0 0);
  --sidebar-foreground: oklch(0.13 0 0);
  --sidebar-primary: oklch(0.13 0 0);
  --sidebar-primary-foreground: oklch(1 0 0);
  --sidebar-accent: oklch(0.96 0 0);
  --sidebar-accent-foreground: oklch(0.18 0 0);
  --sidebar-border: oklch(0.93 0 0);
  --sidebar-ring: oklch(0.70 0 0);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
  --color-sidebar-ring: var(--sidebar-ring);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar: var(--sidebar);
  --color-chart-5: var(--chart-5);
  --color-chart-4: var(--chart-4);
  --color-chart-3: var(--chart-3);
  --color-chart-2: var(--chart-2);
  --color-chart-1: var(--chart-1);
  --color-ring: var(--ring);
  --color-input: var(--input);
  --color-border: var(--border);
  --color-destructive: var(--destructive);
  --color-accent-foreground: var(--accent-foreground);
  --color-accent: var(--accent);
  --color-muted-foreground: var(--muted-foreground);
  --color-muted: var(--muted);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-secondary: var(--secondary);
  --color-primary-foreground: var(--primary-foreground);
  --color-primary: var(--primary);
  --color-popover-foreground: var(--popover-foreground);
  --color-popover: var(--popover);
  --color-card-foreground: var(--card-foreground);
  --color-card: var(--card);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
}

body {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@keyframes progress-stripes {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

.progress-stripes {
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 10px, rgba(255,255,255,.15) 10px 20px);
  background-size: 40px 40px;
  animation: progress-stripes 1s linear infinite;
}

.dark {
  --background: #0b0c0f;
  --foreground: #ffffff;
  --card: #111317;
  --card-foreground: #ffffff;
  --popover: #111317;
  --popover-foreground: #ffffff;
  --primary: #ffffff;
  --primary-foreground: #0b0c0f;
  --secondary: #14161b;
  --secondary-foreground: #ffffff;
  --muted: #14161b;
  --muted-foreground: #c7c9d1;
  --accent: #14161b;
  --accent-foreground: #ffffff;
  --destructive: #7f1d1d;
  --border: #23262d;
  --input: #1a1d24;
  --ring: #4a4e55;
  --chart-1: #777777;
  --chart-2: #aaaaaa;
  --chart-3: #555555;
  --chart-4: #dddddd;
  --chart-5: #999999;
  --sidebar: #0b0c0f;
  --sidebar-foreground: #ffffff;
  --sidebar-primary: #ffffff;
  --sidebar-primary-foreground: #0b0c0f;
  --sidebar-accent: #14161b;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #23262d;
  --sidebar-ring: #4a4e55;
}

@keyframes mesh-move {
  0% { transform: translate(-10%, -10%) scale(1.35); }
  33% { transform: translate(30%, -20%) scale(1.5); }
  66% { transform: translate(-20%, 25%) scale(1.4); }
  100% { transform: translate(-10%, -10%) scale(1.35); }
}

@keyframes mesh-move-2 {
  0% { transform: translate(20%, 10%) scale(1.4); }
  33% { transform: translate(-25%, 35%) scale(1.3); }
  66% { transform: translate(35%, -15%) scale(1.6); }
  100% { transform: translate(20%, 10%) scale(1.4); }
}

.mesh-bg { position: absolute; inset: 0%; filter: blur(8px); opacity: 1; pointer-events: none; }
.mesh-layer { position: absolute; width: 100%; height: 100%; border-radius: 9999px; opacity: 1; }
.mesh-a { background: radial-gradient(circle at center, #3ab2ff 0%, #1498ff 85%, #1586ee 100%); animation: mesh-move 9s ease-in-out infinite, mesh-brighten 7s ease-in-out infinite; top: -10%; left: -12%; }
.mesh-b { background: radial-gradient(circle at center, #ff5aa0 0%, #ff2a79 85%, #f00066 100%); animation: mesh-move-2 11s ease-in-out infinite, mesh-brighten 8s ease-in-out infinite; bottom: -12%; right: -10%; }
.mesh-c { background: radial-gradient(circle at center, #ffcb33 0%, #ffa31a 85%, #ff8405 100%); animation: mesh-move 13s ease-in-out infinite reverse, mesh-brighten 10s ease-in-out infinite; top: 35%; left: 60%; }

@keyframes mesh-brighten {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
  100% { filter: brightness(1); }
}

@layer base {
  * {
    @apply border-border outline-ring/50;
 }
  body {
    @apply bg-background text-foreground;
 }
}

nextjs-portal,
#__next-build-watcher,
#__next-route-announcer,
#__next-dev-overlay {
  display: none !important;
}
