.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-video {
    width: 300px;
    height: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.preloader-content {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.preloader-logo {
    width: 400px;
    height: 350px;
    max-width: 95vw;
    max-height: 80vh;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    display: block;
    object-fit: contain;
}

@media (max-width: 600px) {
    .preloader-logo {
        width: 90vw;
        height: auto;
        max-height: 50vh;
    }
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
} 