/**
 * Luxury Preloader Styles
 * Cicada Rise - Premium Fashion Brand
 * Minimal, elegant, glass-effect loading screen
 */

#preloader.luxury-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 244, 239, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    opacity: 0;
    transform: scale(0.95);
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

/* Loading Dots Container */
.loading-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 10px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #B08A57;
    opacity: 0.3;
}

.dot.dot-1,
.dot.dot-2,
.dot.dot-3 {
    animation: dotPulse 1.8s ease-in-out infinite;
}

.dot.dot-1 {
    animation-delay: 0s;
}

.dot.dot-2 {
    animation-delay: 0.3s;
}

.dot.dot-3 {
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Floating animation for logo */
@keyframes logoFloat {
    0%, 100% {
        transform: scale(1) translateY(0px);
    }
    50% {
        transform: scale(1) translateY(-2px);
    }
}

.preloader-logo.animated {
    animation: logoFloat 3s ease-in-out infinite;
}

/* Hide preloader when complete */
#preloader.luxury-preloader.complete {
    pointer-events: none;
    display: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .preloader-logo {
        width: 80px;
        height: 80px;
    }

    .preloader-content {
        gap: 20px;
    }

    .dot {
        width: 5px;
        height: 5px;
    }

    .loading-dots {
        gap: 8px;
    }
}
