.v-carousel {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    overflow: hidden;
}
.card {
    position: absolute;
    width: 50vw;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}
.card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.card img {
    width: 50vw;
    height: 70vh;
    object-fit: cover;
    border-radius: 20px;
}
.card-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}
.card:hover .card-title {
    opacity: 1;
}
.card.active {
    transform: translateZ(0) translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
    }
.card.prev {
    transform: translateY(-120px) translateZ(-200px) scale(0.9);
    opacity: 0.6;
    z-index: 2;
}
.card.next {
    transform: translateY(120px) translateZ(-200px) scale(0.9);
    opacity: 0.6;
    z-index: 2;
}
.card.hidden {
    transform: translateZ(-400px) scale(0.8);
    opacity: 0;
    z-index: 1;
}
@media (max-width:765px){
    .card{
        max-height: 40vh;
        max-width: 100vw;
        left: 5vw;
        transform: translateX(-50%);
    }
    .card img{
        height: auto;
        width: 90vw;
        justify-content: center;
    }
}