/* menu_loading.css - Loading Screen Visuals and Animations */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000; /* Above everything */
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

#loading-content {
    text-align: center;
    width: 80%;
    max-width: 400px;
}

#loading-gate-icon {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px #ff4500);
    animation: loadingPulse 2s infinite ease-in-out;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px #ff4500) brightness(1); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 30px #ffcc00) brightness(1.5); }
}

#loading-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    letter-spacing: 8px;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#loading-status {
    font-size: 14px;
    color: #ffd700;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    min-height: 20px;
}

#loading-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#loading-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff4500, #ffd700);
    box-shadow: 0 0 15px #ff4500;
    transition: width 0.3s ease-out;
}

#loading-percentage {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}
