.mobile-nav-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  pointer-events: none;
}

.mobile-nav {
  position: relative;
  height: 68px;
  padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.96), rgba(4, 9, 19, 0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(126, 164, 239, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1030;
  pointer-events: auto;
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.34);
}

.mobile-lang-switcher {
  position: absolute;
  right: 8px;
  bottom: calc(68px + env(safe-area-inset-bottom) + 8px);
  background: rgba(11, 15, 26, 0.94);
  border: 1px solid rgba(126, 164, 239, 0.35);
  border-radius: 10px;
  padding: 5px 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.mobile-lang-switcher .lang-switcher-label {
  display: none;
}

.mobile-lang-switcher .lang-switcher-list {
  border: 0;
  background: transparent;
  padding: 0;
  gap: 0.16rem;
}

.mobile-lang-switcher .lang-switcher-btn {
  min-width: 34px;
  min-height: 30px;
  padding: 0.2rem 0.25rem;
}

.mobile-lang-switcher .lang-switcher-btn .lang-code {
  display: none;
}

.mobile-nav a {
  flex: 1;
  height: 100%;
  text-align: center;
  color: #9aa4bf;
  text-decoration: none;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.2s ease;
}

.mobile-nav a.active,
.mobile-nav a:hover {
  color: #ffffff;
  background: rgba(69, 215, 255, 0.08);
}

.mobile-nav svg {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 auto 2px;
  fill: currentColor;
}

@media (min-width: 769px) {
  .mobile-nav-wrap {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-nav-wrap {
    display: block;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .mobile-nav svg {
    width: 20px;
    height: 20px;
  }
}
