/* Additional custom styles for Sprunksters website */

/* Animated background effect */
.animated-bg {
    background: linear-gradient(-45deg, #4c1d95, #1e40af, #4338ca, #7e22ce);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

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

/* Character animation */
.character-hover {
    transition: all 0.3s ease;
}

.character-hover:hover {
    transform: translateY(-10px) rotate(5deg);
    filter: drop-shadow(0 10px 8px rgb(79 70 229 / 0.4));
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e1b4b;
}

::-webkit-scrollbar-thumb {
    background: #4338ca;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* Glow effects */
.glow-text {
    text-shadow: 0 0 10px rgba(165, 180, 252, 0.5);
}

.glow-box {
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
}

/* Pulse animation for play button */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-container {
        aspect-ratio: 16/10;
        max-height: 70vh;
    }
}
