:root {
  --background: 40 33% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;
  --primary: 222 47% 11%;
  --primary-foreground: 40 33% 98%;
  --secondary: 220 60% 96%;
  --secondary-foreground: 222 47% 11%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;
  --accent: 230 80% 60%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 230 80% 60%;
  --radius: 1rem;
  
  /* Custom tokens */
  --cream: 40 33% 98%;
  --cream-dark: 40 20% 94%;
  --navy: 222 47% 11%;
  --navy-light: 222 30% 25%;
  --blue-accent: 230 80% 60%;
  --blue-light: 220 100% 96%;
  --coral: 350 80% 65%;
  --coral-light: 350 100% 95%;
  --teal: 175 60% 45%;
  --teal-light: 175 60% 95%;
  
  --shadow-sm: 0 2px 8px -2px hsl(222 47% 11% / 0.06);
  --shadow-md: 0 8px 24px -4px hsl(222 47% 11% / 0.08);
  --shadow-lg: 0 16px 48px -8px hsl(222 47% 11% / 0.1);
  --shadow-glow: 0 0 40px hsl(230 80% 60% / 0.15);
}

.dark {
  --background: 222 47% 6%;
  --foreground: 40 33% 98%;
  --card: 222 47% 8%;
  --card-foreground: 40 33% 98%;
  --popover: 222 47% 8%;
  --popover-foreground: 40 33% 98%;
  --primary: 40 33% 98%;
  --primary-foreground: 222 47% 11%;
  --secondary: 222 30% 15%;
  --secondary-foreground: 40 33% 98%;
  --muted: 222 30% 15%;
  --muted-foreground: 220 14% 65%;
  --accent: 230 80% 60%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 62% 30%;
  --destructive-foreground: 0 0% 100%;
  --border: 222 30% 18%;
  --input: 222 30% 18%;
  --ring: 230 80% 60%;
}

@layer base {
  * {
    border-color: hsl(var(--border));
  }
  body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
  }
}

/* Utilities extracted from index.css */
.glass {
  background-color: hsl(var(--card) / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
}

.glass-strong {
  background-color: hsl(var(--card) / 0.95);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid hsl(var(--border) / 0.3);
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, hsl(var(--accent)), hsl(260, 70%, 55%));
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite 2s;
}

.animate-float-slow {
  animation: float 8s ease-in-out infinite 1s;
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
