/* ════════════════════════════════════
   gotop.css — 맨 위로 가기(Go to Top) 버튼
   ════════════════════════════════════ */
.go-top-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 300;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 15px 40px rgba(26, 23, 20, 0.18),
    inset 0 2px 2px rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  color: var(--ink);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.go-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.go-top-btn:hover {
  background: linear-gradient(
    135deg,
    #e8d5ff,
    #c8e8ff,
    #c8f5e8,
    #fff5c8,
    #ffd5e8,
    #e8d5ff
  );
  background-size: 300% 300%;
  animation: holoFlow 3s ease infinite;
  box-shadow: 0 20px 50px rgba(26, 23, 20, 0.3);
}

.go-top-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.go-top-btn:hover .go-top-arrow {
  transform: translateY(-2px);
}

.go-top-label {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink2);
}

@media (max-width: 640px) {
  .go-top-btn {
    right: 1.2rem;
    bottom: 1.2rem;
    width: 44px;
    height: 44px;
  }
  .go-top-arrow {
    font-size: 1rem;
  }
  .go-top-label {
    font-size: 0.5rem;
  }
}