/* ======================================================================
   LANGUAGE SWITCHER — New-Era
   (Standalone file — does not touch your existing page.css / style.css)
   ====================================================================== */
.lang-switcher {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 200;
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    padding: 10px 14px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.25s ease;
}
.lang-toggle:hover {
    border-color: rgba(197, 160, 89, 0.7);
    background: rgba(20, 17, 12, 0.85);
}
.lang-globe {
    font-size: 16px;
    line-height: 1;
    filter: grayscale(0.15);
}
.lang-current-flag {
    font-size: 16px;
    line-height: 1;
}
.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 190px;
    background: rgba(8, 7, 5, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 6px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.7);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: langMenuIn 0.22s ease both;
}
.lang-menu.hidden { display: none; }
@keyframes langMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 9px 12px;
    color: rgba(255,255,255,0.75);
    font-family: 'Marcellus', serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.lang-option:hover {
    background: rgba(197, 160, 89, 0.15);
    color: #fff;
}
.lang-option-active {
    background: rgba(197, 160, 89, 0.22);
    color: var(--l2-gold-light, #f3e5ab);
    font-weight: bold;
}
.lang-flag {
    font-size: 16px;
    line-height: 1;
}
@media (max-width: 768px) {
    .lang-switcher { top: 10px; left: 10px; }
    .lang-toggle { padding: 8px 10px; }
}
