/* Tilt Card (port of React Bits TiltedCard, MIT + Commons Clause, (c) 2026 David Haz). See tiltcard.js. */
.tc { position: relative; touch-action: pan-y pinch-zoom; }
.tc-shadow {
  position: absolute; inset: 6% 8% 0; border-radius: inherit; background: rgba(17, 12, 8, 0.55);
  filter: blur(22px); opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.tc-body { position: relative; overflow: hidden; transform-origin: 50% 50%; will-change: transform; isolation: isolate; }
.tc-glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: screen; }
.tc-caption {
  position: absolute; top: 0; left: 0; z-index: 10; pointer-events: none; opacity: 0; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px; background: #fff; color: #111; font: 600 12px/16px system-ui, sans-serif;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08), 0 8px 18px -8px rgba(0, 0, 0, 0.45);
}
