/* ── SMOOTH BACK-TO-TOP ENGINE ── */
html {
  scroll-behavior: smooth !important;
}

html body #back-to-top {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background-color: rgba(224, 45, 30, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, background-color 0.3s ease;
}

html body #back-to-top.show {
  opacity: 1;
  visibility: visible;
}

html body #back-to-top img {
  width: 100%;
  height: 100%;
  transform: scale(1.45);
  filter: brightness(1.2);
  pointer-events: none;
  transition: transform 0.3s ease;
}

html body #back-to-top:hover {
  background-color: rgb(224, 45, 30);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(224, 45, 30, 0.6);
}

html body #back-to-top:hover img {
  transform: scale(1.55);
}