/* Back-to-top floating button — bottom right, compact circular, semi-transparent */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,162,76,0.75) 0%, rgba(176,130,44,0.75) 100%);
  color: var(--cream-soft);
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(176, 130, 44, 0.25);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: linear-gradient(135deg, rgba(212,162,76,0.92) 0%, rgba(176,130,44,0.92) 100%);
  box-shadow: 0 8px 24px rgba(176, 130, 44, 0.4);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--cream-soft);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .back-to-top {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    right: 1.5rem;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}
