.visualization-container {
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.server-node,
.database-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    gap: 0.5rem;
}

.server-node .viz-badge,
.database-node .viz-badge {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.server-node .viz-badge svg,
.database-node .viz-badge svg {
    width: 34px;
    height: 34px;
}

.data-pipe {
    height: 72px;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
}

.data-particle {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 10px var(--primary);
    opacity: 0;
}

.controls {
    display: flex;
    gap: 1rem;
}

@keyframes writeDown {
    0% {
        top: 0;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    80% {
        top: 100%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

@keyframes readUp {
    0% {
        top: 100%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    80% {
        top: 0;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        top: 0;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

@keyframes swell {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        border-color: var(--secondary);
    }

    100% {
        transform: scale(1);
    }
}