/* Floating action buttons - Download & WhatsApp */
.info-link {
    position: fixed;
    bottom: 0;
    z-index: 99;
    margin: 20px;
}

.info-link.info-download-link {
    left: 0;
    right: auto;
}

.info-link.info-wp-link {
    left: auto;
    right: 0;
}

.info-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    position: relative;
}

.info-link.info-download-link a {
    background: rgb(51, 0, 5);
}

.info-link.info-download-link a:hover {
    background: #2d0003;
}

.info-link.info-wp-link a {
    background: #25D366;
}

.info-link.info-wp-link a:hover {
    background: #20bd5a;
}

.info-link a svg {
    display: block;
    transition: all 0.3s;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.info-link.info-download-link a:hover svg {
    transform: scale(1.2);
}

.info-link.info-wp-link a:hover svg {
    animation: wp-shake 1s infinite ease-in-out;
}

@keyframes wp-shake {
    0%, 100% { transform: rotate(0) scale(1); }
    10% { transform: rotate(-25deg) scale(1); }
    20% { transform: rotate(25deg) scale(1); }
    30% { transform: rotate(-25deg) scale(1); }
    40% { transform: rotate(25deg) scale(1); }
    50% { transform: rotate(0) scale(1); }
}

.info-link a::before {
    content: ' ';
    border-radius: 100%;
    position: absolute;
    height: 50px;
    width: 50px;
    border: solid 2px rgb(51, 0, 5);
    opacity: 0.5;
    top: 0;
    left: 0;
    animation: sonarEffect 1.5s ease-out infinite;
}

.info-link.info-wp-link a::before {
    border-color: #25D366;
}

.info-link a::after {
    content: ' ';
    border-radius: 100%;
    position: absolute;
    height: 90px;
    width: 90px;
    border: solid 2px rgb(51, 0, 5);
    opacity: 0;
    top: -20px;
    left: -20px;
    animation: sonarEffect 1.5s ease-out 2s infinite;
}

.info-link.info-wp-link a::after {
    border-color: #25D366;
}

@keyframes sonarEffect {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

.info-link .info_label {
    position: absolute;
    left: 100%;
    top: 10px;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    margin: 0 42px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    z-index: 5;
}

.info-link.info-wp-link .info_label {
    right: 100%;
    left: auto;
    margin: 0 42px 0 0;
}

.info-link:hover .info_label {
    visibility: visible;
    margin: 0 12px;
    opacity: 1;
}

.info-link.info-wp-link:hover .info_label {
    margin: 0 12px 0 0;
}

.info-link .info_label::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto -4px;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    transform: rotate(45deg);
}

.info-link.info-wp-link .info_label::before {
    right: 0;
    left: auto;
}

/* Mobile: reduce size and margin */
@media (max-width: 640px) {
    .info-link {
        margin: 12px;
    }
    .info-link a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .info-link a svg {
        width: 20px;
        height: 20px;
    }
    .info-link a::before {
        height: 44px;
        width: 44px;
    }
    .info-link a::after {
        height: 74px;
        width: 74px;
        top: -15px;
        left: -15px;
    }
}
