

:root {
    --ai-glow: rgba(139, 92, 246, 0.5);
    --blue-glow: rgba(59, 130, 246, 0.5);
}

.conversation-container {
    perspective: 1000px;
}

.conversation-card {
    transition: all 0.8s cubic-bezier(0.25, 0, 0.25, 1);
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.conversation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.conversation-card.exiting {
    opacity: 0;
    transform: translateY(-20px);
}

.voice-indicator {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.voice-bar {
    width: 3px;
    height: 4px;
    background: #8b5cf6;
    border-radius: 2px;
    animation: voice-pulse 1s ease-in-out infinite;
}

.voice-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.voice-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.voice-bar:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes voice-pulse {
    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 12px;
    }
}

.wave-svg {
    filter: blur(1px);
}

@keyframes wave1 {
    0%,
    100% {
        d: path("M0,100 Q250,60 500,100 T1000,100");
    }

    50% {
        d: path("M0,100 Q250,140 500,100 T1000,100");
    }
}

@keyframes wave2 {
    0%,
    100% {
        d: path("M0,100 Q250,80 500,100 T1000,100");
    }

    50% {
        d: path("M0,100 Q250,120 500,100 T1000,100");
    }
}

@keyframes wave3 {
    0%,
    100% {
        d: path("M0,100 Q250,90 500,100 T1000,100");
    }

    50% {
        d: path("M0,100 Q250,110 500,100 T1000,100");
    }
}

.animate-wave-1 {
    animation: wave1 4s ease-in-out infinite;
}

.animate-wave-2 {
    animation: wave2 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.animate-wave-3 {
    animation: wave3 5s ease-in-out infinite;
    animation-delay: 1s;
}

.voice-orb-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.voice-orb-core {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    box-shadow: 0 0 20px var(--ai-glow);
    position: relative;
    animation: orb-breathe 3s ease-in-out infinite;
}

.voice-orb-glow-1 {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ai-glow) 0%, transparent 70%);
    animation: orb-pulse 4s ease-in-out infinite;
}

.voice-orb-glow-2 {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    animation: orb-pulse 4s ease-in-out infinite 1s;
    opacity: 0.5;
}

@keyframes orb-breathe {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--ai-glow);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 40px var(--ai-glow);
    }
}

@keyframes orb-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}
