.wpww-floating {
    position: fixed;
    z-index: 99999;
    bottom: 24px;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: visible;
    background: radial-gradient(circle at 30% 25%, #7cff9f 0, #25d366 42%, #13a84a 100%);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42), 0 8px 22px rgba(0, 0, 0, 0.24);
    animation: wpww-button-pulse 1.9s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wpww-floating:hover,
.wpww-floating:focus {
    background: radial-gradient(circle at 30% 25%, #9dffb7 0, #28df6e 42%, #0f9d43 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.5), 0 10px 26px rgba(0, 0, 0, 0.28);
}

.wpww-floating--right {
    right: 24px;
}

.wpww-floating--left {
    left: 24px;
}

.wpww-floating__icon {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.wpww-floating__icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.wpww-floating__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.wpww-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.wpww-inline:hover,
.wpww-inline:focus {
    background: #1ebe5d;
    color: #fff;
    text-decoration: none;
}

.wpww-inline__icon {
    font-size: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.wpww-inline__icon::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #25d366;
}

@media (max-width: 600px) {
    .wpww-floating {
        bottom: 16px;
        width: 62px;
        height: 62px;
    }

    .wpww-floating--right {
        right: 16px;
    }

    .wpww-floating--left {
        left: 16px;
    }
}

.wpww-floating::before,
.wpww-floating::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    pointer-events: none;
}

.wpww-floating::before {
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: wpww-ring-pulse 1.9s ease-out infinite;
}

.wpww-floating::after {
    inset: 0;
    overflow: hidden;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.78) 45%, transparent 68%);
    mix-blend-mode: screen;
    transform: translateX(-120%) rotate(12deg);
    animation: wpww-sparkle 2.8s ease-in-out infinite;
}

@keyframes wpww-button-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes wpww-ring-pulse {
    0% {
        opacity: 0.72;
        transform: scale(0.86);
    }

    70% {
        opacity: 0;
        transform: scale(1.55);
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@keyframes wpww-sparkle {
    0%, 42% {
        opacity: 0;
        transform: translateX(-120%) rotate(12deg);
    }

    52% {
        opacity: 0.85;
    }

    66%, 100% {
        opacity: 0;
        transform: translateX(120%) rotate(12deg);
    }
}

/* Animation toggles controlled by plugin settings. */
.wpww-floating {
    animation: none;
}

.wpww-floating::before,
.wpww-floating::after {
    content: none;
}

.wpww-floating--pulse {
    animation: wpww-button-pulse 1.9s ease-in-out infinite;
}

.wpww-floating--pulse::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(37, 211, 102, 0.55);
    border-radius: 50%;
    pointer-events: none;
    animation: wpww-ring-pulse 1.9s ease-out infinite;
}

.wpww-floating__shine {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}

.wpww-floating__shine::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -70%;
    width: 42%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.78) 48%, transparent 100%);
    transform: skewX(-18deg);
    animation: wpww-sparkle 2.8s ease-in-out infinite;
}

@keyframes wpww-sparkle {
    0%, 42% {
        opacity: 0;
        left: -70%;
    }

    52% {
        opacity: 0.9;
    }

    66%, 100% {
        opacity: 0;
        left: 125%;
    }
}
