.vehicle-card {
    position: relative;
    padding: 0 0 18px;
    border-color: rgba(255, 255, 255, .13);
    background: linear-gradient(155deg, #17191f, #0b0c10);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 49, 70, .42);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.vehicle-card > span,
.vehicle-card > h3,
.vehicle-card > strong,
.vehicle-card > button {
    margin-left: 18px;
    margin-right: 18px;
}

.vehicle-image {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 0 18px;
    overflow: hidden;
    background: #08090c;
}

.vehicle-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(7, 8, 11, .78));
}

.vehicle-image img {
    object-fit: contain;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.vehicle-hover-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #08090c;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.vehicle-card.is-playing .vehicle-hover-video {
    opacity: 1;
}

.vehicle-motion-label {
    position: absolute;
    right: 13px;
    bottom: 13px;
    z-index: 3;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(6, 7, 10, .68);
    color: rgba(255, 255, 255, .78);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition: opacity .2s ease;
}

.vehicle-card.is-playing .vehicle-motion-label {
    opacity: 0;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.045);
}

.vehicle-play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(6, 7, 10, .76);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.vehicle-play:hover {
    background: #ee102b;
}

.vehicle-play span {
    font-size: 9px;
}

.vehicle-modal {
    width: min(1040px, calc(100% - 28px));
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 20px;
    background: #090a0e;
    color: #fff;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .8);
}

.vehicle-modal::backdrop {
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(9px);
}

.vehicle-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 4px 13px;
}

.vehicle-modal-top span {
    color: #ff3045;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.vehicle-modal-top h2 {
    margin: 4px 0 0;
    font-size: 20px;
}

.vehicle-modal-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 26px;
    box-shadow: none;
}

.vehicle-modal video {
    display: block;
    width: 100%;
    max-height: 72vh;
    border-radius: 12px;
    background: #000;
}

@media (max-width: 580px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-image {
        height: auto;
    }

    .vehicle-modal {
        padding: 9px;
        border-radius: 15px;
    }
}
