
/* ===== Carousel ===== */
.carousel-wrapper {
    position: relative;
}

.video-row {
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* Card */
.video-card {
    width: 220px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;

    transition: transform .35s ease, box-shadow .35s ease;

    /* Safari / iOS clipping fix */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    transition: transform .4s ease;
}

.video-card:hover img {
    transform: scale(1.08);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

/* Gradient overlay */
.video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.55),
        rgba(0,0,0,.15) 40%,
        transparent
    );
    pointer-events: none;
}

/* Play button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 46px;
    background: rgba(0,0,0,.75);
    transform: translate(-50%, -50%);
    border-radius: 14px;
    transition: transform .3s ease, background .3s ease;
}

.play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(0,0,0,.9);
}

/* Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
}

.scroll-btn.left { left: -22px; }
.scroll-btn.right { right: -22px; }

/* ===== Lightbox ===== */
.video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-lightbox.active {
    display: flex;
}

.lightbox-content {
    width: 80vw;
    max-width: 1400px;
    position: relative;
}

/* 16:9 video */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Close */
.close-btn {
    position: absolute;
    top: -44px;
    right: 0;
    font-size: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}


        