.video-player {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.video-player:hover { opacity: 0.9; }

.video-player:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.video-player__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

canvas.video-player__thumb {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.video-player__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    z-index: 1;
}

.video-player__play svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.video-modal__backdrop {
     position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.video-modal__close:hover { opacity: 0.7; }

.video-modal__close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.video-modal__content {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
}

.video-modal__video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}