/* Futuristic Automotive Carousel - 2399edac */

.fac-2399edac-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.fac-2399edac-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: fac-2399edac-scanmove 4s linear infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes fac-2399edac-scanmove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.fac-2399edac-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: fac-2399edac-scroll var(--fac-speed, 30s) linear infinite;
}

.fac-2399edac-wrapper:hover .fac-2399edac-track {
    animation-play-state: var(--fac-pause-state, paused);
}

@keyframes fac-2399edac-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fac-2399edac-item {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 28, 0.95));
    flex-shrink: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fac-2399edac-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.fac-2399edac-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8) contrast(1.1) saturate(1.1);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.fac-2399edac-item:hover .fac-2399edac-img {
    filter: brightness(0.95) contrast(1.15) saturate(1.2);
    transform: scale(1.05);
}

.fac-2399edac-turbo-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6a00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fac-2399edac-item:hover .fac-2399edac-turbo-line {
    opacity: 1;
    animation: fac-2399edac-turbostreak 1s linear infinite;
}

@keyframes fac-2399edac-turbostreak {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.fac-2399edac-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: fac-2399edac-shimmeranim 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes fac-2399edac-shimmeranim {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Edge fade overlays */
.fac-2399edac-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 4;
    pointer-events: none;
}

.fac-2399edac-edge-left {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 15, 0.95), transparent);
}

.fac-2399edac-edge-right {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 15, 0.95), transparent);
}

/* Light streak effect */
.fac-2399edac-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    animation: fac-2399edac-lightstreak 6s ease-in-out infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes fac-2399edac-lightstreak {
    0% { left: -40%; }
    100% { left: 140%; }
}

/* Responsive */
@media (max-width: 767px) {
    .fac-2399edac-item {
        width: 150px;
        min-width: 150px;
        height: 80px;
    }

    .fac-2399edac-track {
        gap: 10px;
    }

    .fac-2399edac-edge {
        width: 30px;
    }
}
