#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.aluminum-bar {
    width: 15px;
    height: 40px;
    background: linear-gradient(to bottom, #a0a0a0, #e0e0e0, #a0a0a0);
    animation: loading 1.2s infinite ease-in-out;
}

.aluminum-bar:nth-child(1) { animation-delay: -0.32s; }
.aluminum-bar:nth-child(2) { animation-delay: -0.24s; }
.aluminum-bar:nth-child(3) { animation-delay: -0.16s; }
.aluminum-bar:nth-child(4) { animation-delay: -0.08s; }

@keyframes loading {
    0%, 80%, 100% { 
        transform: scaleY(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scaleY(1.2);
        opacity: 1;
    }
}

#loading-screen p {
    color: #333;
    font-size: 1.2rem;
    margin-top: 20px;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}