.hs-home-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hs-home-popup[hidden] {
    display: none !important;
}

.hs-home-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.hs-home-popup-dialog {
    position: relative;
    width: 100%;
    max-width: 880px;
    background: #0f172a;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: hsPopupIn 0.35s ease;
    color: #fff;
}

@keyframes hsPopupIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hs-home-popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.hs-home-popup-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hs-home-popup-title {
    margin: 0;
    padding: 18px 22px 0;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.hs-home-popup-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.hs-home-popup-video iframe,
.hs-home-popup-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
}

.hs-home-popup-actions {
    padding: 14px 22px 18px;
    text-align: center;
}

.hs-home-popup-skip {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.hs-home-popup-skip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
    .hs-home-popup-dialog {
        max-width: 100%;
        border-radius: 12px;
    }
    .hs-home-popup-title {
        font-size: 16px;
        padding: 14px 18px 0;
    }
}
