/* ─────────────────────────────────────────────
   Scroll To Top Button – El Bajo Style
───────────────────────────────────────────── */

#scrollTopButton {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);

  background: linear-gradient(
    135deg,
    rgba(15,25,40,0.85),
    rgba(10,15,25,0.9)
  );

  color: #ffffff;
  font-size: 20px;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(0,0,0,0.45),
    inset 0 0 12px rgba(58,170,255,0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;

  transition: 
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* Visible */
#scrollTopButton.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hover */
#scrollTopButton:hover {
  background: linear-gradient(
    135deg,
    rgba(58,170,255,0.25),
    rgba(46,204,113,0.18)
  );

  box-shadow:
    0 12px 35px rgba(58,170,255,0.35),
    inset 0 0 14px rgba(255,255,255,0.18);
}

/* Active (click) */
#scrollTopButton:active {
  transform: scale(0.92);
}

/* Icon animation */
#scrollTopButton i {
  transition: transform 0.3s ease;
}

#scrollTopButton:hover i {
  transform: translateY(-2px);
}

/* Mobile tweak */
@media (max-width: 768px) {
  #scrollTopButton {
    width: 42px;
    height: 42px;
    bottom: 18px;
    right: 18px;
    border-radius: 12px;
    font-size: 18px;
  }
}
