/* ── LANGUAGE PICKER OVERLAY ─────────────────────────────── */
#lang-picker {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(.16,1,.3,1);
    pointer-events: none;
}
#lang-picker.is-visible {
    opacity: 1;
    pointer-events: auto;
}
#lang-picker.is-done {
    opacity: 0;
    pointer-events: none;
}

.lang-picker-inner {
    text-align: center;
    padding: 2rem;
}

.lang-picker-label {
    font-family: monospace;
    font-size: .65rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.lang-picker-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .lang-picker-options {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 2rem 3rem;
    border: 1px solid rgba(255,255,255,.15);
    background: transparent;
    color: #f5f5f5;
    cursor: pointer;
    width: 170px;
    transition: background .25s, border-color .25s, color .25s, transform .25s;
    font-family: 'Space Grotesk', sans-serif;
    user-select: none;
}
.lang-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: translateY(-4px);
}

.lang-btn-code {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.02em;
    font-family: monospace;
    line-height: 1;
}
.lang-btn-name {
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-family: monospace;
    opacity: .6;
}
.lang-btn:hover .lang-btn-name {
    opacity: .7;
}

/* ── FLOATING LANGUAGE SWITCHER (all pages) ──────────────── */
#lang-switcher {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9990;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(5,5,5,.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,.6);
    font-family: monospace;
    font-size: .65rem;
    letter-spacing: .12em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, color .2s, background .2s;
}
#lang-switcher:hover {
    border-color: rgba(255,255,255,.6);
    color: #fff;
    background: rgba(20,20,20,.9);
}
