:root {
  --cursor-size: 120px; 
  --cursor-core-color: rgba(255, 255, 255, 0.8); 
  --cursor-glow-color: rgba(146, 71, 215, 0.4); 
  --cursor-outer-glow: rgba(146, 71, 215, 0.0); 
}



.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  
  
  background: radial-gradient(
    circle, 
    var(--cursor-glow-color) 0%, 
    rgba(146, 71, 215, 0.2) 40%, 
    transparent 70%
  );
  
  
  box-shadow: 0 0 30px 5px rgba(146, 71, 215, 0.2); 
  
  filter: blur(10px);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  
  
  mix-blend-mode: screen; 
  
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              background 0.3s ease;
}


.custom-cursor.hovered {
  width: 160px; 
  height: 160px; 
  background: radial-gradient(
    circle, 
    rgba(230, 193, 255, 0.5) 0%, 
    rgba(146, 71, 215, 0.3) 50%, 
    transparent 80%
  );
  box-shadow: 0 0 40px 15px rgba(146, 71, 215, 0.3); 
  mix-blend-mode: plus-lighter; 
}

.cursor-ripple {
  position: fixed;
  border-radius: 50%;
  border: 2px solid rgba(146, 71, 215, 0.8);
  background-color: transparent;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 9998;
  box-shadow: 0 0 20px rgba(146, 71, 215, 0.5);
}


@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .cursor-ripple {
    display: none;
  }
}
