/* Animation pour "L'IA prend en compte vos interactions passées" */
.interaction-history-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(233, 231, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Icône IA centrale */
.interaction-history-container .main-icon {
    width: 70px;
    height: 70px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(124, 137, 255, 0.15));
    animation: pulseBrain 4s infinite ease-in-out;
}

@keyframes pulseBrain {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(124, 137, 255, 0.15));
    }
    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 6px 12px rgba(124, 137, 255, 0.25));
    }
}

/* Timeline circulaire */
.timeline-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(124, 137, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Bulles de mémoire */
.memory-bubble {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #7C89FF;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Positionnement des bulles sur la timeline */
.memory-bubble-1 {
    top: 30%;
    left: 20%;
    animation: moveAlongTimeline 12s infinite linear;
}

.memory-bubble-2 {
    top: 65%;
    left: 30%;
    animation: moveAlongTimeline 12s infinite linear 3s;
}

.memory-bubble-3 {
    top: 20%;
    right: 25%;
    animation: moveAlongTimeline 12s infinite linear 6s;
}

.memory-bubble-4 {
    top: 70%;
    right: 20%;
    animation: moveAlongTimeline 12s infinite linear 9s;
}

/* Animation des bulles le long de la timeline */
@keyframes moveAlongTimeline {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    40% {
        opacity: 1;
    }
    50% {
        opacity: 0;
        transform: scale(0.8) translateY(-5px) translateX(5px);
    }
    51% {
        transform: translate(0, 0) scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}



/* Contenu des bulles de mémoire */
.memory-bubble-1::before {
    content: '👍';
}

.memory-bubble-2::before {
    content: '🔍';
}

.memory-bubble-3::before {
    content: '💬';
}

.memory-bubble-4::before {
    content: '❤️';
}

/* Cercle d'éclat central */
.memory-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 137, 255, 0.15) 0%, rgba(124, 137, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.7;
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .timeline-circle {
        width: 140px;
        height: 140px;
    }
    
    .memory-bubble {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}
