.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  filter: brightness(1.05);
  transform: translateY(0) scale(1.06);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.42);
}

.scroll-to-top:active {
  transform: translateY(0) scale(1.02);
}

.scroll-to-top:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.7);
  outline-offset: 3px;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 92px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
