/* =====================================================
   VIDEO REVEAL OVERLAY COMPONENT
   ===================================================== */

   /* .iyeg-video-reveal-overlay {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
} */

.iyeg-video-reveal-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
}

.iyeg-video-reveal-overlay__container {
    width: 25%;
    max-width: 100%;
    border-radius: 30px;
    opacity: 0.7;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform-origin: bottom center;
    background: #000;
    z-index: 10;
    pointer-events: none;
    transition: none;
    aspect-ratio: 16 / 9;
}

/* .iyeg-video-reveal-overlay__container.revealed {
    position: relative;
    top: auto;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    opacity: 1;
    transform: scale(1);
    transform-origin: center center;
    box-shadow: none;
    margin: 0;
    z-index: 1;
    pointer-events: auto;
    aspect-ratio: auto;
    height: calc(100vh - 80px);
    background: #000;
} */


.iyeg-video-reveal-overlay__container.revealed {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    opacity: 1;
    transform: scale(1);
    transform-origin: center center;
    box-shadow: none;
    margin: 0;
    z-index: 1;
    pointer-events: auto;
    aspect-ratio: auto;
    height: calc(100vh - var(--iyeg-header-height, 80px));
    background: #000;
    left: 0;
    right: 0;
}

.iyeg-video-reveal-overlay__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .iyeg-video-reveal-overlay__container {
        width: 50% !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 480px) {
    .iyeg-video-reveal-overlay__container {
        width: 60% !important;
        border-radius: 15px !important;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .iyeg-video-reveal-overlay__container {
        transition: none !important;
    }
}