/*
 * Fromas Cloud Loader - Premium Advanced Animations
 * Powerful, elegant, anime-inspired loading experience
 */


/* === BASE === */

body {
    padding: 0;
    margin: 0;
    background: #f5f7fa;
}

#app-site {
    display: flex;
    width: 100%;
    min-height: 100vh;
}


/* === PREMIUM FAVICON LOADER === */

.fromas-loader {
    /* Advanced multi-layer animations */
    animation: premium-spin 4s cubic-bezier(0.4, 0, 0.2, 1) infinite, premium-glow 3s ease-in-out infinite, premium-pulse 2s ease-in-out infinite;
    /* GPU acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, filter, opacity;
    /* Premium rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: smooth;
}

.fromas-loader-icon {
    filter: drop-shadow(0 4px 12px rgba(93, 183, 232, 0.35));
}

.fromas-loader-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fromas-loader-dots {
    position: absolute;
    inset: 0;
    animation: loader-ring-spin 2.5s linear infinite;
}

.fromas-loader-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    margin-left: -3px;
    border-radius: 50%;
    background: #5db7e8;
    box-shadow: 0 0 12px rgba(93, 183, 232, 0.6);
    opacity: 0.25;
    animation: loader-dot-glow 0.9s ease-in-out infinite;
    transform-origin: center;
}


/* === ADVANCED ANIMATIONS === */


/* 1. Smooth Premium Rotation */

@keyframes premium-spin {
    0% {
        transform: translateZ(0) rotate(0deg);
    }
    100% {
        transform: translateZ(0) rotate(360deg);
    }
}


/* 2. Sophisticated Glow (Anime Sparkle Effect) */

@keyframes premium-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(93, 183, 232, 0.4)) drop-shadow(0 0 8px rgba(93, 183, 232, 0.2)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(93, 183, 232, 0.5)) drop-shadow(0 0 12px rgba(93, 183, 232, 0.3)) drop-shadow(0 0 20px rgba(93, 183, 232, 0.15)) brightness(1.1);
    }
}


/* 3. Gentle Pulse (Breathing Effect) */

@keyframes premium-pulse {
    0%,
    100% {
        opacity: 0.95;
        transform: translateZ(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateZ(0) scale(1.05);
    }
}

@keyframes loader-dot-glow {
    0%,
    100% {
        opacity: 0.25;
        box-shadow: 0 0 8px rgba(93, 183, 232, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 16px rgba(93, 183, 232, 0.8);
    }
}

@keyframes loader-ring-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* 4. Anime Bouncing Dots */

@keyframes anime-bounce {
    0%,
    80%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    40% {
        transform: translateY(-10px) scale(1.2);
        opacity: 0.8;
    }
}


/* 5. Sparkle Effect (for extra elements) */

@keyframes sparkle {
    0%,
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}


/* 6. Shimmer Sweep */

@keyframes shimmer-sweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}


/* === UTILITY ANIMATIONS === */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#root>div {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20%);
    }
}


/* === PERFORMANCE OPTIMIZATIONS === */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Dark mode support */

@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
    }
    #fromas-loader-container,
    #initial-loader {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 50, 60, 0.95) 100%) !important;
    }
}


/*# sourceMappingURL=loader.css.map */