/* 
   ============================================
   USER WIDGETS STYLES (SUPPORT & MISSION)
   ============================================
*/

/* Floating Buttons Stack */
.support-widget-stack {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.support-floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: #fff;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-floating-btn:hover {
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(232, 20, 255, 0.1) !important;
    transform: scale(1.1);
}

.megaphone-btn {
    background: linear-gradient(135deg, #FF6B6B, #E814FF);
}

.heart-btn {
    background: linear-gradient(135deg, #1477FF, #22C55E);
}

/* Pulse Animations */
.support-pulse,
.mission-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(232, 20, 255, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-animation-widget 2s infinite;
}

@keyframes pulse-animation-widget {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.animate-pulse-slow {
    animation: heart-pulse-subtle 3s infinite ease-in-out;
}

@keyframes heart-pulse-subtle {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Mission Widget Specifics */
.mission-widget-container {
    position: fixed;
    bottom: 90px;
    left: 30px;
    z-index: 9999;
}

.mission-floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), #1477FF);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 0;
}

.mission-popup-modal {
    position: absolute;
    bottom: 54px;
    left: 0;
    width: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.mission-popup-header {
    background: linear-gradient(135deg, var(--accent-primary), #1477FF);
    position: relative;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}

.mission-popup-body {
    padding: 1.5rem;
    max-height: 320px;
    overflow-y: auto;
}

.payment-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

/* Soft Badges */
.bg-success-soft { background: rgba(37, 211, 102, 0.1) !important; }
.bg-danger-soft { background: rgba(255, 59, 48, 0.1) !important; }
.bg-primary-soft { background: rgba(20, 119, 255, 0.1) !important; }

/* Mobile Adjustments for Widgets */
@media (max-width: 991px) {
    .support-widget-stack {
        bottom: 100px !important;
        left: 20px !important;
    }

    .mission-widget-container {
        bottom: 154px !important;
        left: 15px !important;
    }

    .support-floating-btn,
    .mission-floating-btn {
        width: 42px !important; 
        height: 42px !important;
    }

    .mission-popup-modal {
        bottom: 204px !important;
        left: 15px !important;
        width: calc(100vw - 30px) !important;
        max-width: 280px !important;
    }
}
