/* Scrubbies Sticky CTA Buttons — Frontend Styles */

@keyframes scrubbies-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes scrubbies-icon-bounce {
    0%, 100% { transform: translateY(0); }
    40%       { transform: translateY(-4px); }
    60%       { transform: translateY(-2px); }
}

@keyframes scrubbies-pulse-glow {
    0%, 100% { box-shadow: 0 -2px 16px rgba(5,163,176,0.35); }
    50%       { box-shadow: 0 -2px 28px rgba(5,163,176,0.65); }
}

.scrubbies-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    animation: scrubbies-pulse-glow 3s ease-in-out infinite;
}

.scrubbies-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.2s ease, transform 0.15s ease;

    /* Shimmer gradient base */
    background-size: 200% auto;
    animation: scrubbies-shimmer 4s linear infinite;
}

/* Left button gradient — teal to deep teal */
.scrubbies-btn-left {
    background-image: linear-gradient(
        110deg,
        #037d88 0%,
        #05A3B0 30%,
        #07cfe0 50%,
        #05A3B0 70%,
        #037d88 100%
    );
    border-right: 1px solid rgba(255,255,255,0.15);
    border-radius: 0 0 0 12px;
}

/* Right button gradient — slightly darker teal for contrast */
.scrubbies-btn-right {
    background-image: linear-gradient(
        110deg,
        #026a73 0%,
        #038a96 30%,
        #05A3B0 50%,
        #038a96 70%,
        #026a73 100%
    );
    border-radius: 0 0 12px 0;
}

.scrubbies-sticky-btn:hover,
.scrubbies-sticky-btn:focus {
    filter: brightness(1.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
}

.scrubbies-sticky-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

/* Icon */
.scrubbies-sticky-btn .s-icon {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    animation: scrubbies-icon-bounce 2.8s ease-in-out infinite;
}

.scrubbies-btn-right .s-icon {
    animation-delay: 0.4s;
}

/* Shine sweep overlay */
.scrubbies-sticky-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: scrubbies-sweep 3.5s ease-in-out infinite;
}

.scrubbies-btn-right::after {
    animation-delay: 1.75s;
}

@keyframes scrubbies-sweep {
    0%   { left: -75%; }
    60%  { left: 130%; }
    100% { left: 130%; }
}

.scrubbies-sticky-btn span.s-label {
    position: relative;
    z-index: 1;
}

.scrubbies-sticky-btn .s-icon {
    position: relative;
    z-index: 1;
}
