/* RADIAL SPLASH SCREEN STYLES */

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: #101622;
    z-index: 10000;
    display: flex;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 0.8s ease, visibility 0.8s;
}

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

/* WHEEL CONTAINER */
#splash-screen .wheel-container {
    position: absolute;
    right: 55vw;
    top: 50%;
    transform: translateY(-50%);
    width: 150vh;
    height: 150vh;
    z-index: 1;
}

#splash-screen .wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
}

#splash-screen #prototype-wheel {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* OVERLAY */
#splash-screen .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(16, 22, 34, 0.2) 0%,
            rgba(0, 46, 128, 0.4) 40%,
            rgba(0, 46, 128, 0.8) 100%);
    backdrop-filter: blur(3px);
    z-index: 10;
    pointer-events: none;
}

/* SIGN IN AREA */
#splash-screen .signin-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    color: #ffffff;
    padding: 40px;
}

#splash-screen .logo {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 80px;
    height: auto;
    display: block;
    /* Override global display: none */
    filter: brightness(0) invert(1);
    z-index: 100;
    pointer-events: none;
}

#splash-screen h1 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 48px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

#splash-screen .login-btn {
    background: #ffffff;
    color: #002E80;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure text is centered */
    gap: 12px;
    width: fit-content;
    /* Override global width: 100% */
}

#splash-screen .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE: VERTICAL (Portrait) */
@media (orientation: portrait),
(max-width: 768px) {
    #splash-screen .wheel-container {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 52vh;
        transform: translateX(-50%);
        width: 140vw;
        height: 140vw;
    }

    #splash-screen .overlay {
        background: linear-gradient(180deg,
                rgba(16, 22, 34, 0.2) 0%,
                rgba(0, 46, 128, 0.5) 50%,
                rgba(0, 46, 128, 0.9) 100%);
    }

    #splash-screen .signin-container {
        width: 100%;
        height: 50%;
        right: auto;
        left: 0;
        top: auto;
        bottom: 0;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 48px;
        align-items: center;
        text-align: center;
    }

    #splash-screen h1 {
        font-size: 2.22rem;
        margin-bottom: 0;
    }

    #splash-screen .logo {
        top: auto;
        bottom: 32px;
        right: 32px;
        width: 60px;
    }
}