/* Custom video player styling */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.custom-play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    width: 110px;
    height: 110px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: none;
}

.custom-play-button:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 40px solid white;
    margin-left: 8px; /* Slight adjustment to center the triangle */
}

.video-container.playing .custom-play-button {
    opacity: 0;
    pointer-events: none;
}
