/* --- High-fidelity Glassmorphic Login Screen --- */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(13, 21, 43, 0.95) 0%, rgba(7, 11, 25, 0.98) 100%);
    z-index: 9999;
    padding: 20px;
}

#gatekeeper-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(7, 11, 25, 0.98) 0%, rgba(3, 5, 15, 0.99) 100%);
    z-index: 10000;
    padding: 20px;
}

#login-screen::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    top: 15%;
    left: 20%;
    pointer-events: none;
    opacity: 0.72;
}

#login-screen::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
    bottom: 15%;
    right: 20%;
    pointer-events: none;
    opacity: 0.72;
}

.login-card {
    background: rgba(18, 30, 61, 0.94);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
    text-align: center;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.login-card .login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(to right, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.login-card .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-card .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cyan);
    margin-bottom: 8px;
}

.login-card select {
    width: 100%;
    padding: 12px;
    background: rgba(8, 14, 30, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.login-card select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-glow);
}

.login-card .btn-large {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--cyan-glow);
    transition: var(--transition-smooth);
}

.login-card .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--cyan-glow), 0 0 0 1px var(--border-glass-hover);
}

.login-card .btn-large:active {
    transform: translateY(0);
}

.login-footer {
    font-size: 11px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}
