/* Homepage Social Proof Notifications */

.homepage-notifications-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    pointer-events: none;
}

.homepage-notification {
    background: rgba(16, 16, 51, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 94, 247, 0.3);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    min-width: 320px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(108, 92, 231, 0.2);
    opacity: 0;
    transform: translateX(400px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.homepage-notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--notification-color, #6C5CE7);
    border-radius: 16px 0 0 16px;
}

.homepage-notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.homepage-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
}

.homepage-notification .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.homepage-notification .notification-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.homepage-notification .notification-text strong {
    color: #ffffff;
    font-weight: 600;
}

.homepage-notification .notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    transition: all 0.2s ease;
    opacity: 0;
}

.homepage-notification:hover .notification-close {
    opacity: 1;
}

.homepage-notification .notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

/* Animation for different notification types */
.homepage-notification[data-type="withdrawal"]::before {
    background: #00B894;
}

.homepage-notification[data-type="deposit"]::before {
    background: #0984E3;
}

.homepage-notification[data-type="loan"]::before {
    background: #FDCB6E;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .homepage-notifications-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .homepage-notification {
        min-width: auto;
        max-width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .homepage-notification .notification-text {
        font-size: 0.9rem;
    }
    
    .homepage-notification .notification-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .homepage-notifications-container {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
    
    .homepage-notification {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .homepage-notification .notification-content {
        gap: 0.75rem;
    }
    
    .homepage-notification .notification-text {
        font-size: 0.85rem;
    }
}

/* Pulse animation for attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                    0 0 20px rgba(108, 92, 231, 0.2);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                    0 0 30px var(--notification-color, #6C5CE7);
    }
}

.homepage-notification.show {
    animation: pulse 3s ease-in-out infinite;
}




