/* PWA Custom Splash Screen Styles - Redesigned based on User Image 2 */
#pwa-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A66FF; /* Vibrant Blue */
    display: none; /* Hidden by default to prevent navigation flicker */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
    color: white;
    font-family: 'Inter', sans-serif;
}

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

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* White box for the logo */
.logo-box {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 40px; /* Large rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: splash-pop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.splash-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.splash-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 2rem 0;
    letter-spacing: -1px;
}

/* Loading Elements */
.loader-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.splash-spinner {
    width: 45px;
    height: 45px;
    border: 3.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: splash-spin 0.8s linear infinite;
}

/* Minimalist Footer Info (From Image 2) */
.splash-footer-info {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0.6;
}

.version-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.app-name-footer {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes splash-pop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes splash-spin {
    to { transform: rotate(360deg); }
}
