/* Fold Artists access gate — matches site tokens in styles.css */
#fold-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0B0B0C;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#fold-gate.unlocked { opacity: 0; visibility: hidden; pointer-events: none; }

#fold-gate-bg { display: none; }

#fold-gate-card {
    position: relative;
    max-width: 420px;
    width: 100%;
    background: #141416;
    border: 1px solid rgba(242, 237, 228, 0.1);
    border-radius: 16px;
    padding: 44px 36px 32px;
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
    text-align: center;
    font-family: 'Inter', system-ui, sans-serif;
}
#fold-gate-logo { width: auto; height: 56px; opacity: .8; max-width: 220px; margin: 0 auto 28px; display: block; }
#fold-gate-sub { font-size: 0.875rem; color: #B4AFA6; margin: 0 0 24px; line-height: 1.55; }
#fold-gate-form { display: flex; flex-direction: column; gap: 12px; }

#fold-gate-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: 'JetBrains Mono', monospace;
    background: #0B0B0C;
    border: 1px solid rgba(242, 237, 228, 0.12);
    border-radius: 10px;
    color: #F2EDE4;
    outline: 2px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
}
#fold-gate-input::placeholder { color: #75716B; }
#fold-gate-input:focus { border-color: #8FDCE6; box-shadow: 0 0 0 3px rgba(143, 220, 230, 0.22); }
#fold-gate-input.error { border-color: #F08A7A; box-shadow: 0 0 0 3px rgba(240, 138, 122, 0.18); }
@media (prefers-reduced-motion: no-preference) { #fold-gate-input.error { animation: gate-shake 0.4s ease; } }
@keyframes gate-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

#fold-gate-submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background: #8FDCE6;
    color: #0B0B0C;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}
#fold-gate-submit:hover { background: #BDEDF2; }
#fold-gate-submit:focus-visible { outline: 2px solid #8FDCE6; outline-offset: 3px; }

#fold-gate-error { font-size: 0.8rem; color: #F08A7A; min-height: 1.2em; margin-top: 4px; font-weight: 500; }
#fold-gate-footer {
    margin-top: 24px;
    font: 500 0.6875rem/1.4 'JetBrains Mono', monospace;
    color: #75716B;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.fold-gated { overflow: hidden; }
body.fold-gated main, body.fold-gated .nav, body.fold-gated .footer { visibility: hidden; }
