/* ==========================================================================
   CYBERPUNK TARGETING RETICLE & TELEMETRY CURSOR
   Smooth Lerping | Crosshairs | Coordinates Readout
   ========================================================================== */

.cyber-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #c084fc, 0 0 4px #ffffff;
  transition: opacity 0.2s ease;
}

.cyber-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(192, 132, 252, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease,
              border-radius 0.25s ease;
}

/* Crosshair notches on the ring */
.cyber-cursor-ring::before,
.cyber-cursor-ring::after {
  content: '';
  position: absolute;
  background: var(--accent-purple-bright);
}

.cyber-cursor-ring::before {
  top: -4px;
  left: 50%;
  width: 1px;
  height: 8px;
  transform: translateX(-50%);
}

.cyber-cursor-ring::after {
  top: 50%;
  left: -4px;
  width: 8px;
  height: 1px;
  transform: translateY(-50%);
}

/* Hover State - Target Lock */
.cyber-cursor-ring.cursor-hover {
  width: 54px;
  height: 54px;
  border-color: #06b6d4;
  border-radius: 4px; /* Switches to chamfered target box */
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.cyber-cursor-ring.cursor-hover::before,
.cyber-cursor-ring.cursor-hover::after {
  background: #06b6d4;
}

/* Click Active State */
.cyber-cursor-ring.cursor-down {
  transform: translate(-50%, -50%) scale(0.85);
  border-color: #f43f5e;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.6);
}

/* Telemetry Badge (Mouse Coordinates) */
.cyber-cursor-coords {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(192, 132, 252, 0.7);
  letter-spacing: 0.08em;
  padding: 2px 4px;
  background: rgba(8, 7, 14, 0.8);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 2px;
  transform: translate(24px, 20px);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body:hover .cyber-cursor-coords {
  opacity: 1;
}

/* Masterpiece Luxury Context Action Label ([ VIEW ], [ DRAG ], [ LAUNCH ]) */
.cyber-cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10002;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  padding: 4px 10px;
  background: rgba(7, 5, 18, 0.88);
  border: 1px solid rgba(6, 182, 212, 0.6);
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
  white-space: nowrap;
}

.cyber-cursor-label.label-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cyber-cursor-label.label-launch {
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
}

.cyber-cursor-label.label-drag {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}

/* Magnetic snap indicator for ring */
.cyber-cursor-ring.cursor-magnetic {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
  transform: translate(-50%, -50%) scale(1.15);
}

/* Mobile & Touch Fallback */
@media (hover: none) or (pointer: coarse) {
  .cyber-cursor-dot,
  .cyber-cursor-ring,
  .cyber-cursor-coords,
  .cyber-cursor-label {
    display: none !important;
  }
}

