/* Custom styles for Woodland Critter Clubhouse */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Floating animation for hero blobs */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

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

/* Scroll reveal base styles - content is visible by default */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

/* Animated states applied via JS only, respecting reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up.animate {
        animation: revealUp 0.7s ease-out forwards;
    }
    .reveal-left.animate {
        animation: revealLeft 0.7s ease-out forwards;
    }
    .reveal-right.animate {
        animation: revealRight 0.7s ease-out forwards;
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(251, 191, 36, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e2d3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}
