/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 2.5s forwards;
}

.loading-screen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 10px;
    background-color: var(--tc1);
    animation: loadProgress 2.5s ease-out forwards;
}

.loading-logo {
    width: 400px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Show main content immediately after loader */
.main-content {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .loading-logo {
        width: 350px;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        width: 220px;
    }
}
