/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, filter 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
}

.logo {
    width: 100px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    transform: scale(0.95);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* PROGRESS BAR */
.progress-bar {
    width: 150px;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #007aff; /* azul moderno tipo Apple */
    transition: width 0.2s ease;
}

/* MAIN CONTENT */
#main-content {
    display: none;
    padding: 2rem;
    text-align: center;
    animation: fadeContent 1s ease forwards;
}

@keyframes fadeContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}