.wepido-watermark {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    direction: rtl;
    pointer-events: auto;
}

.wepido-watermark__link,
.wepido-watermark__link:link,
.wepido-watermark__link:visited,
.wepido-watermark__link:hover,
.wepido-watermark__link:active,
.wepido-watermark__link:focus {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 12px 18px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 12px;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: wepido-pulse 3s infinite;
}

@keyframes wepido-pulse {
    0% { transform: scale(1); box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.5); }
    100% { transform: scale(1); box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4); }
}

.wepido-watermark__link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.6);
    animation: none;
}

.wepido-watermark__main {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wepido-watermark__sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1023px) {
    .wepido-watermark {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

@media (max-width: 480px) {
    .wepido-watermark {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: 12px;
    }
    
    .wepido-watermark__link {
        padding: 10px 14px;
    }

    .wepido-watermark__main {
        font-size: 12px;
    }
}

.wepido-watermark {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    direction: rtl;
    pointer-events: auto;
}

.wepido-watermark__close {
    position: absolute !important;
    top: -8px !important;
    left: -8px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 1.5px solid #ffffff !important;
    background: #1e1b4b !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10000 !important;
    outline: none !important;
}

.wepido-watermark__close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: scale(1.1) !important;
}
