/* Interactive boxes: cursor spotlight + lift + subtle tilt. Pairs with boxes.js. */
.box-fx { transition: rotate .14s ease-out, translate .28s ease, scale .28s ease, border-color .28s ease, box-shadow .28s ease; }
.box-fx:hover { translate: 0 -4px; scale: 1.012; border-color: rgba(255,255,255,.24); box-shadow: 0 18px 44px -20px rgba(255,255,255,.14); }
.box-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 0;
  transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.10), transparent 62%);
}
.box-fx:hover > .box-glow { opacity: 1; }
/* Grid cells that sit flush (cities) glow but don't lift or tilt */
.city-card.box-fx:hover { translate: none; scale: 1; box-shadow: none; }
@media (prefers-reduced-motion: reduce), (hover: none) {
  .box-fx, .box-fx:hover { transition: none; translate: none; scale: 1; rotate: none; box-shadow: none; }
  .box-glow { display: none; }
}
