html { scroll-behavior: smooth; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: float 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
}

[hidden] { display: none !important; }

/* Pulsante non ancora attivo: fumetto al passaggio del mouse (testo in data-pending-hint) */
.pending-hint { position: relative; }
.pending-hint::after {
  content: attr(data-pending-hint); position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-4px); white-space: nowrap;
  background: #1f2937; color: #fff; font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease; z-index: 60;
}
.pending-hint:hover::after, .pending-hint:focus::after { opacity: 1; transform: translateX(-50%) translateY(0); }
