html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
}

.lang-link.active {
  background: #111827;
  color: white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.scroll-top-btn.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: rgba(0, 0, 0, 1);
  transform: translateY(-3px) scale(1.03);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    right: 18px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
}