body, a {
    cursor: none;
}
    
/* --- 1. **Main Cursor (Rocket)** --- */
.custom-cursor {
    position: fixed;
    width: 50px; /* Rocket **width has been increased** */
    height: 50px; /* Rocket **height has been increased** */
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%); /* **Slightly rotating the rocket** */
    transition: transform 0.05s ease-out;
    background-image: url('/assets/images/icons/rocket.png'); /* **URL of the image you provided** */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- 2. **Trail Dot (Smoke behind the rocket)** --- */
.trail-dot {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    animation:
        fadeOutAndShrink 1.2s forwards,
        floatRandomly 1.2s ease-out forwards;
    z-index: 9998;
}

.trail-dot[data-color="orange"] {
    background-color: #ff4500; /* Deep orange for flame */
    box-shadow: 0 0 6px #ff4500, 0 0 12px rgba(255, 69, 0, 0.7);
}

.trail-dot[data-color="yellow"] {
    background-color: #ffd700; /* Gold for inner flame */
    box-shadow: 0 0 4px #ffd700, 0 0 8px rgba(255, 215, 0, 0.5);
}

.trail-dot[data-color="smoke"] {
    background-color: #a9a9a9; /* Dark gray for smoke */
    box-shadow: 0 0 2px #808080;
}

/* --- 3. **Custom Animation** --- */
@keyframes fadeOutAndShrink {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.1); }
}

@keyframes floatRandomly {
    0% { transform: translate(0, 0); }
    100% {
        transform: translate(var(--end-x), var(--end-y));
    }
}