/* Splash Screen Overlay Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--pearl, #FAF6F2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

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

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    max-width: 480px;
    width: 90%;
}

.splash-logo-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.splash-logo-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(188, 163, 116, 0.35) 0%, rgba(250, 246, 242, 0) 70%);
    border-radius: 50%;
    animation: splashGlowPulse 2.5s ease-in-out infinite alternate;
}

.splash-logo {
    width: 150px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(107, 29, 47, 0.15));
    animation: splashLogoScale 1.2s ease-out forwards;
}

.splash-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color, #6B1D2F);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0;
    animation: splashFadeUp 0.8s ease forwards 0.3s;
}

.splash-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--secondary-color, #bca374);
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0;
    animation: splashFadeUp 0.8s ease forwards 0.5s;
}

/* Progress bar container */
.splash-progress-container {
    width: 220px;
    height: 3px;
    background: rgba(188, 163, 116, 0.25);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.splash-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-color, #bca374), var(--primary-color, #6B1D2F));
    border-radius: 3px;
    transition: width 0.1s linear;
}

.splash-status {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--text-light, #706062);
    min-height: 18px;
    transition: opacity 0.3s ease;
}

/* Keyframe Animations */
@keyframes splashGlowPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.25);
        opacity: 0.9;
    }
}

@keyframes splashLogoScale {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashFadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
