/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Animations */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(5deg);
    }

    50% {
        transform: translateY(-15px) rotate(8deg);
    }

    100% {
        transform: translateY(0px) rotate(5deg);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Input Focus Glow */
input:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.2);
}

/* Scrollbar styling for a premium feel */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF9933;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e68a2d;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-shimmer {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Falling Petals */
.petal {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    border-radius: 50% 0 50% 0;
    pointer-events: none;
    z-index: 50;
    /* Above background, below modal */
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(720deg);
    }
}