/* WTMF Loading Screen - Minimal and Fast */

/* Loading screen container - shown immediately */
.wtmf-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 15, 21, 1) 0%, 
        rgba(25, 25, 35, 1) 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.wtmf-loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loading content */
.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

/* Logo/Title */
.loading-title {
    font-family: 'Orbitron', monospace, sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #F5C347;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(245, 195, 71, 0.5);
    letter-spacing: 2px;
    animation: titlePulse 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0% { 
        text-shadow: 0 0 20px rgba(245, 195, 71, 0.5);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 30px rgba(245, 195, 71, 0.8);
        transform: scale(1.02);
    }
}

/* Loading subtitle */
.loading-subtitle {
    font-family: 'Share Tech Mono', monospace, sans-serif;
    font-size: 0.9rem;
    color: #E8E8F0;
    margin-bottom: 2rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loading progress */
.loading-progress {
    width: 200px;
    height: 3px;
    background: rgba(245, 195, 71, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #F5C347, #00A693);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(245, 195, 71, 0.5);
}

/* Loading text */
.loading-text {
    font-family: 'Share Tech Mono', monospace, sans-serif;
    font-size: 0.8rem;
    color: #E8E8F0;
    opacity: 0.6;
    animation: textFade 1.5s ease-in-out infinite alternate;
}

@keyframes textFade {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .loading-content {
        padding: 1rem;
    }
    
    .loading-subtitle {
        font-size: 0.8rem;
    }
    
    .loading-progress {
        width: 160px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .loading-title,
    .loading-text {
        animation: none;
    }
    
    .loading-title {
        text-shadow: 0 0 20px rgba(245, 195, 71, 0.5);
        transform: none;
    }
}
