/* Custom Loading Screen Styles */
#app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

#app-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.3));
    animation: loaderPulse 2s ease-in-out infinite;
}

.loader-bar-container {
    width: 240px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #facc15);
    position: absolute;
    left: -100%;
    animation: loaderSlide 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.loader-text {
    font-family: 'Anton', sans-serif;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    opacity: 0.8;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes loaderSlide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}
