/* Splash Screen Styling - Matching Android App */

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%); /* Gradient background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-in-out 1.5s forwards;
}

#splash-screen .splash-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
    border-radius: 50%;
    background-color: white;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#splash-screen .splash-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

#splash-screen .splash-subtitle {
    color: #cbd5e1;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
}

#splash-screen .splash-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Hide splash on no-js browsers */
.no-js #splash-screen {
    display: none;
}
