@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');
@import "tailwindcss";

@theme {
  --color-background: #fdf2f8; /* pink-50 */
  --color-foreground: #3730a3; /* indigo-800 */
  
  --color-primary: #ec4899; /* pink-500 */
  --color-primary-foreground: #ffffff;
  
  --color-muted: #fce7f3; /* pink-100 */
  --color-muted-foreground: #6366f1; /* indigo-500 */
  
  --color-accent: #f87171; /* red-400 */
  --color-accent-foreground: #ffffff;
  
  --color-border: #fbcfe8; /* pink-200 */

  --font-sans: "Quicksand", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fredoka", ui-sans-serif, system-ui, sans-serif;

  --animate-bounce-slow: bounce-slow 3s ease-in-out infinite;
  --animate-float: float 4s ease-in-out infinite;
  --animate-pulse-slow: pulse-slow 3s ease-in-out infinite alternate;
}

@layer base {
  :root {
    color-scheme: light;
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
  }
}

@layer utilities {
  .text-gradient {
    @apply bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500;
  }
  
  .glass-panel {
    @apply bg-white/70 backdrop-blur-xl border border-white shadow-xl;
  }
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-slow {
  from { opacity: 0.8; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}
