.floating-bonus-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8A2BE2, #6A0DAD);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.6), 0 0 0 4px rgba(138, 43, 226, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-bonus-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(138, 43, 226, 0.8), 0 0 0 6px rgba(138, 43, 226, 0.3);
}

.floating-bonus-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.btn-icon {
    font-size: 28px;
    margin-bottom: 2px;
    color: #fff;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.btn-text {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(138, 43, 226, 0.6);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 19, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(145deg, #151924, #0d1118);
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(138, 43, 226, 0.3);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8A2BE2, #FFD700, #32CD32, #00BFFF);
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close span {
    font-size: 28px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding: 40px 30px 30px;
}

.bonus-icon-large {
    font-size: 64px;
    margin-bottom: 16px;
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFD700, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 16px;
    color: #a0a5b8;
    font-weight: 500;
}

.modal-body {
    padding: 0 30px 30px;
}

.bonus-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(138, 43, 226, 0.1);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 14px;
    color: #8b92a8;
}

.bonus-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 69, 0, 0.15));
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.timer-icon {
    font-size: 20px;
    animation: timerPulse 1.5s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.timer-text {
    font-size: 14px;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-footer {
    padding: 0 30px 40px;
    text-align: center;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #8A2BE2, #6A0DAD);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(138, 43, 226, 0.7);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    font-size: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.terms-text {
    margin-top: 16px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

@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-container {
        max-width: 95%;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 10px 20px;
    }
    
    .bonus-icon-large {
        font-size: 56px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .modal-body {
        padding: 0 24px 24px;
    }
    
    .feature-item {
        padding: 14px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .feature-info h3 {
        font-size: 16px;
    }
    
    .feature-info p {
        font-size: 13px;
    }
    
    .modal-footer {
        padding: 0 24px 32px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .bonus-timer {
        padding: 10px;
        gap: 10px;
    }

    .timer-icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .floating-bonus-btn {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }

    .modal-footer {
    padding: 0 10px 10px !important;
    }
    
    .btn-icon {
        font-size: 22px;
    }
    
    .btn-text {
        font-size: 9px;
    }
    
    .modal-header {
        padding: 10px 20px 20px;
    }
    
    .bonus-icon-large {
        font-size: 48px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 0 20px 20px;
    }
    
    .modal-footer {
        padding: 0 20px 28px;
    }
}
