/* Float Button Styles */
.float-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #127C3A, #065C26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    animation: pulse 2s infinite;
}

.float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.float-button::after {
    content: '🎁';
    font-size: 24px;
}

/* Notification badge on float button */
.float-button::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    animation: ping 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Content */
.popup-content {
    background: linear-gradient(45deg, #127C3A, #065C26);
    max-width: 400px;
    width: 90%;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    position: relative;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: white;
    transform: scale(1.1);
}

/* Popup content styling */
.popup-content h3 {
   font-size: 28px;
   margin-bottom: 20px;
   background: linear-gradient(45deg, #ffd700, #ffed4e);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
   -webkit-text-fill-color: transparent;
   filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.popup-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.cta-btn {
    background: linear-gradient(45deg, #FEE001, #ee5a24);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6);
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

.cta-btn:active {
    transform: translateY(-1px);
}

/* Small text */
.popup-content small {
    font-size: 12px;
    opacity: 0.8;
    display: block;
    margin-top: 15px;
    line-height: 1.4;
}

/* Bonus amount highlight */
.bonus-amount {
    color: #ffd700;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .float-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .float-button::after {
        font-size: 20px;
    }

    .popup-content {
        width: 95%;
        padding: 30px 20px;
    }

    .popup-content h3 {
        font-size: 24px;
    }

    .popup-content p {
        font-size: 18px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}
