/* FLOATING BUTTON */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7ED321, #5CB51B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(126, 211, 33, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 3px solid rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(126, 211, 33, 0.6);
}

.floating-button::before {
    content: "\f3d1";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 30px;
    animation: bounce 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 25px rgba(126, 211, 33, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(126, 211, 33, 0.8); }
    100% { box-shadow: 0 8px 25px rgba(126, 211, 33, 0.4); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* POPUP OVERLAY */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

/* POPUP CONTAINER */
.popup-container {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    border: 2px solid rgba(126, 211, 33, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

/* POPUP HEADER */
.popup-header {
    background: linear-gradient(135deg, #7ED321, #5CB51B);
    padding: 20px;
    text-align: center;
    position: relative;
}

.popup-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.popup-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    color: white;
}

.popup-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: white;
}

/* CLOSE BUTTON */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* POPUP CONTENT */
.popup-content {
    padding: 25px;
}

.bonus-card {
    background: linear-gradient(135deg, #333333, #2a2a2a);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(126, 211, 33, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(126, 211, 33, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.bonus-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #7ED321;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(126, 211, 33, 0.5);
    position: relative;
    z-index: 1;
}

.bonus-text {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: #fff;
}

.features-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    opacity: 0.8;
    position: relative;
    padding-left: 25px;
    color: #fff;
}

.features-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: #7ED321;
}

/* POPUP BUTTONS */
.popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.popup-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-btn.primary {
    background: linear-gradient(135deg, #7ED321, #5CB51B);
    color: white;
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.3);
}

.popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 211, 33, 0.5);
}

.popup-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .floating-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button::before {
        font-size: 24px;
    }
    
    .popup-container {
        width: 95%;
        margin: 20px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .bonus-amount {
        font-size: 2rem;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
}
