/* Cursor Robot Styles */
.cursor-robot-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    /* Let mouse clicks pass through */
    z-index: 99999;
    will-change: transform;
    /* Initial state hidden or visible? Visible as per request "follow mouse" */
    display: block;
    mix-blend-mode: normal;
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.robot-body {
    width: 100%;
    height: 100%;
    position: relative;
    /* Add a subtle float animation */
    animation: robotFloat 3s ease-in-out infinite;
}

.robot-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.6));
}

@keyframes robotFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Tooltip Bubble */
.robot-tooltip {
    position: absolute;
    top: -40px;
    /* Position above the robot */
    left: 40px;
    /* To the right */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 8px 12px;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 210, 255, 0.5);
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transform-origin: bottom left;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 100000;
}

.robot-tooltip.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Hide on Mobile */
@media screen and (max-width: 1024px) {
    .cursor-robot-wrapper {
        display: none !important;
    }
}