/* Tongos-pikoras */
.lang-picker {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 50;
}

.lang-picker-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 18, 16, 0.85);
    border: 1px solid #2a2520;
    color: #665e53;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

/* Liquid glass shimmer — draws attention on first visit */
.lang-picker-btn.shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(212, 196, 168, 0.08) 40%,
        rgba(212, 196, 168, 0.15) 50%,
        rgba(212, 196, 168, 0.08) 60%,
        transparent 70%
    );
    animation: lang-shimmer 3s ease-in-out 3;
    pointer-events: none;
}

@keyframes lang-shimmer {
    0% { left: -75%; }
    40% { left: 125%; }
    100% { left: 125%; }
}

.lang-picker-btn:hover {
    border-color: #4a3528;
    color: #a89b8a;
}

.lang-picker-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.lang-picker-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #141210;
    border: 1px solid #2a2520;
    border-radius: 4px;
    min-width: 160px;
    max-height: min(80vh, 800px);
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.lang-picker-dropdown.open {
    display: block;
}

.lang-picker-dropdown a {
    display: block;
    padding: 8px 14px;
    color: #a89b8a;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.15s ease;
}

.lang-picker-dropdown a:hover {
    background: #1a1816;
    color: #d4c4a8;
}

.lang-picker-dropdown a.active {
    color: #d4c4a8;
    background: #1a1816;
}

/* Scrollbar styling */
.lang-picker-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-picker-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.lang-picker-dropdown::-webkit-scrollbar-thumb {
    background: #2a2520;
    border-radius: 2px;
}
