/**
 * Custom Cursor Styles
 */

.custom-cursor,
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 177, 66, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.3s ease;
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 177, 66, 1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* Hover state */
.custom-cursor.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 120, 80, 1);
    background-color: rgba(255, 120, 80, 0.15);
}

.custom-cursor-dot.cursor-hover {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 120, 80, 1);
}

/* Light theme cursor colors */
body[data-theme="light"] .custom-cursor {
    border-color: rgba(235, 157, 46, 0.9);
}

body[data-theme="light"] .custom-cursor-dot {
    background-color: rgba(235, 157, 46, 1);
}

body[data-theme="light"] .custom-cursor.cursor-hover {
    border-color: rgba(255, 100, 60, 1);
    background-color: rgba(255, 100, 60, 0.15);
}

body[data-theme="light"] .custom-cursor-dot.cursor-hover {
    background-color: rgba(255, 100, 60, 1);
}

/* Hide on mobile */
@media (max-width: 768px) {
    .custom-cursor,
    .custom-cursor-dot {
        display: none;
    }
}

/* Ensure interactive elements show pointer on mobile */
@media (max-width: 768px) {
    a, button, .project-card, .skill-badge {
        cursor: pointer !important;
    }
}
