@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #120F17;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* OJO BACKGROUND */
#eye-bg {
    position: fixed;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s ease;
    pointer-events: none;
    z-index: 0;
}
#eye-bg.visible {
    opacity: 1;
    pointer-events: all;
}
#eye-bg canvas {
    width: 100% !important;
    height: 100% !important;
}

/* LOCK SCREEN */
#lock-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 1s ease;
    background: #120F17;
}
#lock-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.gate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 48px 52px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
    min-width: 320px;
}

.trust-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.input-wrap {
    position: relative;
    width: 100%;
}

.pw-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-align: center;
}
.pw-input::placeholder { color: rgba(255,255,255,0.2); letter-spacing: 0.15em; }
.pw-input:focus {
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}
.pw-input.error {
    border-color: rgba(255,80,80,0.5);
    box-shadow: 0 0 0 3px rgba(255,80,80,0.08);
    animation: shake 0.35s ease;
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.error-msg {
    font-size: 11px;
    color: rgba(255,100,100,0.7);
    letter-spacing: 0.05em;
    height: 14px;
    transition: opacity 0.3s;
}

.enter-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.enter-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.95);
}
