.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 999999;
  pointer-events: none;
  display: none;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: #E60023;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(230,0,35,0.5);
  transition: width 0.25s, height 0.25s;
}
.cursor-ring {
  width: 32px; height: 32px;
  margin: -16px 0 0 -16px;
  border: 1.5px solid #E60023;
  border-radius: 50%;
  opacity: 0.45;
  background: rgba(230,0,35,0.04);
  transition: width 0.4s cubic-bezier(0.34,1.56,0.64,1),
              height 0.4s cubic-bezier(0.34,1.56,0.64,1),
              margin 0.4s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.3s, opacity 0.3s;
}
.cursor-dot.moving { width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 10px rgba(230,0,35,0.7); }
.cursor-dot.hovering { width: 12px; height: 12px; margin: -6px 0 0 -6px; opacity: 1; box-shadow: 0 0 14px rgba(230,0,35,0.8); }
.cursor-ring.hovering {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-color: #ad001a; opacity: 0.75;
  background: rgba(230,0,35,0.08); border-width: 2px;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.cursor-ring.loading {
  border-top-color: transparent; border-right-color: #E60023;
  border-bottom-color: #E60023; border-left-color: transparent;
  animation: spin 0.7s linear infinite;
  opacity: 0.9; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  background: rgba(230,0,35,0.06); border-width: 2px;
}
.cursor-dot.hidden, .cursor-ring.hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.cursor-ring.click { animation: clickPop 0.4s ease-out forwards; }
@keyframes clickPop { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
body.cursor-none, body.cursor-none * { cursor: none !important; }

.dark .cursor-dot { background: #FF4D6A; box-shadow: 0 0 8px rgba(255,77,106,0.5); }
.dark .cursor-dot.moving { box-shadow: 0 0 12px rgba(255,77,106,0.7); }
.dark .cursor-dot.hovering { box-shadow: 0 0 16px rgba(255,77,106,0.8); }
.dark .cursor-ring { border-color: #FF4D6A; opacity: 0.5; background: rgba(255,77,106,0.06); }
.dark .cursor-ring.hovering { border-color: #FF6B8A; opacity: 0.8; background: rgba(255,77,106,0.12); }
.dark .cursor-ring.loading { border-top-color: transparent; border-right-color: #FF4D6A; border-bottom-color: #FF4D6A; border-left-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-none, body.cursor-none * { cursor: auto !important; }
}
