.video-slide-trigger {
    position: relative;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.aboutCarousel {
    cursor: grab;
}

.aboutCarousel:active {
    cursor: grabbing;
}

.video-slide-trigger img,
.video-slide-play {
    pointer-events: none;
}

.video-slide-trigger img {
    -webkit-user-drag: none;
}

.video-slide-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04));
    transition: opacity 0.25s ease;
}

.video-slide-trigger:hover::after {
    opacity: 0.8;
}

.video-slide-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.video-slide-trigger:hover .video-slide-play {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1.05);
}

.video-popup {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
}

.video-popup.active {
    display: block;
}

.video-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.video-popup-dialog {
    position: relative;
    width: min(920px, calc(100% - 40px));
    margin: 40px auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.video-popup-player {
    width: 100%;
    max-height: calc(100vh - 80px);
    display: block;
    background: #000;
}

.video-popup-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.75);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 640px) {
    .video-slide-play {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .video-popup-dialog {
        width: calc(100% - 20px);
        margin: 20px auto;
        border-radius: 12px;
    }

    .video-popup-player {
        max-height: calc(100vh - 40px);
    }
}
