/* Pay Button Base Styles */
.pay-floating-button {
    position: fixed;
    z-index: 9999;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Ensure GIF and icons are properly aligned */
.pay-floating-button i,
.pay-floating-button img {
    display: block;
}

.pay-button-gif {
    border-radius: 50%;
    object-fit: cover;
}

/* Position Styles */
.pay-floating-button.top-left {
    top: 20px;
    left: 20px;
}

.pay-floating-button.top-right {
    top: 20px;
    right: 20px;
}

.pay-floating-button.bottom-left {
    bottom: 20px;
    left: 20px;
}

.pay-floating-button.bottom-right {
    bottom: 20px;
    right: 20px;
}

.pay-floating-button.center-left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.pay-floating-button.center-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* Size Styles */
.pay-floating-button.size-small {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.pay-floating-button.size-medium {
    width: 60px;
    height: 60px;
    font-size: 22px;
}

.pay-floating-button.size-large {
    width: 70px;
    height: 70px;
    font-size: 26px;
}

.pay-floating-button.size-xlarge {
    width: 80px;
    height: 80px;
    font-size: 30px;
}

/* Animation Styles */
.pay-floating-button.pulse {
    animation: pulse 2s infinite;
}

.pay-floating-button.bounce {
    animation: bounce 2s infinite;
}

.pay-floating-button.shake {
    animation: shake 2s infinite;
}

.pay-floating-button.tada {
    animation: tada 2s infinite;
}

/* Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes tada {
    0% {
        transform: scale(1);
    }
    10%, 20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale(1.1) rotate(3deg);
    }
    40%, 60%, 80% {
        transform: scale(1.1) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

/* Hover Effects */
.pay-floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.pay-floating-button.center-left:hover,
.pay-floating-button.center-right:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pay-floating-button {
        /* Adjust positions for mobile */
    }
    
    .pay-floating-button.top-left,
    .pay-floating-button.top-right,
    .pay-floating-button.bottom-left,
    .pay-floating-button.bottom-right,
    .pay-floating-button.center-left,
    .pay-floating-button.center-right {
        margin: 10px;
    }
}