/* Sembunyikan di desktop */
    @media (min-width: 769px) {
        .floating-live-widget {
            display: none !important;
        }
    }

    /* Tampil di mobile */
    @media (max-width: 768px) {
        .floating-live-widget {
            display: block;
            position: fixed;
            bottom: 80px;
            right: 20px;
            z-index: 9999;
        }

        .live-button {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background-color: #ffffff;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.25);
            cursor: pointer;
            transition: transform 0.2s;
            overflow: visible;
        }

        .live-button:hover {
            transform: scale(1.05);
        }

        .live-button img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            position: relative;
            z-index: 2;
        }

        /* Efek ping utama (gelombang pertama) */
        .ping {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 0, 0, 0.5);
            border-radius: 50%;
            animation: pulse 1.2s ease-out infinite;
            z-index: 1;
        }

        /* Efek ping kedua (gelombang tambahan, lebih lambat) */
        .ping::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 0, 0, 0.3);
            border-radius: 50%;
            animation: pulse 1.2s ease-out infinite 0.4s;
            z-index: 0;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 0.8;
            }
            70% {
                transform: scale(1.3);
                opacity: 0.3;
            }
            100% {
                transform: scale(1.6);
                opacity: 0;
            }
        }

        /* Tooltip */
        .tooltip-text {
            position: absolute;
            right: 70px;
            bottom: 15px;
            background: #333;
            color: #fff;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
            z-index: 10;
        }

        .live-button:hover + .tooltip-text,
        .floating-live-widget:hover .tooltip-text {
            opacity: 1;
        }
    }