/* ── TRUCK SVG SCENE ── */
.truck-scene {
    position: absolute;
    z-index: 2;
    width: 340px;
    height: 240px;
    top: 20%;
}

/* Road line */
.road {
    position: absolute;
    bottom: 18px;
    left: -20px;
    right: -20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2) 20%, rgba(255, 255, 255, .2) 80%, transparent);
    border-radius: 2px;
}

.road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 1px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .35) 0px, rgba(255, 255, 255, .35) 20px,
            transparent 20px, transparent 36px);
}

/* TRUCK BODY – cargo box */
.truck-cargo {
    position: absolute;
    left: 0;
    top: 20px;
    width: 210px;
    height: 140px;
    background: linear-gradient(160deg, #2B5CE6 0%, #1A3FD8 100%);
    border-radius: 10px 10px 4px 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, .15);
}

/* cargo door lines */
.truck-cargo::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(255, 255, 255, .12);
    box-shadow: -18px 0 0 rgba(255, 255, 255, .12), -36px 0 0 rgba(255, 255, 255, .12);
}

/* LYD logo on cargo */
.cargo-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, .25);
    letter-spacing: 2px;
    user-select: none;
}

/* TRUCK CAB */
.truck-cab {
    position: absolute;
    left: 210px;
    top: 58px;
    width: 110px;
    height: 102px;
    background: linear-gradient(160deg, #3A6FF0 0%, #1A3FD8 100%);
    border-radius: 4px 18px 4px 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* windshield */
.truck-cab::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 12px;
    right: 14px;
    height: 48px;
    background: linear-gradient(160deg, rgba(180, 210, 255, .45) 0%, rgba(120, 170, 255, .2) 100%);
    border-radius: 2px 12px 4px 2px;
    border: 1px solid rgba(255, 255, 255, .2);
}

/* headlight */
.truck-cab::after {
    content: '';
    position: absolute;
    bottom: 22px;
    right: 10px;
    width: 18px;
    height: 9px;
    background: rgba(255, 240, 120, .75);
    border-radius: 2px;
    box-shadow: 0 0 10px 4px rgba(255, 240, 100, .3);
}

/* UNDERBODY / CHASSIS */
.truck-chassis {
    position: absolute;
    left: 6px;
    bottom: 36px;
    width: 312px;
    height: 14px;
    background: linear-gradient(180deg, #0D2A90 0%, #0A1F6E 100%);
    border-radius: 2px;
}

/* WHEELS – using the circle motif */
.wheel {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3A6FF0, #0A1F6E 70%);
    border: 4px solid rgba(255, 255, 255, .18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel::before {
    content: '';
    width: 38%;
    height: 38%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .5), rgba(200, 220, 255, .1));
    border: 2px solid rgba(255, 255, 255, .25);
}

.wheel-1 {
    left: 42px;
    width: 58px;
    height: 58px;
}

.wheel-2 {
    left: 116px;
    width: 58px;
    height: 58px;
}

.wheel-3 {
    left: 236px;
    width: 58px;
    height: 58px;
}

/* Decorative background spheres */
.deco-sphere {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ds-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle at 40% 35%, rgba(74, 128, 255, .3), rgba(26, 63, 216, .05) 70%);
}

.ds-2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    right: -40px;
    background: radial-gradient(circle at 40% 35%, rgba(74, 128, 255, .2), transparent 70%);
}

.ds-3 {
    width: 120px;
    height: 120px;
    bottom: 80px;
    left: 30px;
    background: radial-gradient(circle at 40% 35%, rgba(74, 128, 255, .15), transparent 70%);
}

/* speed lines */
.speed-lines {
    position: absolute;
    bottom: 60px;
    left: -10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: .25;
}

.speed-lines span {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: white;
    animation: speedMove 1.4s ease-in-out infinite;
}

.speed-lines span:nth-child(1) {
    width: 40px;
    animation-delay: 0s;
}

.speed-lines span:nth-child(2) {
    width: 60px;
    animation-delay: .15s;
}

.speed-lines span:nth-child(3) {
    width: 30px;
    animation-delay: .3s;
}

@keyframes speedMove {
    0% {
        transform: translateX(0);
        opacity: .6;
    }

    50% {
        transform: translateX(-12px);
        opacity: .2;
    }

    100% {
        transform: translateX(0);
        opacity: .6;
    }
}

/* Truck float animation */
.truck-scene {
    animation: floatTruck 3.5s ease-in-out infinite;
}

@keyframes floatTruck {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}