/* Authentication & Security Gate */
#secure-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #050505;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.secure-box {
    position: relative;
    z-index: 10;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    width: 380px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.secure-logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.secure-subtitle {
    font-family: 'JetBrains Mono';
    font-size: 0.65rem;
    color: #3b82f6;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.secure-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'JetBrains Mono';
    font-size: 1.2rem;
    letter-spacing: 4px;
    transition: all 0.3s;
}

.secure-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    outline: none;
    background: rgba(0, 0, 0, 0.6);
}

.secure-btn {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.secure-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.secure-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.secure-btn:hover::after {
    left: 100%;
}

.secure-status {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 20px;
    font-family: 'JetBrains Mono';
    min-height: 15px;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.gate-open {
    opacity: 0;
    transform: scale(1.5);
    pointer-events: none;
    filter: blur(10px);
}
