/* Engagement Toast Notification */
.engagement-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.engagement-toast {
    background: linear-gradient(135deg, #6B4423 0%, #3E2723 100%);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 320px;
    max-width: 400px;
    animation: slideInLeft 0.5s ease-out, fadeOut 0.5s ease-in 4.5s;
    opacity: 0;
    transform: translateX(100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

.engagement-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.engagement-toast-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
}

.engagement-toast-avatar::after {
    content: 'LIVE';
    position: absolute;
    top: -2px;
    right: -2px;
    background: #FF4444;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.engagement-toast-content {
    flex: 1;
    min-width: 0;
}

.engagement-toast-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.engagement-toast-username {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.engagement-toast-badge {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.engagement-toast-badge::before {
    content: '✓';
    font-size: 11px;
}

.engagement-toast-body {
    display: flex;
    align-items: center;
    gap: 8px;
}

.engagement-toast-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.engagement-toast-amount {
    color: #FFD700;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.engagement-toast-footer {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.engagement-toast-footer::before {
    content: '⏱';
    font-size: 10px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .engagement-toast-container {
        left: 10px;
        right: 10px;
        bottom: 80px;
    }

    .engagement-toast {
        min-width: auto;
        max-width: 100%;
        padding: 12px 16px;
    }

    .engagement-toast-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .engagement-toast-username {
        font-size: 14px;
    }

    .engagement-toast-amount {
        font-size: 14px;
    }
}
