/* preloader.css - Cube Animation Preloader Styles */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.isometric-cubes {
    display: flex;
    gap: 40px;
}

.iso-cube {
    position: relative;
    width: 80px;
    height: 80px;
    animation: smoothBounce 1.2s ease-in-out infinite;
}

.iso-cube:nth-child(1) { 
    animation-delay: 0s; 
}

.iso-cube:nth-child(2) { 
    animation-delay: 0.2s; 
}

.iso-cube:nth-child(3) { 
    animation-delay: 0.4s; 
}

.cube-top {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cube-left {
    position: absolute;
    width: 80px;
    height: 30px;
    background: linear-gradient(145deg, #1e40af, #1e3a8a);
    bottom: -15px;
    left: 0;
    transform: skewY(-8deg);
    border-radius: 0 0 6px 6px;
    opacity: 0.8;
}

.cube-right {
    position: absolute;
    width: 30px;
    height: 80px;
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    right: -15px;
    top: 0;
    transform: skewX(-8deg);
    border-radius: 0 6px 6px 0;
    opacity: 0.8;
}

@keyframes smoothBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}
