
/* =====================================
   DCN CUSTOM CURSOR
===================================== */

.dcn-custom-cursor-enabled,
.dcn-custom-cursor-enabled * {
  cursor: none !important;
}

.dcn-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(28, 169, 218, 0.65);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.dcn-cursor-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #18A9DA;
  transition: opacity 0.2s ease;
}

.dcn-cursor-label {
  display: none;
  color: #092773;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hover state: buttons and links */
.dcn-cursor.is-hovering {
  width: 94px;
  height: 94px;
  background: rgba(24, 169, 218, 0.12);
  border: 2px solid #F8765F;
}

.dcn-cursor.is-hovering .dcn-cursor-dot {
  display: none;
}

.dcn-cursor.is-hovering .dcn-cursor-label {
  display: block;
}

/* Small trailing particles */
.dcn-cursor-particle {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #111111;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  animation: dcn-particle-fade 0.55s ease-out forwards;
}

@keyframes dcn-particle-fade {
  from {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

/* Hide custom cursor on touch devices */
@media (hover: none), (pointer: coarse) {
  .dcn-cursor,
  .dcn-cursor-particle {
    display: none !important;
  }

  .dcn-custom-cursor-enabled,
  .dcn-custom-cursor-enabled * {
    cursor: auto !important;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .dcn-cursor,
  .dcn-cursor * {
    transition: none !important;
  }

  .dcn-cursor-particle {
    display: none !important;
  }
}
