/* 비디오 로딩 전 공백 방지: 배경색 + 페이드인 효과 */
.video-container {
    position: relative;
    background: #FFF;
    overflow: hidden;
}

.video-container iframe {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.video-container iframe.loaded {
    opacity: 1;
}

.video-container .video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 2s ease-in-out;
}

.video-container iframe.loaded~.video-poster,
.video-container .video-poster.fade-out {
    opacity: 0;
    pointer-events: none;
}