body {
    font-family: "Roboto", "Helvetica Neue", -apple-system, system-ui,
        BlinkMacSystemFont, "Segoe UI", "Oxygen-Sans", sans-serif;
}

/* ✨ Base fade and slide animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.bg-metal {
    background: radial-gradient(circle at 30% 30%, #333, #111);
}

.brand-shadow {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* 🟢 Floating buttons */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.float-icon:hover {
    transform: scale(1.1);
}



/* Fade Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 1.2s ease forwards;
}

.fade-in {
    animation: fadeUp 1.5s ease forwards;
}

/* Trails */
@keyframes trail1 {
    0% {
        left: -20%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

@keyframes trail2 {
    0% {
        left: -30%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

@keyframes trail3 {
    0% {
        left: -25%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

.animate-trail1 {
    animation: trail1 6s linear infinite;
}

.animate-trail2 {
    animation: trail2 8s linear infinite;
}

.animate-trail3 {
    animation: trail3 10s linear infinite;
}

/* Gears */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinSlowRev {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.animate-spin-slow {
    animation: spinSlow 20s linear infinite;
}

.animate-spin-slow-rev {
    animation: spinSlowRev 25s linear infinite;
}

/* Glow behind bike */
@keyframes glow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.animate-glow {
    animation: glow 4s ease-in-out infinite;
}

/* Smoke animation */
@keyframes smoke {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.animate-smoke {
    animation: smoke 60s linear infinite;
}





/* Shimmer on Heading */
.shimmer-text {
    background: linear-gradient(90deg, #fff, #facc15, #f87171, #60a5fa, #fff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}






/* Cursor trail canvas */
#cursor-trail {
    z-index: 50;
}



