.d777-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #426666 0%, #5a9090 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(66, 102, 102, 0.6);
    z-index: 9999;
    transition: all 0.4s ease;
    animation: d777bounce 2s ease-in-out infinite;
}

@keyframes d777bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(66, 102, 102, 0.6);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 12px 35px rgba(66, 102, 102, 0.8);
    }
}

.d777-float-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(66, 102, 102, 0.9);
    animation: none;
}

.d777-float-icon {
    font-size: 28px;
    margin-bottom: 2px;
}

.d777-float-label {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.d777-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: d777fadeIn 0.3s ease;
}

.d777-modal-overlay.d777-active {
    display: flex;
}

@keyframes d777fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.d777-modal-container {
    position: relative;
    background: linear-gradient(135deg, #1F4244 0%, #2a5759 100%);
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: d777slideUp 0.4s ease;
    border: 3px solid #426666;
}

@keyframes d777slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.d777-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(66, 102, 102, 0.3);
    border: 2px solid #426666;
    border-radius: 50%;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.d777-modal-close:hover {
    background: #426666;
    transform: rotate(90deg);
}

.d777-modal-content {
    text-align: center;
}

.d777-modal-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.d777-modal-icon i {
    animation: d777rotate 3s ease-in-out infinite;
}

@keyframes d777rotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.d777-modal-title {
    font-size: 32px;
    font-weight: 900;
    color: #5a9090;
    margin: 0 0 5px 0;
    text-shadow: 0 0 20px rgba(66, 102, 102, 0.6);
    letter-spacing: 1px;
}

.d777-modal-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #e0f2f2;
    margin: 0 0 25px 0;
}

.d777-bonus-amount {
    background: linear-gradient(135deg, #426666 0%, #5a9090 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 0 0 20px 0;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(66, 102, 102, 0.5);
}

.d777-currency {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.d777-amount {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.d777-modal-text {
    font-size: 16px;
    color: #e0f2f2;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.d777-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.d777-features-list li {
    font-size: 15px;
    color: #e0f2f2;
    padding: 10px 0;
    border-bottom: 1px solid rgba(66, 102, 102, 0.3);
    transition: all 0.3s ease;
}

.d777-features-list li:hover {
    color: #5a9090;
    padding-left: 10px;
}

.d777-features-list li:last-child {
    border-bottom: none;
}

.d777-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #426666 0%, #5a9090 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(66, 102, 102, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.d777-cta-button:hover {
    background: linear-gradient(135deg, #5a9090 0%, #78b3b3 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(66, 102, 102, 0.7);
}

.d777-cta-text {
    margin-right: 10px;
}

.d777-cta-arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.d777-cta-button:hover .d777-cta-arrow {
    transform: translateX(5px);
}

.d777-terms {
    font-size: 12px;
    color: rgba(224, 242, 242, 0.6);
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .d777-modal-container {
        max-width: 85%;
        padding: 35px 30px;
    }
    
    .d777-modal-title {
        font-size: 28px;
    }
    
    .d777-modal-subtitle {
        font-size: 17px;
    }
    
    .d777-amount {
        font-size: 42px;
    }
    
    .d777-cta-button {
        font-size: 17px;
        padding: 16px 35px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .d777-float-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .d777-float-icon {
        font-size: 24px;
        margin-bottom: 2px;
    }
    
    .d777-float-label {
        font-size: 10px;
    }
    
    .d777-modal-container {
        padding: 30px 20px;
        max-width: 95%;
        border-radius: 15px;
    }
    
    .d777-modal-icon {
        font-size: 50px;
        margin-bottom: 12px;
    }
    
    .d777-modal-title {
        font-size: 24px;
        letter-spacing: 0.5px;
    }
    
    .d777-modal-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .d777-bonus-amount {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .d777-amount {
        font-size: 36px;
    }
    
    .d777-modal-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .d777-features-list {
        margin-bottom: 25px;
    }
    
    .d777-features-list li {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .d777-cta-button {
        font-size: 15px;
        padding: 14px 28px;
        border-radius: 40px;
    }
    
    .d777-cta-text {
        margin-right: 8px;
    }
    
    .d777-cta-arrow {
        font-size: 20px;
    }
    
    .d777-terms {
        font-size: 11px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .d777-float-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .d777-float-icon {
        font-size: 22px;
    }
    
    .d777-float-label {
        font-size: 9px;
    }
    
    .d777-modal-container {
        padding: 25px 18px;
        max-width: 98%;
        border-radius: 12px;
    }
    
    .d777-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
    
    .d777-modal-icon {
        font-size: 45px;
        margin-bottom: 10px;
    }
    
    .d777-modal-title {
        font-size: 22px;
    }
    
    .d777-modal-subtitle {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .d777-bonus-amount {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .d777-currency {
        font-size: 28px;
    }
    
    .d777-amount {
        font-size: 32px;
    }
    
    .d777-modal-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .d777-features-list {
        margin-bottom: 20px;
    }
    
    .d777-features-list li {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .d777-cta-button {
        font-size: 14px;
        padding: 12px 24px;
        width: 100%;
    }
    
    .d777-cta-text {
        margin-right: 6px;
    }
    
    .d777-cta-arrow {
        font-size: 18px;
    }
    
    .d777-terms {
        font-size: 10px;
    }
}