.lang-switcher {
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 1000;
}
#langSelect {
    padding: 8px 30px 8px 12px;
    background: rgba(102,80,170,0.8) url("../images/arrow.svg") no-repeat right 8px center;
    background-size: 12px;
    border: none;
    border-radius: 7px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Twemoji Mozilla", "EmojiOne Color", sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-variant-emoji: emoji;
    text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
    #langSelect {
        background-size: 16px;
        padding: 8px 35px 8px 12px;
    }
}
#langSelect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}
#langSelect:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}
#langSelect option {
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Twemoji Mozilla", "EmojiOne Color", sans-serif;
    font-variant-emoji: emoji;
    text-rendering: optimizeLegibility;
    background: rgba(102,80,170,0.9);
    color: #ffffff;
}
#langSelect::-webkit-scrollbar {
    width: 8px;
}
#langSelect::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}
#langSelect::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 4px;
}
#langSelect::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
    .lang-switcher {
        top: 10px;
        right: 10px;
    }
    #langSelect {
        padding: 6px 21px 6px 7px;
        font-size: 12px;
    }
}
/* Принудительное отображение эмодзи */
@supports (font-variant-emoji: emoji) {
    #langSelect, #langSelect option {
        font-variant-emoji: emoji !important;
    }
}

/* Для Chrome на Windows */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    #langSelect, #langSelect option {
        font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif !important;
    }
}

/* Для Firefox */
@-moz-document url-prefix() {
    #langSelect, #langSelect option {
        font-family: "Twemoji Mozilla", "Noto Color Emoji", "Segoe UI Emoji", sans-serif !important;
    }
}