.sifency-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.sifency-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 1;
}
.sifency-video-button .sifency-video-button-icon {
    width: 50px;
}
.sifency-video-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
    width: 50px;
}
.sifency-video-modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.sifency-modal-open {
    overflow: hidden !important;
}

.sifency-video-modal.is-active {
    display: flex !important;
    opacity: 1;
}
.sifency-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}
.sifency-video-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.sifency-video-modal-content {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.sifency-video-modal-content iframe,
.sifency-video-modal-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}
.sifency-video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    z-index: 1001;
}