/* WRAPPER YANG NGATUR POSISI */
.floating-wrapper {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row; /* penting */
    gap: 12px;
    z-index: 999;
}

/* BUTTON (TIDAK BOLEH FIXED) */
.floating-btn {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 8px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: floaty 3s ease-in-out infinite;

    transition: 0.3s;

    /* 🔴 INI PENTING: jangan ada position fixed */
    position: relative;
}

/* hover */
.floating-btn:hover {
    transform: scale(1.1);
}

/* animasi (HAPUS translateX karena bikin konflik) */
@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .floating-wrapper {
        top: 50px;
        gap: 8px;
        flex-direction: row;
    }

    .floating-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
}