.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 1200;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: #e5e7eb;
    border-radius: 10px;
    padding: 7px 10px;
    min-height: 34px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78em;
    cursor: pointer;
    transition: 0.2s;
}

.lang-current:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(139, 92, 246, 0.12);
}

.lang-current-code {
    font-weight: 800;
    color: #ddd6fe;
}

.lang-current-label {
    color: #e5e7eb;
    font-weight: 700;
}

.lang-current i {
    font-size: 0.72em;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-current i {
    transform: rotate(180deg);
}

.lang-switcher .lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 8px;
    display: none !important;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    z-index: 1300;
}

.lang-switcher.open .lang-menu {
    display: flex !important;
}

.lang-option {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    color: #e5e7eb;
    border-radius: 10px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96em;
    text-align: left;
    transition: 0.2s;
}

.lang-option:hover {
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.12);
}

.lang-option-main strong {
    color: #ddd6fe;
    margin-right: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85em;
}

.lang-option i {
    opacity: 0;
    color: #c4b5fd;
}

.lang-option.active {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.16);
}

.lang-option.active i {
    opacity: 1;
}

.translate-hidden {
    display: none !important;
}

body > .skiptranslate,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

body {
    top: 0 !important;
}

@media (max-width: 900px) {
    .lang-switcher {
        width: 100%;
        max-width: 320px;
    }

    .lang-current {
        width: 100%;
        justify-content: center;
    }

    .lang-switcher .lang-menu {
        right: 50%;
        transform: translateX(50%);
        width: min(320px, 92vw);
    }
}
