/**
 * FAANG-Grade Fluid Touch Ripple Micro-Interactions
 * Module: TouchRippleStyles
 * Standards: 60fps GPU Hardware-Accelerated Transforms
 * Line Limit: Strictly < 60 lines (Rule 3)
 */

.has-ripple {
  position: relative !important;
  overflow: hidden !important;
  -webkit-tap-highlight-color: transparent !important;
}

.kb-touch-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.4) 0%, rgba(234, 88, 12, 0.15) 60%, transparent 100%);
  transform: translate(-50%, -50%) scale(0);
  animation: kb-ripple-wave 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  z-index: 50;
}

/* Subtle white ripple for dark or solid brand buttons */
.kb-touch-ripple-light {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 60%, transparent 100%);
}

@keyframes kb-ripple-wave {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}
