/* Live chat bubble — tema merah & emas HOTWIN88 */

a.hotwin-chat-launcher {
    text-decoration: none;
    color: inherit;
}

.hotwin-chat-launcher {
    position: fixed;
    right: 14px;
    bottom: 88px;
    z-index: 9998;
    width: 72px;
    height: 72px;
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.25s ease;
    animation: hotwin-chat-float 3s ease-in-out infinite;
}

.hotwin-chat-launcher__ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(240, 192, 64, 0.45);
    pointer-events: none;
    animation: hotwin-chat-pulse 2.4s ease-out infinite;
}

.hotwin-chat-launcher__icon {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: drop-shadow(0 4px 14px rgba(139, 21, 21, 0.5));
}

.hotwin-chat-launcher:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.hotwin-chat-launcher:hover .hotwin-chat-launcher__ring {
    border-color: rgba(240, 192, 64, 0.75);
}

.hotwin-chat-launcher:active {
    transform: scale(0.96);
}

.hotwin-chat-launcher.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}

@keyframes hotwin-chat-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

@keyframes hotwin-chat-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@media (min-width: 1024px) {
    .hotwin-chat-launcher {
        right: 20px;
        bottom: 24px;
        width: 80px;
        height: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hotwin-chat-launcher,
    .hotwin-chat-launcher__ring {
        animation: none;
    }
}