@import "tailwindcss";

:root {
  --background: #ffffff;
  --foreground: #0a0d14;
  --primary: #0c203b;
  --primary-light: #132d52;
  --primary-lighter: #1a3a6a;
  --accent: #049fff;
  --accent-soft: #e8f4fd;
  --teal: #00b29a;
  --light-bg: #f6f8fa;
  --muted: #6b7280;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-primary: var(--primary);
  --color-primary-light: var(--primary-light);
  --color-primary-lighter: var(--primary-lighter);
  --color-accent: var(--accent);
  --color-accent-soft: var(--accent-soft);
  --color-teal: var(--teal);
  --color-light-bg: var(--light-bg);
  --color-muted: var(--muted);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans), Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

.safe-area-pb {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out 2s infinite;
}

.animate-float-slow {
  animation: float 8s ease-in-out 1s infinite;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-fade-in-up-delayed {
  animation: fade-in-up 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-up-delayed-2 {
  animation: fade-in-up 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes balance-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate-balance-reveal {
  animation: balance-reveal 0.5s ease-out forwards;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 25%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes stat-in {
  from {
    opacity: 0;
    transform: translateY(16px) skewY(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

@keyframes stat-out {
  from {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
  to {
    opacity: 0;
    transform: translateY(-16px) skewY(-2deg);
  }
}

.animate-stat-in {
  animation: stat-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-stat-out {
  animation: stat-out 0.35s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
