/* Custom animations and styles for Tailwind */

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

/* Mobile menu animation */
.nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nav-menu.active {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Game card and feature fade-in animation */
.game-card,
.feature {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.game-card.visible,
.feature.visible {
    opacity: 1;
    transform: translateY(0);
}
