.bdpop-floating-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.floating-bonus-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #67017C 0%, #1C012C 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(103, 1, 124, 0.6), 0 0 0 3px rgba(103, 1, 124, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.modal-content i {
    color: #a855f7;
}

.floating-bonus-button i {
    color: #fff;
}

.floating-bonus-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(103, 1, 124, 0.8), 0 0 0 4px rgba(103, 1, 124, 0.3);
}

.floating-bonus-button:active {
    transform: translateY(-2px) scale(1);
}

.button-icon {
    font-size: 24px;
    animation: iconBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(-10deg);
    }
    75% {
        transform: translateY(-4px) rotate(10deg);
    }
}

.button-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 3px solid rgba(168, 85, 247, 0.6);
    animation: pulseEffect 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}

@keyframes pulseEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.bonus-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.bonus-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bonus-modal-container {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: linear-gradient(135deg, #1C012C 0%, #2a0240 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(103, 1, 124, 0.6), 0 0 0 2px rgba(103, 1, 124, 0.3);
    transform: scale(0.8) translateY(40px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.bonus-modal-overlay.active .bonus-modal-container {
    transform: scale(1) translateY(0);
}

.bonus-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #67017C 0%, 
        #a855f7 25%, 
        #c084fc 50%, 
        #a855f7 75%, 
        #67017C 100%);
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(103, 1, 124, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(103, 1, 124, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    transform: rotate(90deg);
}

.close-symbol {
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
}

.modal-content {
    padding: 48px 32px 40px;
    text-align: center;
}

.modal-icon-section {
    margin-bottom: 24px;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(103, 1, 124, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
    0% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 60px rgba(168, 85, 247, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);
    }
}

.gift-icon {
    font-size: 56px;
    animation: giftFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.8));
}

@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.modal-header {
    margin-bottom: 28px;
}

.modal-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    letter-spacing: 0.5px;
}

.modal-subtitle {
    font-size: 16px;
    color: #c084fc;
    margin: 0;
    font-weight: 600;
}

.bonus-details {
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 2px solid rgba(103, 1, 124, 0.4);
}

.bonus-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.currency-symbol {
    font-size: 36px;
    font-weight: 800;
    color: #a855f7;
    text-shadow: 0 0 16px rgba(168, 85, 247, 0.8);
}

.amount-value {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.bonus-description {
    font-size: 15px;
    color: #e9d5ff;
    margin: 0;
    font-weight: 600;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(103, 1, 124, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(103, 1, 124, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(103, 1, 124, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 22px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

.feature-text {
    font-size: 15px;
    color: #f0f0f5;
    font-weight: 600;
}

.claim-bonus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #67017C 0%, #a855f7 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(103, 1, 124, 0.6), 0 0 0 3px rgba(103, 1, 124, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.claim-bonus-btn::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;
}

.claim-bonus-btn:hover::before {
    left: 100%;
}

.claim-bonus-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(103, 1, 124, 0.8), 0 0 0 4px rgba(168, 85, 247, 0.4);
}

.claim-bonus-btn:active {
    transform: translateY(-1px) scale(1);
}

.btn-text {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-arrow {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.claim-bonus-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.modal-footer-text {
    font-size: 14px;
    color: #c084fc;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .bdpop-floating-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-bonus-button {
        padding: 14px 20px;
    }
    
    .button-icon {
        font-size: 22px;
    }
    
    .button-text {
        font-size: 14px;
    }
    
    .modal-content {
        padding: 40px 24px 32px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .amount-value {
        font-size: 44px;
    }
    
    .currency-symbol {
        font-size: 32px;
    }
    
    .claim-bonus-btn {
        padding: 16px 40px;
    }
    
    .btn-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .bdpop-floating-wrapper {
        bottom: 16px;
        right: 16px;
    }

    .features-list, .bonus-details, .modal-header {
        margin-bottom: 10px;
    }

    .claim-bonus-btn {
        font-size: 14px;
        padding: 10px 25px !important;
    }
    
    .floating-bonus-button {
        padding: 12px 18px;
        gap: 8px;
    }
    
    .button-icon {
        font-size: 20px;
    }
    
    .button-text {
        font-size: 13px;
    }
    
    .modal-content {
        padding: 20px 20px;
    }
    
    .icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .gift-icon {
        font-size: 48px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .bonus-amount {
        gap: 6px;
    }
    
    .amount-value {
        font-size: 38px;
    }
    
    .currency-symbol {
        font-size: 28px;
    }
    
    .bonus-description {
        font-size: 13px;
    }
    
    .feature-item {
        padding: 10px 16px;
    }
    
    .feature-icon {
        font-size: 20px;
    }
    
    .feature-text {
        font-size: 13px;
    }
    
    .claim-bonus-btn {
        padding: 14px 32px;
    }
    
    .btn-text {
        font-size: 14px;
    }
    
    .btn-arrow {
        font-size: 20px;
    }
    
    .modal-footer-text {
        font-size: 12px;
    }
}