/* Mint NV — 3D Falling Mint Leaves
   Drop-in presentation layer.
*/

#mint-leaf-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
  contain: strict;
}

#mint-leaf-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

.mint-fallback-leaf {
  position: absolute;
  top: -8vh;
  width: 14px;
  height: 24px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #a5dfc6, #5fa98c);
  opacity: .78;
  transform-origin: center;
  animation: mint-leaf-fall linear infinite;
  filter: drop-shadow(0 6px 8px rgba(15, 79, 63, .12));
}

@keyframes mint-leaf-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); }
  50% { transform: translate3d(50px, 55vh, 0) rotate(170deg); }
  100% { transform: translate3d(-30px, 112vh, 0) rotate(360deg); }
}

/* Your content should be above or below this layer depending on the desired look.
   Recommended: site content at z-index 10+ so leaves feel atmospheric behind UI. */

@media (prefers-reduced-motion: reduce) {
  #mint-leaf-canvas {
    opacity: .55;
  }
}
