.g777-float-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.welcome-float-btn {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), 0 0 0 0 rgba(255, 215, 0, 0.7);
    transition: all 0.3s ease;
    animation: floatBounce 3s ease-in-out infinite;
}

.welcome-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.7), 0 0 0 8px rgba(255, 215, 0, 0.2);
}

.welcome-float-btn:active {
    transform: scale(0.95);
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-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);
    }
}

.float-text {
    font-size: 11px;
    font-weight: 800;
    color: #020400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.float-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 215, 0, 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.8);
        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);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.bonus-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bonus-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: linear-gradient(135deg, #1A1A1A 0%, #020400 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 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-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: rotate(90deg);
}

.modal-close-btn span {
    font-size: 32px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1;
}

.modal-header {
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.modal-icon-wrap {
    margin-bottom: 16px;
}

.modal-gift-icon {
    font-size: 64px;
    display: inline-block;
    animation: giftFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

.modal-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffd700;
    margin: 0 0 8px 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: 15px;
    color: #b0b0b0;
    margin: 0;
    font-weight: 500;
}

.modal-body {
    padding: 30px;
}

.bonus-showcase {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
    border-radius: 16px;
    border: 2px solid rgba(255, 215, 0, 0.25);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.bonus-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: showcaseGlow 4s linear infinite;
}

@keyframes showcaseGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bonus-amount {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.currency-symbol {
    font-size: 36px;
    font-weight: 900;
    color: #ffd700;
    margin-right: 4px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.amount-value {
    font-size: 56px;
    font-weight: 900;
    color: #ffd700;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: amountPulse 2s ease-in-out infinite;
}

@keyframes amountPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.bonus-label {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #e0e0e0;
    font-weight: 600;
}

.bonus-note {
    padding: 16px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.bonus-note p {
    margin: 0;
    font-size: 14px;
    color: #d0d0d0;
    text-align: center;
    line-height: 1.6;
}

.bonus-note strong {
    color: #ffd700;
    font-weight: 900;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.claim-bonus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #020400;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    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.5s ease;
}

.claim-bonus-btn:hover::before {
    left: 100%;
}

.claim-bonus-btn:hover {
    transform: translateY(-3px);
    color: #020400;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.claim-bonus-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    font-size: 22px;
    font-weight: 900;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.claim-bonus-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.terms-text {
    margin: 14px 0 0 0;
    font-size: 12px;
    color: #888888;
    font-weight: 500;
}

@media (max-width: 768px) {
    .g777-float-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .welcome-float-btn {
        width: 60px;
        height: 60px;
    }
    
    .float-icon {
        font-size: 24px;
    }
    
    .float-text {
        font-size: 10px;
    }
    
    .bonus-modal-content {
        width: 95%;
        max-width: 400px;
    }
    
    .modal-header {
        padding: 32px 24px 24px;
    }
    
    .modal-gift-icon {
        font-size: 54px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .currency-symbol {
        font-size: 30px;
    }
    
    .amount-value {
        font-size: 48px;
    }
    
    .bonus-label {
        font-size: 14px;
    }
    
    .modal-footer {
        padding: 16px 24px 24px;
    }
    
    .claim-bonus-btn {
        font-size: 16px;
        padding: 16px 28px;
    }
}

@media (max-width: 480px) {
    .welcome-float-btn {
        width: 56px;
        height: 56px;
    }
    
    .float-icon {
        font-size: 22px;
    }
    
    .float-text {
        font-size: 9px;
    }
    
    .modal-header {
        padding: 28px 20px 20px;
    }
    
    .modal-gift-icon {
        font-size: 48px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .currency-symbol {
        font-size: 26px;
    }
    
    .amount-value {
        font-size: 42px;
    }
    
    .feature-item {
        padding: 12px 14px;
    }
    
    .feature-icon {
        font-size: 20px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .claim-bonus-btn {
        font-size: 15px;
        padding: 15px 24px;
    }
}