@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Space Grotesk', sans-serif;
}

.font-display {
    font-family: 'Bricolage Grotesque', sans-serif;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(30px, 10px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 12s ease-in-out infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
}

.animate-pulse-border {
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.5s ease-out forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out forwards;
}

.distill-animation {
    position: relative;
    width: 60px;
    height: 40px;
}

.bubble {
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: bubble-rise 1s ease-in-out infinite;
}

.bubble:nth-child(1) { left: 10%; }
.bubble:nth-child(2) { left: 30%; }
.bubble:nth-child(3) { left: 50%; }
.bubble:nth-child(4) { left: 70%; }
.bubble:nth-child(5) { left: 90%; }

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-30px) scale(0.5);
        opacity: 0;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #f59e0b, #ea580c);
    border-radius: 4px;
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #78350f, #9a3412);
}

/* Selection color */
::selection {
    background: rgba(245, 158, 11, 0.3);
}

/* Focus states */
textarea:focus {
    outline: none;
}

button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Smooth transitions for dark mode */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}