 /* COMMON FLOAT BUTTON BASE */
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    position: fixed;
    bottom: env(safe-area-inset-bottom, 24px);
    z-index: 9999;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp */
.whatsapp-float {
    right: env(safe-area-inset-right, 25px);
    background-color: #25D366;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    bottom: 80px;
    right: 10px;
}

/* Instagram */
.instagram-float {
    left: env(safe-area-inset-left, 25px);
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285AEB 90%
    );
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
    box-shadow: 0 10px 25px rgba(214, 36, 159, 0.45);
    bottom: 80px;
    left: 10px;
}

/* Floating animation */
.float-bob-y {
    animation: floatBobY 2.5s ease-in-out infinite;
}

@keyframes floatBobY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* ✅ MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .float-btn {
        width: 52px;
        height: 52px;
        bottom: 20px;
    }

    .whatsapp-float {
        right: 14px;
        background-size: 58%;
    }

    .instagram-float {
        left: 14px;
        background-size: 55%;
    }
}

/* ✅ VERY SMALL PHONES */
@media (max-width: 380px) {
    .float-btn {
        width: 48px;
        height: 48px;
        bottom: 155px;
    }
}