.nav-end {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 7px 5px 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.language-switch::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(186, 242, 58, .16) 50%, transparent 80%);
  content: "";
  transform: translateX(-115%);
  transition: transform .5s ease;
}

.language-switch:hover,
.language-switch:focus-visible {
  border-color: rgba(186, 242, 58, .65);
  box-shadow: 0 8px 28px rgba(88, 180, 100, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.language-switch:hover::before,
.language-switch:focus-visible::before {
  transform: translateX(115%);
}

.language-switch__globe {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #07120e;
  background: #baf23a;
  box-shadow: 0 0 0 4px rgba(186, 242, 58, .09);
}

.language-switch__globe svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switch__current {
  color: rgba(255, 255, 255, .6);
}

.language-switch__arrow {
  color: #baf23a;
  transition: transform .22s ease;
}

.language-switch:hover .language-switch__arrow,
.language-switch:focus-visible .language-switch__arrow {
  transform: translateX(2px);
}

.language-switch__target {
  padding: 7px 9px;
  border-radius: 999px;
  color: #07120e;
  background: #baf23a;
}

@media (max-width: 760px) {
  .language-switch {
    gap: 5px;
    min-height: 36px;
    padding: 4px 5px 4px 4px;
  }

  .language-switch__globe {
    width: 26px;
    height: 26px;
  }

  .language-switch__current,
  .language-switch__arrow {
    display: none;
  }

  .language-switch__target {
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switch,
  .language-switch::before,
  .language-switch__arrow {
    transition: none;
  }
}
