.btc-lang-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(27, 40, 69, 0.18);
  padding: 10px 10px 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #1b2845;
  opacity: 0;
  transform: translate3d(-50%, 30px, 0);
  pointer-events: none;
  margin: 0;
  overflow: hidden;
}

.btc-lang-banner--visible {
  animation: btcFadeInUp 320ms ease forwards;
  pointer-events: auto;
}

.btc-lang-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
  padding: 0;
  margin: 0;
}

.btc-lang-banner__flag {
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.btc-lang-banner__flag img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.btc-lang-banner__label {
  font-weight: 600;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.btc-lang-banner__close {
  border: none;
  background: rgba(0, 0, 0, 0.06);
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: rgba(27, 40, 69, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin: 0;
  margin-top: -1px !important;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.btc-lang-banner__close::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(27, 40, 69, 0.08);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.btc-lang-banner__close:hover,
.btc-lang-banner__close:focus {
  background: rgba(0, 0, 0, 0.1);
  color: rgba(27, 40, 69, 0.9);
}

.btc-lang-banner__close:hover::before,
.btc-lang-banner__close:focus::before {
  opacity: 1;
}

.btc-lang-banner__close:active {
  background: rgba(0, 0, 0, 0.15);
}

@keyframes btcFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(-50%, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .btc-lang-banner {
    left: 50%;
    right: auto;
    bottom: 20px;
    max-width: calc(100vw - 32px);
    border-radius: 999px;
    padding: 12px 12px 12px 16px;
    font-size: 16px;
    gap: 10px;
  }

  .btc-lang-banner__cta {
    gap: 9px;
  }

  .btc-lang-banner__label {
    font-size: 16px;
    line-height: 1.4;
  }

  .btc-lang-banner__flag {
    height: 24px;
  }

  .btc-lang-banner__close {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .btc-lang-banner {
    bottom: 21px;
    max-width: calc(100vw - 24px);
    border-radius: 999px;
    padding: 10px 10px 10px 14px;
    gap: 9px;
    font-size: 15px;
  }

  .btc-lang-banner__cta {
    gap: 8px;
  }

  .btc-lang-banner__label {
    font-size: 15px;
    line-height: 1.4;
  }

  .btc-lang-banner__flag {
    height: 22px;
  }

  .btc-lang-banner__close {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    font-size: 15px;
  }
}

