/* components/direita/brain-idle.css */

.brain-idle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.brain-animation-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
}

/* O Cérebro Central */
.brain-main-icon {
    font-size: 60px;
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.5));
    animation: brainPulse 3s infinite ease-in-out;
}

/* Pontos de Conexão (Neurónios) */
.node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #818cf8;
    border-radius: 50%;
    opacity: 0;
}

/* Linhas de Conexão (Sinapses) */
.synapse {
    position: absolute;
    background: linear-gradient(to right, transparent, rgba(129, 140, 248, 0.4), transparent);
    height: 1px;
    transform-origin: left center;
    opacity: 0;
}

/* Animações */
@keyframes brainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.8)); }
}

@keyframes connect {
    0% { opacity: 0; transform: scale(0); }
    20% { opacity: 1; transform: scale(1.2); }
    40% { opacity: 0.5; }
    100% { opacity: 0; transform: scale(1); }
}

/* Posicionamento dos neurónios à volta do cérebro */
.n1 { top: 10%; left: 30%; animation: connect 4s infinite 0.5s; }
.n2 { top: 20%; right: 15%; animation: connect 3.5s infinite 1.2s; }
.n3 { bottom: 20%; left: 10%; animation: connect 5s infinite 0.2s; }
.n4 { bottom: 15%; right: 25%; animation: connect 4.2s infinite 2s; }
.n5 { top: 50%; right: 5%; animation: connect 3.8s infinite 0.8s; }

.brain-idle-wrapper p {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.6;
    max-width: 200px;
    line-height: 1.5;
}