#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg3.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-out;
    overflow: hidden;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    text-align: center;
    position: relative;
}

.loading-text {
    font-family: 'Press Start 2P', cursive;
    color: var(--color-cream);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    animation: text-pulse 2s infinite ease-in-out;
}

@keyframes text-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pixel-loader {
    width: 300px;
    height: 30px;
    border: 5px solid var(--color-cream);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--color-blue-light);
    animation: fill-loader 3s linear forwards;
}

@keyframes fill-loader {
    0% {
        width: 0%;
    }
    25% {
        width: 50%;
    }
    50% {
        width: 75%;
    }
    100% {
        width: 100%;
    }
} 