.jupi-floating-container {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 999999;
    display: none;
    width: 271px;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-sizing: border-box;
}

.jupi-floating-container.is-hiding {
    opacity: 0;
    transform: scale(0.88) translateY(8px);
    pointer-events: none;
}

.jupi-floating-link {
    display: block;
    text-decoration: none;
    outline: none;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.jupi-floating-link:hover {
    transform: translateY(-2px);
}

.jupi-floating-img {
    display: block;
    width: 271px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 14px rgba(79, 70, 229, 0.35));
    transition: filter 0.2s ease;
}

.jupi-floating-link:hover .jupi-floating-img {
    filter: drop-shadow(0 6px 18px rgba(79, 70, 229, 0.45));
}

.jupi-floating-close {
    position: absolute;
    top: -6px;
    right: -4px;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.jupi-floating-close svg {
    width: 10px;
    height: 10px;
    display: block;
    stroke: currentColor;
}

.jupi-floating-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: scale(1.12);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
}

.jupi-floating-close:active {
    transform: scale(0.95);
}

@media (max-width: 480px) {
    .jupi-floating-container {
        bottom: 12px;
        left: 12px;
        width: 230px;
        max-width: calc(100vw - 24px);
    }
    .jupi-floating-img {
        width: 100%;
    }
    .jupi-floating-close {
        top: -6px;
        right: -4px;
        width: 22px;
        height: 22px;
    }
}
