/* Ohio-style Custom Cursor Styles */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  user-select: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--cursor-color, #FFD42A);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid var(--cursor-color, #FFD42A);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

/* Hover states */
.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
  transition: width 0.2s ease, height 0.2s ease;
}

/* Click states */
.cursor-click .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(255, 255, 255, 0.9) !important;
  transition: transform 0.1s ease, background 0.2s ease;
}

.cursor-click .cursor-ring {
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transition: border-width 0.1s ease, border-color 0.2s ease;
}

/* Ensure normal state returns properly */
.cursor-dot {
  background: var(--cursor-color, #FFD42A);
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  border-color: var(--cursor-color, #FFD42A);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease, border-width 0.2s ease, border-color 0.2s ease;
}

/* Mobile - hide custom cursor */
@media (max-width: 768px) {
  #custom-cursor {
    display: none !important;
  }
}

/* Touch devices - hide custom cursor */
@media (pointer: coarse) {
  #custom-cursor {
    display: none !important;
  }
}

/* Show default cursor on specific elements that need it */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  cursor: text !important;
}

/* Animation for cursor appearance */
#custom-cursor {
  opacity: 0;
  animation: cursorFadeIn 0.5s ease forwards;
}

@keyframes cursorFadeIn {
  to {
    opacity: 1;
  }
}

/* Special effects for different element types */
.cursor-button .cursor-ring {
  width: 40px;
  height: 40px;
  border-color: #00ff88;
}

.cursor-link .cursor-ring {
  width: 36px;
  height: 36px;
  border-style: dashed;
}

.cursor-text .cursor-dot {
  width: 2px;
  height: 16px;
  border-radius: 1px;
}

.cursor-text .cursor-ring {
  display: none;
}