.cbaje-floating-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.floating-bonus-button {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC832 0%, #FFB000 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 200, 50, 0.5), 0 0 30px rgba(255, 200, 50, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.floating-bonus-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 200, 50, 0.7), 0 0 40px rgba(255, 200, 50, 0.5);
}

.floating-bonus-button:active {
    transform: scale(0.95);
}

.button-glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.gift-icon {
    font-size: 28px;
    display: block;
    animation: bounceGift 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounceGift {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

.button-text {
    font-size: 11px;
    font-weight: 800;
    color: #0A0D13;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #FFC832;
    opacity: 0;
    animation: pulseRing 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.bonus-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 19, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    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;
    width: 100%;
    max-width: 480px;
    background: linear-gradient(145deg, #0A0D13 0%, #1A1D28 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 200, 50, 0.3);
    transform: scale(0.7) translateY(30px);
    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);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 200, 50, 0.2);
    border-color: rgba(255, 200, 50, 0.5);
    transform: rotate(90deg);
    color: #FFC832;
}

.modal-header {
    text-align: center;
    padding: 40px 30px 30px;
    border-bottom: 1px solid rgba(255, 200, 50, 0.2);
    background: linear-gradient(180deg, rgba(255, 200, 50, 0.05) 0%, transparent 100%);
}

.header-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FFC832 0%, #FFB000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 200, 50, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.header-gift-icon {
    font-size: 42px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.modal-subtitle {
    font-size: 15px;
    color: #B8BABD;
    margin: 0;
    font-weight: 500;
}

.modal-body {
    padding: 35px 30px 40px;
}

.bonus-highlight-card {
    background: linear-gradient(135deg, rgba(255, 200, 50, 0.15) 0%, rgba(255, 176, 0, 0.05) 100%);
    border: 2px solid rgba(255, 200, 50, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.bonus-highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: cardShine 3s linear infinite;
}

@keyframes cardShine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bonus-amount {
    font-size: 48px;
    font-weight: 900;
    color: #FFC832;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 200, 50, 0.6), 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.bonus-label {
    font-size: 16px;
    font-weight: 600;
    color: #E5E7EB;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.features-list {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 24px;
    margin-right: 14px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #D1D3D6;
    font-weight: 500;
}

.cta-claim-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #FFC832 0%, #FFB000 100%);
    border: none;
    border-radius: 14px;
    color: #0A0D13;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 200, 50, 0.4);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-claim-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.5s ease;
}

.cta-claim-button:hover::before {
    left: 100%;
}

.cta-claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 200, 50, 0.6);
}

.cta-claim-button:active {
    transform: translateY(0);
}

.cta-text {
    margin-right: 8px;
}

.cta-arrow {
    font-size: 22px;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.cta-claim-button:hover .cta-arrow {
    transform: translateX(5px);
}

.modal-terms {
    text-align: center;
    font-size: 12px;
    color: #808285;
    margin: 20px 0 0 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cbaje-floating-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-bonus-button {
        width: 60px;
        height: 60px;
    }
    
    .gift-icon {
        font-size: 24px;
    }
    
    .button-text {
        font-size: 10px;
    }
    
    .bonus-modal-container {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 35px 25px 25px;
    }
    
    .header-icon-box {
        width: 70px;
        height: 70px;
    }
    
    .header-gift-icon {
        font-size: 36px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-body {
        padding: 30px 25px 35px;
    }
    
    .bonus-amount {
        font-size: 40px;
    }
    
    .cta-claim-button {
        height: 52px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cbaje-floating-wrapper {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-bonus-button {
        width: 55px;
        height: 55px;
    }
    
    .gift-icon {
        font-size: 22px;
    }
    
    .button-text {
        font-size: 9px;
    }
    
    .modal-header {
        padding: 30px 20px 20px;
    }
    
    .header-icon-box {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .header-gift-icon {
        font-size: 32px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-body {
        padding: 25px 20px 30px;
    }
    
    .bonus-highlight-card {
        padding: 20px;
    }
    
    .bonus-amount {
        font-size: 36px;
    }
    
    .bonus-label {
        font-size: 14px;
    }
    
    .feature-icon {
        font-size: 20px;
        margin-right: 12px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .cta-claim-button {
        height: 50px;
        font-size: 15px;
    }
}