.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 0;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    cursor: pointer;
}

#playButton {
    position: absolute;
    top: 48%;
    left: 51%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
    pointer-events: none;
    z-index: 3;

    animation: pulse 1.6s ease-in-out infinite;
}

/* Анимация пульса */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
}


#progressBar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    z-index: 2;
}

#progressBar #progress {
    width: 0%;
    height: 100%;
    background: #ff0000;
}
#fullscreenButton {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 22px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s ease, transform 0.2s ease;
}

#fullscreenButton:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}


