/* Custom styles for gamification landing page */
body {
    font-family: 'Fredoka', sans-serif;
}

.animated-bg {
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #1e3a8a, #4c1d95, #701a75);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.title-animate {
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
}

.subtitle-animate {
    animation: float 4s ease-in-out infinite reverse;
}

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

.game-card {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.game-card:hover {
    box-shadow: 0 20px 50px -5px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.1);
}

/* Floating particles CSS (controlled by JS) */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: particleUp 5s infinite linear;
}

@keyframes particleUp {
    from {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    to {
        transform: translateY(-100vh) scale(0) rotate(360deg);
        opacity: 0;
    }
}
