/* =========================
   VIDEO THUMB
========================= */

.video-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    cursor: pointer;
}

.video-thumb {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video-thumb:hover {
    transform: scale(1.03);
}

/* =========================
   BOUTON PLAY (CSS PUR)
========================= */

.video-container::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.video-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 18px 0 18px 28px;
    border-color: transparent transparent transparent #ffffff;
    z-index: 3;
    pointer-events: none;
}

.video-container:hover::after {
    background: rgba(255, 215, 0, 0.85); /* Or Saint Seiya */
}

/* =========================
   LIGHTBOX VIDEO
========================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.lightbox iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
}

/* Bouton fermeture */
.close-lightbox {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 42px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.close-lightbox:hover {
    color: #ffd700;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .lightbox iframe {
        height: 260px;
    }
}


