/* --- Splash Screen Styles --- */
body {
    margin: 0;
    padding: 0;
    /* Matches Android Native Splash: Blue Top-Left -> Pink -> Orange Bottom-Right */
    background: linear-gradient(135deg, #23a6d5, #e73c7e, #ee7752);
    /* Mobile Viewport Fix */
    min-height: 100vh;
    height: 100dvh;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.splash-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.splash-logo {
    width: 15rem;
    /* Large Logo */
    height: auto;
    animation: pulseLogo 2s infinite ease-in-out;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards, pulseLogo 3s infinite ease-in-out 1s;
}

.loader-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0.5rem auto 0;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: width 0.1s linear;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Stars Background (Simplified) */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    z-index: 1;
}