#wp-reel-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    max-width: 90vw;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#wp-reel-popup.wp-reel-popup-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#wp-reel-popup.wp-reel-popup-hidden {
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
}

.wp-reel-popup-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.wp-reel-popup-video-wrapper {
    width: 100%;
    background-color: #000;
}

.wp-reel-popup-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.wp-reel-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
}

.wp-reel-popup-close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.wp-reel-popup-cta {
    display: block;
    text-align: center;
    padding: 10px 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wp-reel-popup-cta--disabled {
    cursor: default;
    opacity: 0.7;
}

@media (max-width: 480px) {
    #wp-reel-popup {
        left: 10px;
        right: 10px;
        width: auto !important;
    }
}
