/* LootNest — frozen FX layer: scroll reveal, count-up, confetti. Shared by all sites. */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal="left"] { transform: translateX(-22px); }
[data-reveal="right"] { transform: translateX(22px); }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="zoom"].is-visible { transform: none; }

.hover-lift { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.hover-lift:hover { transform: translateY(-3px); }

@keyframes nx-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
@keyframes nx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes nx-shimmer {
  0% { background-position: -180% 0; }
  100% { background-position: 180% 0; }
}

.nx-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.nx-confetti i {
  position: absolute;
  top: -14px;
  width: 8px;
  height: 13px;
  border-radius: 2px;
  animation: nx-fx-fall linear forwards;
}
@keyframes nx-fx-fall {
  to { transform: translateY(112vh) rotate(420deg); opacity: 0.85; }
}

.nx-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 21, 32, 0.7);
  color: #98a3b7;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.nx-sound-toggle:hover { color: #f2f5fb; border-color: currentColor; }
.nx-sound-toggle svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hover-lift:hover { transform: none; }
  .nx-confetti { display: none; }
}

/* Social proof must float above the locker modal (overlay z-index: 100). */
.nx-proof-box { z-index: 340 !important; }
@media (max-width: 640px) {
  .nx-proof-box { left: 10px; bottom: 10px; }
  .nx-proof { max-width: 250px; }
}
