/* =============================================
   SPLASH.CSS - Loading Screen Styles
   ============================================= */

/* ===== Loading Screen Container ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loader-content {
    text-align: center;
}

/* ===== Logo ===== */
.loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 2px solid var(--gold);
    border-radius: 50%;
    padding: 4px;
    background: rgba(212, 175, 55, 0.1);
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 30px 10px rgba(212, 175, 55, 0.2); }
}

/* ===== Text ===== */
.loader-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.loader-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.loader-tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ===== Progress Bar ===== */
.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--gold);
    border-radius: 2px;
    animation: loadProgress 2s ease-out forwards;
}

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

/* ===== Mobile Responsive ===== */
@media (max-width: 480px) {
    .loader-name {
        font-size: 1.4rem;
    }
    
    .loader-logo {
        width: 60px;
        height: 60px;
    }
}
