.bd89-floating-wrapper {
    position: fixed;
    z-index: 9999;
}

.floating-bonus-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FEC3DB 0%, #ECD1DD 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(254, 195, 219, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    animation: floatBounce 3s ease-in-out infinite;
}

.modal-content i {
    color: #FEC3DB;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

.floating-bonus-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 32px rgba(254, 195, 219, 0.8), 0 6px 16px rgba(0, 0, 0, 0.4);
    animation: none;
}

.floating-bonus-btn:active {
    transform: scale(0.95);
}

.btn-icon {
    font-size: 28px;
    line-height: 1;
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.btn-text {
    font-size: 11px;
    font-weight: 800;
    color: #2a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #FEC3DB;
    border-radius: 50%;
    animation: pulseRing 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.bonus-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    animation: fadeIn 0.4s ease-out;
}

.bonus-modal.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    background: linear-gradient(180deg, #2a1a2e 0%, #1a0f1e 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(254, 195, 219, 0.2);
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

@keyframes modalSlideUp {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(254, 195, 219, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(254, 195, 219, 0.2);
    border-color: #FEC3DB;
    transform: rotate(90deg);
}

.close-x {
    font-size: 28px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1;
}

.modal-header {
    background: linear-gradient(135deg, rgba(254, 195, 219, 0.2) 0%, rgba(236, 209, 221, 0.2) 100%);
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(254, 195, 219, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FEC3DB 0%, #ECD1DD 50%, #FEC3DB 100%);
}

.header-icon {
    font-size: 60px;
    margin-bottom: 16px;
    animation: headerIconBounce 2s ease-in-out infinite;
}

@keyframes headerIconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

.modal-title {
    font-size: 32px;
    font-weight: 900;
    color: #FEC3DB;
    margin: 0 0 8px 0;
    text-shadow: 0 0 20px rgba(254, 195, 219, 0.6);
    letter-spacing: -0.5px;
}

.modal-subtitle {
    font-size: 16px;
    color: #ECD1DD;
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 40px 30px;
}

.bonus-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.currency-symbol {
    font-size: 32px;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.amount-value {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    letter-spacing: -2px;
    animation: amountGlow 3s ease-in-out infinite;
}

@keyframes amountGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.bonus-description {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 32px 0;
    font-weight: 600;
    line-height: 1.5;
}

.features-list {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(254, 195, 219, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(254, 195, 219, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(254, 195, 219, 0.15);
    border-color: rgba(254, 195, 219, 0.4);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.4;
}

.modal-content .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #FEC3DB 0%, #ECD1DD 100%);
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    color: #2a1a2e;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(254, 195, 219, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modal-content .cta-button:hover::before {
    left: 100%;
}

.modal-content .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(254, 195, 219, 0.7);
}

.modal-content .cta-button:active {
    transform: translateY(0) scale(0.98);
}

.modal-content .cta-text {
    position: relative;
    z-index: 1;
}

.modal-content .cta-arrow {
    font-size: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.modal-content .cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.terms-notice {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 16px 0 0 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .floating-bonus-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-icon {
        font-size: 24px;
    }
    
    .btn-text {
        font-size: 10px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 420px;
    }
    
    .modal-header {
        padding: 32px 24px 24px;
    }
    
    .header-icon {
        font-size: 50px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-body {
        padding: 32px 24px;
    }
    
    .amount-value {
        font-size: 48px;
    }
    
    .bonus-description {
        font-size: 16px;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 16px 28px;
    }
}

@media (max-width: 480px) {
    .floating-bonus-btn {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }
    
    .btn-icon {
        font-size: 22px;
    }
    
    .btn-text {
        font-size: 9px;
    }
    
    .modal-content {
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 28px 20px 20px;
    }
    
    .header-icon {
        font-size: 44px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 28px 20px;
    }
    
    .amount-value {
        font-size: 42px;
    }
    
    .bonus-description {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .features-list {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .feature-item {
        padding: 10px 14px;
    }
    
    .feature-icon {
        font-size: 20px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .cta-button {
        font-size: 15px;
        padding: 15px 24px;
    }
}