.f999-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #04534A 0%, #06FFCC 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(6, 255, 204, 0.5), 0 0 0 0 rgba(6, 255, 204, 0.7);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: f999FloatBounce 3s ease-in-out infinite;
}

@keyframes f999FloatBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.f999-float-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(6, 255, 204, 0.7), 0 0 0 8px rgba(6, 255, 204, 0.2);
    animation: none;
}

.f999-float-btn:active {
    transform: scale(0.95);
}

.f999-float-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 1;
}

.f999-gift-emoji {
    font-size: 26px;
    animation: f999GiftShake 2s ease-in-out infinite;
}

@keyframes f999GiftShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

.f999-float-text {
    font-size: 10px;
    font-weight: 900;
    color: #00302B;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.f999-float-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 255, 204, 0.6) 0%, transparent 70%);
    animation: f999PulseWave 2s ease-out infinite;
}

@keyframes f999PulseWave {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.f999-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.f999-modal-overlay.f999-active {
    opacity: 1;
    visibility: visible;
}

.f999-modal-container {
    background: linear-gradient(180deg, #00302B 0%, #001f1c 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 60px rgba(6, 255, 204, 0.3), 0 0 0 1px rgba(6, 255, 204, 0.2);
    overflow: hidden;
}

.f999-modal-overlay.f999-active .f999-modal-container {
    transform: scale(1) translateY(0);
}

.f999-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 255, 204, 0.1), transparent);
    animation: f999ModalShine 3s ease-in-out infinite;
}

@keyframes f999ModalShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.f999-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(6, 255, 204, 0.1);
    border: 2px solid #06FFCC;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #06FFCC;
    font-size: 20px;
    font-weight: bold;
}

.f999-modal-close:hover {
    background: #06FFCC;
    color: #00302B;
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(6, 255, 204, 0.6);
}

.f999-modal-content {
    padding: 40px 30px 30px;
}

.f999-modal-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.f999-modal-icon {
    font-size: 56px;
    margin-bottom: 12px;
    animation: f999ModalIconFloat 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes f999ModalIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.f999-modal-title {
    font-size: 24px;
    font-weight: 900;
    color: #06FFCC;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(6, 255, 204, 0.5);
    letter-spacing: 2px;
}

.f999-modal-brand {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #06FFCC 0%, #04B89D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.f999-modal-body {
    margin-bottom: 30px;
}

.f999-bonus-amount {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(4, 83, 74, 0.3) 0%, rgba(6, 255, 204, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid rgba(6, 255, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.f999-bonus-amount::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(6, 255, 204, 0.1) 50%, transparent 70%);
    animation: f999AmountShine 4s linear infinite;
}

@keyframes f999AmountShine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.f999-currency {
    font-size: 32px;
    font-weight: 700;
    color: #06FFCC;
    margin-right: 8px;
    vertical-align: top;
    z-index: 1;
    position: relative;
}

.f999-amount {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #06FFCC 0%, #04B89D 50%, #06FFCC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(6, 255, 204, 0.5);
    animation: f999AmountPulse 2s ease-in-out infinite;
    z-index: 1;
    position: relative;
}

@keyframes f999AmountPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.f999-bonus-desc {
    text-align: center;
    font-size: 16px;
    color: #E0F7F4;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

.f999-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f999-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: rgba(6, 255, 204, 0.05);
    border-radius: 12px;
    border-left: 3px solid #06FFCC;
    color: #E0F7F4;
    font-size: 14px;
    transition: all 0.3s ease;
}

.f999-benefit-item:hover {
    background: rgba(6, 255, 204, 0.1);
    transform: translateX(5px);
}

.f999-check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #04534A 0%, #06FFCC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00302B;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(6, 255, 204, 0.4);
}

.f999-modal-footer {
    text-align: center;
}

.f999-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 85%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #04534A 0%, #06FFCC 100%);
    border: none;
    border-radius: 16px;
    color: #00302B;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(6, 255, 204, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.f999-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;
}

.f999-cta-button:hover::before {
    left: 100%;
}

.f999-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(6, 255, 204, 0.6);
}

.f999-cta-button:active {
    transform: translateY(0) scale(0.98);
}

.f999-cta-text {
    z-index: 1;
}

.f999-cta-arrow {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    z-index: 1;
}

.f999-cta-button:hover .f999-cta-arrow {
    transform: translateX(5px);
}

.f999-terms {
    margin-top: 16px;
    font-size: 11px;
    color: rgba(224, 247, 244, 0.6);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .f999-float-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .f999-gift-emoji {
        font-size: 22px;
    }
    
    .f999-float-text {
        font-size: 9px;
    }
    
    .f999-modal-container {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .f999-modal-content {
        padding: 32px 20px 24px;
    }
    
    .f999-modal-icon {
        font-size: 48px;
    }
    
    .f999-modal-title {
        font-size: 20px;
    }
    
    .f999-bonus-amount {
        padding: 16px;
    }
    
    .f999-currency {
        font-size: 28px;
    }
    
    .f999-amount {
        font-size: 48px;
    }
    
    .f999-bonus-desc {
        font-size: 14px;
    }
    
    .f999-benefit-item {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .f999-cta-button {
        padding: 16px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .f999-float-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .f999-gift-emoji {
        font-size: 20px;
    }
    
    .f999-modal-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .f999-modal-title {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .f999-modal-brand {
        font-size: 14px;
    }
    
    .f999-currency {
        font-size: 24px;
    }
    
    .f999-amount {
        font-size: 42px;
    }
}






