/* SR Video Facade — lazy-load click-to-play video embeds */

.sr-video-facade {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #0a0a1a;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 16px;
}

.sr-video-facade img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}

.sr-video-facade:hover img {
    opacity: 0.85;
}

.sr-facade-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Play button overlay */
.sr-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
    padding: 0;
    outline: none;
}

.sr-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(2px);
}

.sr-video-facade:hover .sr-play-btn {
    background: rgba(13, 110, 253, 0.8);
    transform: translate(-50%, -50%) scale(1.08);
}

/* When playing, facade becomes the iframe container */
.sr-video-facade.sr-facade-playing {
    cursor: default;
}
